Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.