Difference between revisions of "Template:Template-linking templates"
From MINR.ORG WIKI
(→Lists: Upgrade) |
(More descriptive title) |
||
Line 1: | Line 1: | ||
{{Navbar-header|{{lower|0.5em|{{resize|120%|'''Template-linking templates'''}}}}|Tl-nav|plain=1}} | {{Navbar-header|{{lower|0.5em|{{resize|120%|'''Template-linking templates'''}}}}|Tl-nav|plain=1}} | ||
<noinclude>{{float|{{template shortcut|Tl-nav|Tl templates}}}}</noinclude> | <noinclude>{{float|{{template shortcut|Tl-nav|Tl templates}}}}</noinclude> | ||
− | === | + | ===Templates by syntax=== |
{| class="wikitable navbox collapsible" style="width:auto;font-size:90%;margin:1.0em auto 1.0em auto;vertical-align:top;text-align:left;" | {| class="wikitable navbox collapsible" style="width:auto;font-size:90%;margin:1.0em auto 1.0em auto;vertical-align:top;text-align:left;" | ||
|- | |- | ||
Line 52: | Line 52: | ||
<sup>2</sup> = Prevents wrapping of text by placing it inside {{tag|span|params=class="nowrap"}} tags.</div> | <sup>2</sup> = Prevents wrapping of text by placing it inside {{tag|span|params=class="nowrap"}} tags.</div> | ||
− | === | + | ===Templates with example=== |
{| | {| | ||
| {{tlx|cl|Hatnote}} || → || {{cl|hatnote}} | | {{tlx|cl|Hatnote}} || → || {{cl|hatnote}} |
Revision as of 10:02, 19 April 2014
Template:Navbar-header Template:Float
Templates by syntax
Link style → | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style ↓ | {{tlg}} option1
|
— | Template:Code | Template:Code | Template:Code | Template:Code Template:Code |
Normal | — | {{tlg}} 1, 2{{tl}} Template:Tla {{tlp}} 2
|
{{tlf}} 2
|
{{tls}} {{tlsp}}
|
{{tn}}
|
{{tla}}
|
Code
|
Template:Code or Template:Code |
{{tlx}}
|
{{tlc}} 2{{tld}} 2{{tnull}}
|
{{tlxs}}
|
||
Bold | Template:Code | {{tlb}}
|
||||
Bold code
|
Template:Code | {{tlxb}}
| ||||
Italic code
|
Template:Code | {{tlxi}}
|
1 =
2 = Prevents wrapping of text by placing it inside
{{tlg}}
is the most general, allowing any combination of text style and/or link style options.2 = Prevents wrapping of text by placing it inside
<span class="nowrap">...</span>
tags.Templates with example
{{cl|Hatnote}} |
→ | Template:Cl |
{{lts|Hatnote}} |
→ | Template:Lts |
{{t links|Hatnote}} |
→ | Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) · Module:hatnote |
{{tfd links|Hatnote}} |
→ | Template:Hatnote (edit · talk · history · links · logs · subpages · delete) |
{{tiw|Hatnote}} |
→ | Template:hatnote (backlinks edit) |
{{tl|Hatnote}} |
→ | {{hatnote}}
|
{{tl2|Hatnote}} |
→ | {{hatnote}}
|
{{tla|Hatnote}} |
→ | Template:Tn |
{{tlb|Hatnote}} |
→ | Template:Tlb |
{{tlc|Hatnote}} |
→ | {{hatnote}}
|
{{tld|Hatnote}} |
→ | {{hatnote}}
|
{{tlf|Hatnote}} |
→ | {{hatnote}} |
{{tlg|Hatnote}} |
→ | {{Template:!((:Template:Hatnote|hatnoteTemplate:!))}} |
{{tlp|Hatnote}} |
→ | Template:Tlp |
{{tls|Hatnote}} |
→ | Template:Tls |
{{tlsp|Hatnote}} |
→ | Template:Tlsp |
{{tlu|Hatnote}} |
→ | {{hatnote}}
|
{{tlx|Hatnote}} |
→ | {{hatnote}}
|
{{tlxb|Hatnote}} |
→ | Template:Tlxb |
{{tlxi|Hatnote}} |
→ | Template:Tlxi |
{{tlxs|Hatnote}} |
→ | {{subst:hatnote}}
|
{{tn|Hatnote}} |
→ | Template:Tn |
{{tnull|Hatnote}} |
→ | Template:Tnull |
{{xpd|Hatnote}} |
→ | Template:If |