A Year's in review of the independent DanTDM Wiki Learn More >, Thank you!
Template:T: Difference between revisions
Jump to navigation
Jump to search
imported>Default m 1 revision |
imported>AStranger195 No edit summary |
||
| Line 1: | Line 1: | ||
<nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{ | {{#ifeq:{{{style|}}}|code|<code>}}<nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!-- | ||
-->{{#if:{{{2|}}}||<span style="color:gray;">''<{{{2}}}>''</span>}}<!-- | |||
-->{{#if:{{{3|}}}||<span style="color:gray;">''<{{{3}}}>''</span>}}<!-- | |||
-->{{#if:{{{4|}}}||<span style="color:gray;">''<{{{4}}}>''</span>}}<!-- | |||
-->{{#if:{{{5|}}}||<span style="color:gray;">''<{{{5}}}>''</span>}}<!-- | |||
-->{{#if:{{{6|}}}||<span style="color:gray;">''<{{{6}}}>''</span>}}<!-- | |||
-->{{#if:{{{7|}}}||<span style="color:gray;">''<{{{7}}}>''</span>}}<!-- | |||
-->{{#if:{{{8|}}}||<span style="color:gray;">''<{{{8}}}>''</span>}}<!-- | |||
-->{{#if:{{{9|}}}||<span style="color:gray;">''<{{{9}}}>''</span>}}<!-- | |||
-->{{#if:{{{10|}}}||<span style="color:gray;">''<{{{10}}}>''</span>}}<!-- | |||
-->{{#if:{{{11|}}}||<span style="color:gray;">''<{{{11}}}>''</span>}}<!-- | |||
-->{{#if:{{{12|}}}||<span style="color:gray;">''<{{{12}}}>''</span>}}<!-- | |||
-->{{#if:{{{13|}}}||<span style="color:gray;">''<{{{13}}}>''</span>}}<!-- | |||
-->{{#if:{{{14|}}}||<span style="color:gray;">''<{{{14}}}>''</span>}}<!-- | |||
-->{{#if:{{{15|}}}||<span style="color:gray;">''<{{{15}}}>''</span>}}<!-- | |||
-->{{#if:{{{16|}}}||<span style="color:gray;">''<{{{16}}}>''</span>}}<!-- | |||
-->{{#if:{{{17|}}}||<span style="color:gray;">''<{{{17}}}>''</span>}}<!-- | |||
-->{{#if:{{{18|}}}||<span style="color:gray;">''<{{{18}}}>''</span>}}<!-- | |||
-->{{#if:{{{19|}}}||<span style="color:gray;">''<{{{19}}}>''</span>}}<!-- | |||
-->{{#if:{{{20|}}}||<span style="color:gray;">''<{{{20}}}>''</span>}}<!-- | |||
-->{{#if:{{{21|}}}||<span style="color:gray;">''<{{{21}}}>''</span>}}<!-- | |||
--><nowiki>}}</nowiki>{{#ifeq:{{{style|}}}|code|</code>}}<noinclude> | |||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Latest revision as of 10:47, 1 August 2015
{{[[Template:{{{1}}}|{{{1}}}]]}}
Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]
| File:Wiki.png | 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
The above text is transcluded from Template:T/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
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. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:T/doc. (View all subpages of this page.)