Difference between revisions of "Template:Template-linking templates"

From MINR.ORG WIKI
m
(rm this list that did not help me in ten years. a demo should show)
Line 75: Line 75:
 
* {{tlp|para|name|{{tlp|varserif|value}}}} …renders… {{para|name|{{varserif|value}}}}
 
* {{tlp|para|name|{{tlp|varserif|value}}}} …renders… {{para|name|{{varserif|value}}}}
 
* {{Tlp|tlx|Milford Haven Line|first parameter<nowiki>{{=}}</nowiki>first value}} …renders… {{tlx|Milford Haven Line|first parameter{{=}}first value}}
 
* {{Tlp|tlx|Milford Haven Line|first parameter<nowiki>{{=}}</nowiki>first value}} …renders… {{tlx|Milford Haven Line|first parameter{{=}}first value}}
 
===List===
 
* {{tiw|cl}}&nbsp;&ndash; to link to a category
 
* {{tiw|lts}}&nbsp;&ndash; see lts discussion for more variants
 
* {{tiw|t links}}&nbsp;&ndash; provides a basic list of links to a template
 
* {{tiw|tfd links}}&nbsp;&ndash; used for marking templates for deletion
 
* {{tiw|tiw}}&nbsp;&ndash; provides backlinks and edit link with no brackets
 
* {{tiw|tl}}&nbsp;&ndash; links and edit history of the tl template
 
* {{tiw|tl2}}&nbsp;&ndash; links and edit history of the tl2 template
 
* {{tiw|tlp}}&nbsp;&ndash; template link, with single parameter
 
* {{tiw|tlsp}}&nbsp;&ndash; template link, ditto subst'ed
 
* {{tiw|tlu}}&nbsp;&ndash; like {{tlx|tl}} / {{tlx|tlp}} for any namespace
 
* {{tiw|tlx}}&nbsp;&ndash; template link expanded, up to ten parameters
 
* {{tiw|tn}}&nbsp;&ndash; same as tl, but shows the braces as part of the link
 
* {{tiw|xpd}}&nbsp;&ndash; show live example
 
 
;Similar internal link templates (not about templates):
 
* [[:Category:Internal link templates]]
 

Revision as of 21:28, 18 April 2014

Template:Navbar-header Template:Float

Links

Example template is {{hatnote}}

Options

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.
Style comparison
  • {{tlf|Milford Haven Line|弘安源氏論議}} …renders… {{Milford Haven Line|弘安源氏論議}}
  • {{tld|Milford Haven Line|弘安源氏論議}} …renders… {{Milford Haven Line|弘安源氏論議}}
  • {{tlc|Milford Haven Line|弘安源氏論議}} …renders… {{Milford Haven Line|弘安源氏論議}}
For parameter description