Difference between revisions of "Template:Tl-nav"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|- <!--style="line-height:10pt;"-->
 
|- <!--style="line-height:10pt;"-->
 
!style="width:12.0em;"|
 
!style="width:12.0em;"|
!style="background:#ddf;"| Link style
+
!style="background:#fcc;"| Link style
!style="background:#eef;font-weight:normal;"| Linked
+
!style="background:#fee;font-weight:normal;"| Linked
!style="background:#eef;font-weight:normal;"| Unlinked
+
!style="background:#fee;font-weight:normal;"| Unlinked
!style="background:#eef;font-weight:normal;"| Linked with subst
+
!style="background:#fee;font-weight:normal;"| Linked with subst
!style="background:#eef;font-weight:normal;"| Linked including braces
+
!style="background:#fee;font-weight:normal;"| Linked including braces
!style="background:#eef;font-weight:normal;"| Linked with alternative&nbsp;text
+
!style="background:#fee;font-weight:normal;"| Linked with alternative&nbsp;text
 
|- valign="top"
 
|- valign="top"
!style="background:#ddf;"| Text style
+
!style="background:#ccf;"| Text style
! {{tlx|tlg}} option
+
! {{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;"| {{code|nolink{{=}}yes}}
Line 20: Line 20:
 
!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}}{{·}}{{tlx|tlg}}
+
| {{tlx|tl}}{{·}}{{tlx|tlp}}<sup>2</sup>{{·}}{{tlx|tlg}}<sup>1, 2</sup>
| {{tlx|tlf}}
+
| {{tlx|tlf}}<sup>2</sup>
 
| {{tlx|tls}}{{·}}{{tlx|tlsp}}
 
| {{tlx|tls}}{{·}}{{tlx|tlsp}}
 
| {{tlx|tn}}
 
| {{tlx|tn}}
Line 29: Line 29:
 
|style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}}
 
|style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}}
 
| {{tlx|tlx}}
 
| {{tlx|tlx}}
| {{tlx|tlc}}{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
+
| {{tlx|tlc}}<sup>2</sup>{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
 
| {{tlx|tlxs}}
 
| {{tlx|tlxs}}
|
+
|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;"| {{code|bold{{=}}yes}}
 
| {{tlx|tlb}}
 
| {{tlx|tlb}}
|
+
|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;"| {{code|bold{{=}}yes{{!}}code{{=}}yes}}
 
| {{tlx|tlxb}}
 
| {{tlx|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;"| {{code|italic{{=}}yes{{!}}code{{=}}yes}}
 
| {{tlx|tlxi}}
 
| {{tlx|tlxi}}
|
 
|
 
|
 
|
 
 
|}
 
|}
<div align=center style="font-size:90%;">'''NOTE:''' {{tlx|tlg}} is the most general, allowing any combination of the above options.</div>
+
{{clear}}
<br/>
+
<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 />
 +
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|tlf|Milford Haven Line|弘安源氏論議}} …renders… {{tlf|Milford Haven Line|弘安源氏論議}}
* {{tlf|tld|Milford Haven Line|弘安源氏論議}} ...renders... {{tld|Milford Haven Line|弘安源氏論議}}
+
* {{tlf|tld|Milford Haven Line|弘安源氏論議}} …renders… {{tld|Milford Haven Line|弘安源氏論議}}
* {{tlf|tlc|Milford Haven Line|弘安源氏論議}} ...renders... {{tlc|Milford Haven Line|弘安源氏論議}}
+
* {{tlf|tlc|Milford Haven Line|弘安源氏論議}} …renders… {{tlc|Milford Haven Line|弘安源氏論議}}
 
<br/>
 
<br/>
 
; For parameter description
 
; For parameter description
* {{tlp|para|&lt;var>name&lt;/var>|value}} ...renders... {{para|<var>name</var>|value}}
+
* {{tlp|para|name|{{tlp|var|value}}}} …renders… {{para|name|{{var|value}}}}
* {{Tlp|tlx|Milford Haven Line|first parameter<nowiki>{{=}}</nowiki>first value}} ...renders... {{tlx|Milford Haven Line|first parameter{{=}}first 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}}
  
<noinclude>
+
===See also===
 +
{{tl templates}}<noinclude>
  
 
[[Category:Documentation shared content templates]]
 
[[Category:Documentation shared content templates]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 19:17, 27 February 2014

Template linking templates<span style="" title="<translate nowrap> View this template</translate>"><translate> view</translate> · <span style="" title="<translate nowrap> Discuss this template</translate>"><translate> talk</translate> · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>
Link style → Linked Unlinked Linked with subst Linked including braces Linked with alternative text
Text style ↓ {{tlg}} option1 <syntaxhighlight lang="text" class="" id="" style="" inline="1">nolink=yes</syntaxhighlight> <syntaxhighlight lang="text" class="" id="" style="" inline="1">subst=yes</syntaxhighlight> <syntaxhighlight lang="text" class="" id="" style="" inline="1">braceinside=yes</syntaxhighlight> <syntaxhighlight lang="text" class="" id="" style="" inline="1">alttext=FOO</syntaxhighlight>
Normal {{tl}} · {{tlp}}2 · {{tlg}}1, 2 {{tlf}}2 {{tls}} · {{tlsp}} {{tn}} {{tla}}
Code <syntaxhighlight lang="text" class="" id="" style="" inline="1">code=yes</syntaxhighlight> or
<syntaxhighlight lang="text" class="" id="" style="" inline="1">tt=yes</syntaxhighlight>
{{tlx}} {{tlc}}2 · {{tld}} · {{tnull}} {{tlxs}}  
Bold <syntaxhighlight lang="text" class="" id="" style="" inline="1">bold=yes</syntaxhighlight> {{tlb}}  
Bold code <syntaxhighlight lang="text" class="" id="" style="" inline="1">bold=yes|code=yes</syntaxhighlight> {{tlxb}}
Italic code <syntaxhighlight lang="text" class="" id="" style="" inline="1">italic=yes|code=yes</syntaxhighlight> {{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}}

See also

Template:Tl templates