Template:Tl-nav: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 13: Line 13:
! {{tlx|tlg}} option<sup>1</sup>
! {{tlx|tlg}} option<sup>1</sup>
|style="font-weight:bold;"| &mdash;
|style="font-weight:bold;"| &mdash;
|style="font-weight:bold;"| {{code|nolink{{=}}yes}}
|style="font-weight:bold;"| nolink{{=}}yes
|style="font-weight:bold;"| {{code|subst{{=}}yes}}
|style="font-weight:bold;"| subst{{=}}yes
|style="font-weight:bold;"| {{code|braceinside{{=}}yes}}
|style="font-weight:bold;"| braceinside{{=}}yes
|style="font-weight:bold;"| {{code|alttext{{=}}FOO}}
|style="font-weight:bold;"| alttext{{=}}FOO
|-
|-
!style="background:#eef;font-weight:normal;"| Normal
!style="background:#eef;font-weight:normal;"| Normal
|style="font-weight:bold;"| &mdash;
|style="font-weight:bold;"| &mdash;
| {{tlx|tl}}{{·}}{{tlx|tlp}}<sup>2</sup>{{·}}{{tlx|tlg}}<sup>1, 2</sup>
| tl{{·}}{{tlx|tlp}}<sup>2</sup>{{·}}{{tlx|tlg}}<sup>1, 2</sup>
| {{tlx|tlf}}<sup>2</sup>
| tlf<sup>2</sup>
| {{tlx|tls}}{{·}}{{tlx|tlsp}}
| tls{{·}}{{tlx|tlsp}}
| {{tlx|tn}}
| tn
| {{tlx|tla}}
| {tla
|-
|-
!style="background:#eef;font-weight:normal;"| <code>Code</code>
!style="background:#eef;font-weight:normal;"| <code>Code</code>
|style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}}
|style="font-weight:bold;"| code{{=}}yes or<br />code|tt{{=}}yes
| {{tlx|tlx}}
| tlx
| {{tlx|tlc}}<sup>2</sup>{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
| tlc<sup>2</sup>{{·}}{{tlx|tld}}{{·}}{{tlx|tnull
| {{tlx|tlxs}}
| tlxs
|style="background-color:#ccc;" colspan="2"  | &nbsp;
|style="background-color:#ccc;" colspan="2"  | &nbsp;
|-
|-
!style="background:#eef;font-weight:normal;"| '''Bold'''
!style="background:#eef;font-weight:normal;"| '''Bold'''
|style="font-weight:bold;"| {{code|bold{{=}}yes}}
|style="font-weight:bold;"| bold{{=}}yes
| {{tlx|tlb}}
| tlb
|style="background-color:#ccc;" rowspan="3" colspan="4"  | &nbsp;
|style="background-color:#ccc;" rowspan="3" colspan="4"  | &nbsp;
|-
|-
!style="background:#eef;font-weight:normal;"| '''<code>Bold code</code>'''
!style="background:#eef;font-weight:normal;"| '''<code>Bold code</code>'''
|style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}code{{=}}yes}}
|style="font-weight:bold;"| bold{{=}}yes{{!}}code{{=}}yes
| {{tlx|tlxb}}
| tlxb
|-
|-
!style="background:#eef;font-weight:normal;" | ''<code>Italic code</code>''
!style="background:#eef;font-weight:normal;" | ''<code>Italic code</code>''
|style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}code{{=}}yes}}
|style="font-weight:bold;"| italic{{=}}yes{{!}}code{{=}}yes
| {{tlx|tlxi}}
| {{tlx|tlxi}}
|}
|}
{{clear}}
 
<div align=center style="font-size:90%;">'''NOTES:'''&nbsp; 1 = {{tlx|tlg}} is the most general, allowing any combination of text style and/or link style options.<br />
<div align=center style="font-size:90%;">'''NOTES:'''&nbsp; 1 = tlg is the most general, allowing any combination of text style and/or link style options.<br />
2 = Prevents wrapping of text by placing it inside of {{tag|span|params=class="nowrap"}}  tags.</div><br/>
2 = Prevents wrapping of text by placing it inside of {{tag|span|params=class="nowrap"}}  tags.</div><br/>
; Style comparison
; Style comparison
* {{tlf|tlf|Milford Haven Line|弘安源氏論議}} …renders… {{tlf|Milford Haven Line|弘安源氏論議}}
* tlf|Milford Haven Line|弘安源氏論議 …renders… Milford Haven Line|弘安源氏論議
* {{tlf|tld|Milford Haven Line|弘安源氏論議}} …renders… {{tld|Milford Haven Line|弘安源氏論議}}
* tld|Milford Haven Line|弘安源氏論議 …renders… Milford Haven Line|弘安源氏論議
* {{tlf|tlc|Milford Haven Line|弘安源氏論議}} …renders… {{tlc|Milford Haven Line|弘安源氏論議}}
* tlc|Milford Haven Line|弘安源氏論議 …renders… Milford Haven Line|弘安源氏論議
<br/>
<br/>
; For parameter description
; For parameter description
* {{tlp|para|name|{{tlp|var|value}}}} …renders… {{para|name|{{var|value}}}}
* para|name|var|value …renders… name|value
* {{tlp|para|name|{{tlp|varserif|value}}}} …renders… {{para|name|{{varserif|value}}}}
* para|name|varserif|value …renders… name|value
* {{Tlp|tlx|Milford Haven Line|first parameter<nowiki>{{=}}</nowiki>first value}} …renders… {{tlx|Milford Haven Line|first parameter{{=}}first value}}
* tlx|Milford Haven Line|first parameter<nowiki>{{=}}</nowiki>first value …renders… Milford Haven Line|first parameter{{=}}first value
 
<noinclude>
 


</noinclude>
<noinclude>[[Category:Tl]]</noinclude>

Latest revision as of 15:27, 20 June 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}}  •  {{tlx|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