Template:Template-linking templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Codename Lisa
Oh, for the love of God! This template does not do any of this.
meta>Codename Lisa
Deleted duplicates. The number of non-duplicates is strangely low.
Line 1: Line 1:
{{Navbar-header|{{lower|0.5em|{{resize|120%|'''Template-linking templates'''}}}}|Tl-nav|plain=1}}
{{navbar|Template-linking templates|plain=1}}
<noinclude>{{float|{{template shortcut|Tl-nav|Tl templates}}}}</noinclude>
<noinclude>{{float|{{template shortcut|Tl-nav|Tl templates}}}}</noinclude>
===Templates by syntax===
===General-purpose formatting===
{| class="wikitable navbox collapsible" style="width:auto;font-size:90%;margin:1.0em auto 1.0em auto;vertical-align:top;text-align:center;"
{| class="wikitable navbox collapsible" style="width:auto;font-size:90%;margin:1.0em auto 1.0em auto;vertical-align:top;text-align:center;"
|+ Comparison of template-linking templates according to their style
|+ Comparison of template-linking templates according to their style
Line 53: Line 53:
<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===
===Other templates===
{| class="wikitable sortable" style="vertical-align:top;"
{| class="wikitable sortable" style="vertical-align:top;"
! Code example !! Effect !! Note
! Code example !! Effect !! Note
Line 67: Line 67:
|-
|-
| {{tlx|tiw|Hatnote}} || {{tiw|hatnote}}
| {{tlx|tiw|Hatnote}} || {{tiw|hatnote}}
|
|-
| {{tlx|tl|Hatnote}} || {{tlx|hatnote}}
|
|
|-
|-
| {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} || {{tl2|hatnote|lang=fr}}
| {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} || {{tl2|hatnote|lang=fr}}
| Sister and other language wikis (e.g., fr:Hatnote)
| Sister and other language wikis (e.g., fr:Hatnote)
|-
| {{tlx|tla|Hatnote|some&nbsp;label}} || {{tla|hatnote|2=some label}}
| To add a wikilabel
|-
| {{tlx|tlb|Hatnote}} || {{tlb|hatnote}}
| [[Wikipedia:Templates for discussion#Template:Tlb|TfD]]
|-
| {{tlx|tlc|Hatnote}} || {{tlc|hatnote}}
|
|-
| {{tlx|tld|Hatnote}} || {{tld|hatnote}}
|
|-
| {{tlx|tlf|Hatnote}} || {{tlf|hatnote}}
|
|-
| {{tlx|tlg|Hatnote}} || {{tlg|hatnote}}
|
|-
| {{tlx|tlp|Hatnote}} || {{tlp|hatnote}}
|
|-
| {{tlx|tls|Hatnote}} || {{tls|hatnote}}
|
|-
| {{tlx|tlsp|<nowiki>Hatnote|Some text</nowiki>}} || {{tlsp|Hatnote|2=Some text}}
|
|-
|-
| {{tlx|tlu|User:Ahunt/SSHFS}} || {{tlu|User:Ahunt/SSHFS}}
| {{tlx|tlu|User:Ahunt/SSHFS}} || {{tlu|User:Ahunt/SSHFS}}
| Any namespace
| Any namespace
|-
| {{tlx|tlx|Hatnote}} || {{tlx|hatnote}}
|
|-
| {{tlx|tlxb|Hatnote}} || {{tlxb|hatnote}}
| [[Wikipedia:Templates for discussion/Log/2014 April 20#Template:Tlxb|TfD]]
|-
| {{tlx|tlxi|Hatnote}} || {{tlxi|hatnote}}
| Italicises params. [[Wikipedia:Templates for discussion/Log/2014 April 20#Template:Tlxi|TfD]]
|-
| {{tlx|tlxs|Hatnote}} || {{tlxs|hatnote}}
|
|-
| {{tlx|tn|Hatnote}} || {{tn|hatnote}}
| [[Wikipedia:Templates for discussion/Log/2014 April 20#Template:Tn|TfD]]
|-
| {{tlx|tnull|Hatnote}} || {{tnull|hatnote}}
|
|-
|-
| {{tlx|xpd|<nowiki>Hatnote|Some hatnote text</nowiki>}} || {{xpd|hatnote|Some hatnote text}}
| {{tlx|xpd|<nowiki>Hatnote|Some hatnote text</nowiki>}} || {{xpd|hatnote|Some hatnote text}}
| Show expanded text
| Show expanded text
|}
|}

Revision as of 05:16, 27 April 2014

Template:Float

General-purpose formatting

1 = {{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.

Other templates

Code example Effect Note
{{lts|Hatnote}} Template:Hatnote(edit talk links history)
{{t links|Hatnote}} Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) For intensive template editing
{{tfd links|Hatnote}} Template:Hatnote (edit · talk · history · links · transclusions · logs · subpages · delete) Used in WP:TfD
{{tiw|Hatnote}} Template:hatnote (backlinks edit)
{{tl2|Hatnote|lang=fr}} {{hatnote}} Sister and other language wikis (e.g., fr:Hatnote)
{{tlu|User:Ahunt/SSHFS}} {{User:Ahunt/SSHFS}} Any namespace
{{xpd|Hatnote|Some hatnote text}} "{{hatnote|Some hatnote text}}" gives "
Some hatnote text
" [1]
Show expanded text