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

From MINR.ORG WIKI
Line 16: Line 16:
 
|style="font-weight:bold;"| {{code|subst{{=}}yes}}
 
|style="font-weight:bold;"| {{code|subst{{=}}yes}}
 
|style="font-weight:bold;"| {{code|braceinside{{=}}yes}}
 
|style="font-weight:bold;"| {{code|braceinside{{=}}yes}}
|style="font-weight:bold;"| {{code|alttext{{=}}FOO}}
+
|style="font-weight:bold;"| {{code|alttext{{=}}Foo}}<br>{{code|2{{=}}Foo}}
 
|-
 
|-
 
!style="background:#eef;font-weight:normal;"| Normal
 
!style="background:#eef;font-weight:normal;"| Normal

Revision as of 11:27, 25 March 2014

Template:Navbar-header

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 {{tl}} · {{tlp}}2 · {{tlg}}1, 2 {{tlf}}2 {{tls}} · {{tlsp}} {{tn}} {{tla}}
Code Template:Code or
Template:Code
{{tlx}} {{tlc}}2 · {{tld}} · {{tnull}} {{tlxs}}  
Bold Template:Code {{tlb}}  
Bold code Template:Code {{tlxb}}
Italic code Template:Code {{tlxi}}
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 of <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

See also

Template:Tl templates