Test matrix

From FollowTheScore
Revision as of 20:13, 17 December 2007 by Gero (talk | contribs)
Jump to: navigation, search

Template:Type:Test

generating a matrix from an indented list

Input is:

one
 oho
 aha
two
 ehem
three
four
 aha
 uhui ~~ UHU

Output is:

normal flipped
a simple demo matrix aha ehem oho UHU
one x   x  
two   x    
three        
four x     x
a simple demo matrix one two three four
aha x     x
ehem   x    
oho x      
UHU       x
  • "from" items ("source") start in col 1
  • "to" items ("target") are indented by at least one space
  • source appears in input sequence
  • target is sorted by alphabet
  • items are treated as pages and shown as a link
  • the label can be defined by adding it after the iterm, separated by "~~"


Links to DPL Manual pages

Now we use two nested DPL queries to generate the indented list:

links from articles to the DPL manual Manual Manual - Authors and History Manual - Compatibility Manual - DPL Bug Reporting and Feature Requests Manual - DPL parameters: Controlling output format Manual - DPL parameters: Controlling output volume Manual - DPL parameters: Other parameters Manual - DPL Special Page with Parameters Manual - DPL with PostgreSQL Manual - dplmatrix Manual - dplnum Manual - dplreplace Manual - dplvar Manual - General Usage and Invocation Syntax Manual - DPL parameters: Controlling output order Manual - DPL parameters: Criteria for page selection Manual - dplchapter Manual - Source and Installation
Manual - x x x x x x x x x x x x x x x x x
Manual - Authors and History x - - - - - - - - x - - - - - - - -
Manual - Compatibility x x - - - - - - - - - - - - - - - x
Manual - DPL Bug Reporting and Feature Requests x - - - - - - - - x - - - - - - - -
Manual - DPL Special Page with Parameters - - - - - - - - - x - - - - - - - -
Manual - DPL parameters: Controlling output format x - - - - - - - - x - - - x x - - -
Manual - DPL parameters: Controlling output order x - - - x - - - - x - - - - - - - -
Manual - DPL parameters: Controlling output volume x - - - x - - - - x - - - - - x - -
Manual - DPL parameters: Criteria for page selection x - - - - x - - - x - - - - - - - x
Manual - DPL parameters: Other parameters x - - - - - - - - x - - - - - - - -
Manual - DPL with PostgreSQL - - - - - - - - - x - - - - - - - x
Manual - General Usage and Invocation Syntax x - - - - - - - - x - - - - - x - -
Manual - Source and Installation x - - - - - - - - x - - - - - x - -
Manual - dplchapter - - - - - - - - - x - - - - - - - -