Template:T: Difference between revisions
Jump to navigation
Jump to search
copy-over from latest version on http://templates.wikia.com/wiki/Template:T |
Donni Iris (talk | contribs) light formatting |
||
| Line 1: | Line 1: | ||
{{#ifeq:{{{style|}}}|code|<code>}}<nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!-- | <includeonly><-- | ||
-->{{#ifeq:{{{style|}}}|code|<code>}}<nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!-- | |||
-->{{#if:{{{2|}}}||<span style="color:gray;">''{{{2}}}''</span>}}<!-- | -->{{#if:{{{2|}}}||<span style="color:gray;">''{{{2}}}''</span>}}<!-- | ||
-->{{#if:{{{3|}}}||<span style="color:gray;">''{{{3}}}''</span>}}<!-- | -->{{#if:{{{3|}}}||<span style="color:gray;">''{{{3}}}''</span>}}<!-- | ||
| Line 20: | Line 21: | ||
-->{{#if:{{{20|}}}||<span style="color:gray;">''{{{20}}}''</span>}}<!-- | -->{{#if:{{{20|}}}||<span style="color:gray;">''{{{20}}}''</span>}}<!-- | ||
-->{{#if:{{{21|}}}||<span style="color:gray;">''{{{21}}}''</span>}}<!-- | -->{{#if:{{{21|}}}||<span style="color:gray;">''{{{21}}}''</span>}}<!-- | ||
--><nowiki>}}</nowiki>{{#ifeq:{{{style|}}}|code|</code>}}<noinclude> | --><nowiki>}}</nowiki>{{#ifeq:{{{style|}}}|code|</code>}}</includeonly><!-- | ||
{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> | ||
Revision as of 19:54, 7 April 2026
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
| This template was copied from Template:T on Wikia Templates. That wiki should periodically be checked for a new version of this template. |
- Description
- A template link with a variable number of example parameters (0-20), which can be used to show example inputs.
- Syntax
- <--
-->{{t|parameter1|parameter2|parameter3|parameter4|...|parameter20|prefix=...}}
- Sample code
{{t|welcome}}gives...- <--
-->{{welcome}}
{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}gives...- <--
-->{{welcome|Item1|Item2|Item3|Item4|Item5|...}}
{{t|welcome|2=param1=Item1}}gives...- <--
-->{{welcome|param1=Item1}}
{{t|welcome|prefix=subst}}gives...- <--
-->{{subst:welcome}}
{{t|welcome|style=code}}gives...- <--
-->{{welcome}}
- See also
- <--
-->{{t2}}
- <--
The above text is transcluded from Template:T/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:T/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:T/doc. (View all subpages of this page.)