Template:Tl-nav: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 27: Line 27:
|-
|-
!style="background:#eef;font-weight:normal;"| <code>Code</code>
!style="background:#eef;font-weight:normal;"| <code>Code</code>
|style="font-weight:bold;"| code{{=}}yes or<br />{{code|tt{{=}}yes}}
|style="font-weight:bold;"| code{{=}}yes or<br />code|tt{{=}}yes
| tlx
| tlx
| tlc<sup>2</sup>{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
| tlc<sup>2</sup>{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}

Revision as of 15:45, 2 January 2014

resize|120%|Template linking templates|Tl-nav|plain=1

Link style → Linked Unlinked Linked with subst Linked including braces Linked with alternative text
Text style ↓ {{tlg}} option1 nolink=yes subst=yes braceinside=yes alttext=FOO
Normal tl  •  {{tlp}}2  •  {{tlg}}1, 2 tlf2 tls  •  {{tlsp}} tn {tla
Code code=yes or
code|tt=yes
tlx tlc2  •  {{tld}}  •  {{tnull}} tlxs  
Bold bold=yes tlb  
Bold code bold=yes|code=yes tlxb
Italic code italic=yes|code=yes {{tlxi}}
NOTES:  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
  • para|name|var|value …renders… name|value
  • para|name|varserif|value …renders… name|value
  • tlx|Milford Haven Line|first parameter{{=}}first value …renders… Milford Haven Line|first parameter=first value