Template:T: Difference between revisions
mNo edit summary |
m →Usage |
||
| Line 22: | Line 22: | ||
|- | |- | ||
| style="text-align: left; background-color: white;" |<pre> | | style="text-align: left; background-color: white;" |<pre> | ||
{{ | {{t|TEMPLATENAME}} | ||
}} | |||
</pre> | </pre> | ||
| style="background-color: white;" |{{ | | style="background-color: white;" |{{t|TEMPLATENAME}} | ||
}} | |||
|- | |- | ||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Count Parameter</span><br><span style="font-weight: normal;">You can specify the number of columns in the output through use of the <code>count=</code> parameter.</span> | ! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Count Parameter</span><br><span style="font-weight: normal;">You can specify the number of columns in the output through use of the <code>count=</code> parameter.</span> | ||
Revision as of 00:53, 18 April 2025
Description
This template is used to provide stylized formatting to template displays without actually using the template itself. It will provide a link to that template's page in the Template namespace. Most commonly, this template is used for demonstrative or linking purposes in the Help Guide or on a Template's Description page.
Usage
| Default Usage When used with no additional parameters, the template will return a list split in 3 columns. | |
|---|---|
| You Type | You Get |
{{t|TEMPLATENAME}}
|
{{TEMPLATENAME}}
|
| Count Parameter You can specify the number of columns in the output through use of the count= parameter.
| |
| You Type | You Get |
{{columns|count=2|
* Item 1
* Item 2
* Item 3
* Item 4
* Item 5
* Item 6
}}
|
|
{{t|template name|first parameter|second parameter}}.
To pass named parameters, you can
- use
name = value—{{t|Rosharan numeric date|year = 1172|month = 5|week = 10|day = 6}}; - surround it in
<nowiki />tags —{{t|Rosharan numeric date|<nowiki>year=1172|month=5|week=1|day=6</nowiki>}}; or - use correctly numbered parameters.
{{Columns|count=3|* Item 1* Item 2}}
Pages using Template
- File:Quill-red.png (transclusion) (← links | edit)
- File:Lion-icon.png (transclusion) (← links | edit)
- Template:T (transclusion) (← links | edit)
- Template:Book ref (transclusion) (← links | edit)
- Template:Emma ref (transclusion) (← links | edit)
- Template:Ref (transclusion) (← links | edit)
- Template:Image (transclusion) (← links | edit)
- Template:Partial (transclusion) (← links | edit)
- Template:Quote (transclusion) (← links | edit)
- Template:Stub (transclusion) (← links | edit)
- Template:Test (transclusion) (← links | edit)
- Template:Art (transclusion) (← links | edit)
- Template:C (transclusion) (← links | edit)
- Help:References (transclusion) (← links | edit)
- Help:Images (transclusion) (← links | edit)
- Help:Categories (transclusion) (← links | edit)
- Help:Templates (transclusion) (← links | edit)
- Category:Partially Complete Articles (transclusion) (← links | edit)
- Category:Articles Nearing Completion (transclusion) (← links | edit)
- Category:Complete Articles (transclusion) (← links | edit)
- Category:Article Statuses (transclusion) (← links | edit)
- Category:Stubs (transclusion) (← links | edit)
- Category:Articles in Need of Attention (transclusion) (← links | edit)
- Category:Articles with Spoilers (transclusion) (← links | edit)
- Category:Excellent Articles (transclusion) (← links | edit)
- Category:Articles in Need of Citations (transclusion) (← links | edit)
- Category:Articles in Need of Clarification (transclusion) (← links | edit)
- Category:Articles with Disputed Content (transclusion) (← links | edit)
- Category:Articles Missing Information (transclusion) (← links | edit)
- Category:Articles to Delete (transclusion) (← links | edit)
- Category:Articles with Theories (transclusion) (← links | edit)
- Category:Articles to Be Renamed (transclusion) (← links | edit)
- Category:Locked Articles (transclusion) (← links | edit)
- Category:Articles in Need of Updates (transclusion) (← links | edit)