Template:Template-linking templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Codename Lisa
Deleted duplicates. The number of non-duplicates is strangely low.
meta>Codename Lisa
→‎Other templates: Code cleanup
Line 55: Line 55:
===Other templates===
===Other templates===
{| class="wikitable sortable" style="vertical-align:top;"
{| class="wikitable sortable" style="vertical-align:top;"
! Code example !! Effect !! Note
! Code example !! Effect !! Notes
|-
|-
| {{tlx|lts|Hatnote}} || {{lts|hatnote}}
| {{tlx|lts|Hatnote}} || {{lts|hatnote}} ||
|
|-
|-
| {{tlx|t links|Hatnote}} || {{t links|hatnote}}
| {{tlx|t links|Hatnote}} || {{t links|hatnote}} ||
| For intensive template editing
|-
|-
| {{tlx|tfd links|Hatnote}} || {{tfd links|hatnote}}
| {{tlx|tfd links|Hatnote}} || {{tfd links|hatnote}} ||
| Used in [[WP:TfD]]
|-
|-
| {{tlx|tiw|Hatnote}} || {{tiw|hatnote}}
| {{tlx|tiw|Hatnote}} || {{tiw|hatnote}} ||  
|
|-
|-
| {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} || {{tl2|hatnote|lang=fr}}
| {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} || {{tl2|hatnote|lang=fr}} || Supports linking to sister projects (e.g., fr:Hatnote)
| Sister and other language wikis (e.g., fr:Hatnote)
|-
|-
| {{tlx|tlu|User:Ahunt/SSHFS}} || {{tlu|User:Ahunt/SSHFS}}
| {{tlx|tlu|User:Ahunt/SSHFS}} || {{tlu|User:Ahunt/SSHFS}} || Supports linking to any namespace
| Any namespace
|-
|-
| {{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}} || Shows code, example and a link to expand the template code
| Show expanded text
|}
|}

Revision as of 05:21, 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 Notes
{{lts|Hatnote}} Template:Hatnote(edit talk links history)
{{t links|Hatnote}} Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{tfd links|Hatnote}} Template:Hatnote (edit · talk · history · links · transclusions · logs · subpages · delete)
{{tiw|Hatnote}} Template:hatnote (backlinks edit)
{{tl2|Hatnote|lang=fr}} {{hatnote}} Supports linking to sister projects (e.g., fr:Hatnote)
{{tlu|User:Ahunt/SSHFS}} {{User:Ahunt/SSHFS}} Supports linking to any namespace
{{xpd|Hatnote|Some hatnote text}} "{{hatnote|Some hatnote text}}" gives "
Some hatnote text
" [1]
Shows code, example and a link to expand the template code