Difference between revisions of "Template:T"
Jump to navigation
Jump to search
m (+usage) |
|||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><code>{{[[Template:{{{1|}}}|{{{text|{{{1|}}}|}}}]]<!-- |
|||
⚫ | |||
Templates tlc, tld, tlf have the following wrapping everything; do we need it? |
|||
⚫ | |||
<span style="white-space:nowrap;"> |
|||
⚫ | |||
--><!-- |
|||
⚫ | |||
-- begin tt style if tt=yes given |
|||
-->{{#if:{{{ |
-->{{#if:{{{6|}}}||{{{6}}}|}}<!-- |
||
⚫ | |||
-- begin code style if code=yes given |
|||
-->{{#if:{{{ |
-->{{#if:{{{8|}}}||{{{8}}}|}}<!-- |
||
⚫ | |||
-- opening brace unless braceinside=yes |
|||
⚫ | |||
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!-- |
|||
== Documentation == |
|||
-- add subst prefix, if subst=yes given |
|||
=== Usage === |
|||
-->{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!-- |
|||
Usage is as follows: |
|||
-- begin boldface if bold=yes given |
|||
⚫ | |||
{{t|t|template name|first parameter|second parameter}}. |
|||
-- begin link if not nolink=yes; add any LANG and SISTER prefixes |
|||
-->{{#if:{{{nolink|}}}||{{!(}}{{!(}}{{{LANG|}}}{{{SISTER|}}}<!-- |
|||
To pass named parameters, you can |
|||
-- specify page to link to (unless nolink=yes) |
|||
* use <code>name &#<span>61</span>; value</code> — {{t|t|Rosharan numeric date|year &#<span>61</span>; 1172|month &#<span>61</span>; 5|week &#<span>61</span>; 10|day &#<span>61</span>; 6}}; |
|||
-->{{#if:{{{1|}}}|{{#if:{{{anypage|}}}||{{ns:Template}}:}}{{{1|}}}|{{FULLPAGENAME}}}}{{!}}}}<!-- |
|||
* surround it in <code><nowiki><nowiki /></nowiki></code> tags — <code><nowiki>{{t|Rosharan numeric date|<nowiki>year=1172|month=5|week=1|day=6</nowiki></nowiki>}}</code>; or |
|||
-- opening brace if braceinside=yes |
|||
* use correctly numbered parameters. |
|||
-->{{#if:{{{braceinside|}}}|<nowiki>{{</nowiki>}}<!-- |
|||
-- surface text of link |
|||
=== More information === |
|||
-->{{{alttext|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}}<!-- |
|||
{{for|Wikipedia: Template: Tlx|additional details and information}} |
|||
-- closing brace if braceinside=yes |
|||
For additional details and information, please refer to the wikipedia's doc page: [[Wikipedia: Template: Tlx]] |
|||
-->{{#if:{{{braceinside|}}}|<nowiki>}}</nowiki>}}<!-- |
|||
-- end of link, unless nolink=yes |
|||
[[Category: Link macros]] |
|||
⚫ | |||
-- end boldface if bold=yes |
|||
== Pages using Template == |
|||
⚫ | |||
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}} |
|||
-- add the remaining parameters |
|||
{{Special:WhatLinksHere/{{FULLPAGENAME}}|limit=100}} |
|||
-->{{#if:{{{2|}}}| |
|||
|{{{2}}} |
|||
}}<!-- |
|||
-->{{#if:{{{3|}}}| |
|||
|{{{3}}} |
|||
}}<!-- |
|||
-->{{#if:{{{4|}}}| |
|||
|{{{4}}} |
|||
}}<!-- |
|||
-->{{#if:{{{5|}}}| |
|||
|{{{5}}} |
|||
}}<!-- |
|||
-->{{#if:{{{6|}}}| |
|||
|{{{6}}} |
|||
}}<!-- |
|||
-->{{#if:{{{7|}}}| |
|||
|{{{7}}} |
|||
}}<!-- |
|||
-->{{#if:{{{8|}}}| |
|||
|{{{8}}} |
|||
}}<!-- |
|||
⚫ | |||
|{{{9}}} |
|||
}}<!-- |
|||
-->{{#if:{{{10|}}}| |
|||
|{{{10}}} |
|||
}}<!-- |
|||
-->{{#if:{{{11|}}}| |
|||
|{{{11}}} |
|||
}}<!-- |
|||
-->{{#if:{{{12|}}}| |
|||
|''...'' |
|||
}}<!-- |
|||
-- closing brace unless braceinside=yes |
|||
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!-- |
|||
-- end code style if code=yes given |
|||
⚫ | |||
-- end tt style if tt=yes given |
|||
⚫ | |||
-- end |
|||
⚫ | |||
This template allows you to link to a template. See [[Wikipedia:Template:Tlg]] for the original. |
Latest revision as of 19:45, 19 April 2020
Documentation[edit]
Usage[edit]
Usage is as follows:
{{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.
More information[edit]
For additional details and information, please refer to the wikipedia's doc page: Wikipedia: Template: Tlx
Pages using Template[edit]
- Category:Characters (transclusion) (← links | edit)
- Category:Locations (transclusion) (← links | edit)
- Template:Book (transclusion) (← links | edit)
- Template:Character (transclusion) (← links | edit)
- Template:Cite (transclusion) (← links | edit)
- Category:Disambiguation pages (transclusion) (← links | edit)
- Template:B (transclusion) (← links | edit)
- Template:Cosmere (transclusion) (← links | edit)
- Template:Infobox (transclusion) (← links | edit)
- Template:Quote (transclusion) (← links | edit)
- MediaWiki:Common.css (transclusion) (← links | edit)
- Template:Books (transclusion) (← links | edit)
- Category:Infoboxes (transclusion) (← links | edit)
- Category:Link macros (transclusion) (← links | edit)
- Template:Metallic arts (transclusion) (← links | edit)
- Category:Articles in need of citations (transclusion) (← links | edit)
- Category:Stubs (transclusion) (← links | edit)
- Category:Articles for deletion (transclusion) (← links | edit)
- Coppermind:Copyrights (transclusion) (← links | edit)
- Help:Templates (transclusion) (← links | edit)
- Template:T (transclusion) (← links | edit)
- Template:Book link (transclusion) (← links | edit)
- Help:Editing (transclusion) (← links | edit)
- Template:Epigraph (transclusion) (← links | edit)
- Template:Anchor (transclusion) (← links | edit)
- Help:Images (transclusion) (← links | edit)
- Template:Symbol (transclusion) (← links | edit)
- Template:Icon (transclusion) (← links | edit)
- Template:Location (transclusion) (← links | edit)
- Template:Row/kv (transclusion) (← links | edit)
- Template:Row/image (transclusion) (← links | edit)
- Template:Disputed (transclusion) (← links | edit)
- Template:Warbreaker (transclusion) (← links | edit)
- Template:Elantris (transclusion) (← links | edit)
- Category:Noble Houses (transclusion) (← links | edit)
- Template:Stormlight (transclusion) (← links | edit)
- Template:Clarify (transclusion) (← links | edit)
- Category:Articles in need of clarification (transclusion) (← links | edit)
- Template:Mistborn (transclusion) (← links | edit)
- Template:Mistborn Era 1 (transclusion) (← links | edit)
- Template:Mistborn Era 2 (transclusion) (← links | edit)
- Template:Mistborn adventure game (transclusion) (← links | edit)
- Template:Group (transclusion) (← links | edit)
- Talk:Surgebinding (transclusion) (← links | edit)
- Template:Alcatraz (transclusion) (← links | edit)
- Template:Chart/wrap (transclusion) (← links | edit)
- Template:Spoilers (transclusion) (← links | edit)
- Template:Complete (transclusion) (← links | edit)
- Template:Date (transclusion) (← links | edit)
- Template:The Emperor's Soul (transclusion) (← links | edit)
- Template:Event (transclusion) (← links | edit)
- Category:Exemplary articles (transclusion) (← links | edit)
- Template:Item (transclusion) (← links | edit)
- Template:Tag (transclusion) (← links | edit)
- Template:Tag+ (transclusion) (← links | edit)
- Help:Categories (transclusion) (← links | edit)
- Category:Articles with spoilers (transclusion) (← links | edit)
- User:Meg (transclusion) (← links | edit)
- Template:Literature (transclusion) (← links | edit)
- Talk:Allomancy (transclusion) (← links | edit)
- Category:Deleted material (transclusion) (← links | edit)
- Template:Food (transclusion) (← links | edit)
- Category:Article statuses (transclusion) (← links | edit)
- Talk:Shardplate (transclusion) (← links | edit)
- Template:Rithmatist (transclusion) (← links | edit)
- Template:Real world (transclusion) (← links | edit)
- Help:Categorization (transclusion) (← links | edit)
- Template:Culture (transclusion) (← links | edit)
- Template:Defending Elysium (transclusion) (← links | edit)
- Template:Legion (transclusion) (← links | edit)
- Template:Firstborn (transclusion) (← links | edit)
- Template:Shadows for Silence (transclusion) (← links | edit)
- Template:Reckoners (transclusion) (← links | edit)
- Template:Disease (transclusion) (← links | edit)
- Template:Demonym (transclusion) (← links | edit)
- Template:Toponym (transclusion) (← links | edit)
- Template:Fabrial (transclusion) (← links | edit)
- User:Cem/Surgebinding (transclusion) (← links | edit)
- User:Cem/Forgery (transclusion) (← links | edit)
- Template:Update (transclusion) (← links | edit)
- Summary:The Way of Kings/icon (transclusion) (← links | edit)
- Template:Cite note (transclusion) (← links | edit)
- Category:Articles that need updates (transclusion) (← links | edit)
- Template:Cat tag (transclusion) (← links | edit)
- Category:Complete articles (transclusion) (← links | edit)
- Template:Toponym tag (transclusion) (← links | edit)
- Template:Demonym tag (transclusion) (← links | edit)
- Template:Sixth of the Dusk (transclusion) (← links | edit)
- Template:Summaries (transclusion) (← links | edit)
- Template:Art (transclusion) (← links | edit)
- Template:Series tag (transclusion) (← links | edit)
- Template:Book tag (transclusion) (← links | edit)
- Template:Url ref (transclusion) (← links | edit)
- Template:Bws ref (transclusion) (← links | edit)
- Template:Map ref (transclusion) (← links | edit)
- Template:File ref (transclusion) (← links | edit)
- Template:Tweet ref (transclusion) (← links | edit)
- Template:17s ref (transclusion) (← links | edit)
- Template:Tor ref (transclusion) (← links | edit)
- Template:Epigraph ref (transclusion) (← links | edit)