Generating tabular output (examples): Difference between revisions

fts>Gero
fts>Gero
Line 98:
 
== D1: use template parameters without ''phantom'' template ==
|include = {Some Template}:parm1:parm2[12]
|table = ,,T1 - p1, T1 - p2
 
We delimit the contents of parm2 to 12 characters; note that word boundaries are used
to cut the text; so we only get the first two words (=10 characters)
{{#dpl:
|titlematch=Some Article %
|include = {Some Template}:parm1:parm2[12]
|table = ,,T1 - p1, T1 - p2
}}
 
 
== D2: invoke a ''phantom'' template ==
Anonymous user