Difference between revisions of "Template:Template example row"

From Teampedia
Jump to: navigation, search
(Created page with "<includeonly><tr><td><code>{{{{{template|{{TemplatePAGENAME}}}}}<!-- -->{{#if:{{{1|}}}||{{{1}}}}}<!-- -->{{#if:{{{2|}}}||{{{2}}}}}<!-- -->{{#if:{{{3|}}}|&#...")
 
 
Line 22: Line 22:
 
}}}}}}}}}}}}}}}}}}
 
}}}}}}}}}}}}}}}}}}
 
</td>{{#if:{{{notes|}}}|<td>{{{notes}}}</td>}}</tr></includeonly><noinclude>
 
</td>{{#if:{{{notes|}}}|<td>{{{notes}}}</td>}}</tr></includeonly><noinclude>
{{template doc}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:17, 8 February 2020

[view] [edit] [history] [purge] Documentation icon Template documentation

This template generates a table of examples for use in template documentation.

Usage

 <table class="wikitable">
 {{template example row|arg1}}
 {{template example row|arg1|arg2|arg3}}
 {{template example row|arg1|arg2|arg3|arg4|arg5}}
 </table>

 <table class="wikitable">
 {{template example row|arg1|notes=...}}
 {{template example row|arg1|arg2|arg3|notes=...}}
 {{template example row|arg1|arg2|arg3|arg4|arg5|notes=...}}
 </table>

 <table class="wikitable">
 {{template example row|template=templatename/subpage|arg1}}
 {{template example row|template=templatename/subpage|arg1|arg2|arg3}}
 {{template example row|template=templatename/subpage|arg1|arg2|arg3|arg4|arg5}}
 </table>

It doesn't support named arguments to the example template yet.

See also

The above documentation is transcluded from Template:Template example row/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.