Generating tabular output (examples): Difference between revisions

Add example for a (hopefully) good transition in the learning
imported>FrozenPlum
(Fix my error that lead to wanted page)
imported>FrozenPlum
(Add example for a (hopefully) good transition in the learning)
 
(2 intermediate revisions by the same user not shown)
Line 1:
{{purgenote}}
{{DPL manual|section=Examples|subsection=Generating tabular output}}
{{tocright}}
Line 10 ⟶ 9:
 
 
'''Example:'''<br><br><!-- transclude example from subpage-->{{#lsth:Controlling output formatExamples/Parameter:_tablerow_ tablerow (example 1)|Example}}
{{example|tablerow|base=Controlling output format|eg=1}}
 
'''Result:'''<br><!-- transclude result from subpage-->{{#lsth:Controlling output formatExamples/Parameter:_tablerow_ tablerow (example 1)|Result}}
 
 
Line 152 ⟶ 151:
 
 
'''Example:'''<br><br><!-- transclude example from subpage-->{{#lsth:Controlling output volumeExamples/Parameter:_include_ include (example 4)|Example}}
{{example|include|base=Controlling output volume|eg=4}}
 
 
'''Result:'''<br><!-- transclude result from subpage-->{{#lsth:Controlling output volumeExamples/Parameter:_include_ include (example 4)|Result}}
 
 
===#dplvar to move/duplicate parameters between columns===
 
'''Example:'''
{{#lsth:Examples/Parameter: tablerow (example 2)|Example}}
{{ViewTest|Examples|Parameter: tablerow (example 2)}}
 
'''Result:'''<br><!-- transclude result from subpage-->
{{#lsth:Examples/Parameter: tablerow (example 2)|Result}}
 
 
Line 288 ⟶ 297:
===Single surrogate template===
 
'''Example:'''<br><br><!-- transclude example from subpage-->{{#lsth:Controlling output formatExamples/Parameter:_table_ table (example 3)|Example}}
{{example|table|base=Controlling output format|eg=3}}
 
'''Result:'''<br><!-- transclude result from subpage-->{{#lsth:Controlling output formatExamples/Parameter:_table_ table (example 3)|Result}}
 
===Multiple surrogate templates===
Anonymous user