A Project of the Center for Advanced Study in the Visual Arts, National Gallery of Art
History of Early American Landscape Design

Difference between revisions of "Template:Tl-nav"

[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Tnavbar-header|<big>Template linking templates</big>|Tl-nav|plain=1}}
+
{{Navbar-header|{{resize|120%|'''Template linking templates'''}}|Tl-nav|plain=1}}
 
{| align="center" class="wikitable collapsible" style="margin:1em auto 1em auto; width:auto; text-align:center; font-size:90%;"
 
{| align="center" class="wikitable collapsible" style="margin:1em auto 1em auto; width:auto; text-align:center; font-size:90%;"
|- style="line-height:10pt;"
+
|- <!--style="line-height:10pt;"-->
!  
+
!style="width:12.0em;"|
! Link Style
+
!style="background:#fcc;"| Link style →
! style="font-weight:normal;" |Linked
+
!style="background:#fee;font-weight:normal;"| Linked
! style="font-weight:normal;" |Unlinked
+
!style="background:#fee;font-weight:normal;"| Unlinked
! style="font-weight:normal;" |Linked with subst:
+
!style="background:#fee;font-weight:normal;"| Linked with subst
! style="font-weight:normal;" |Linked including braces
+
!style="background:#fee;font-weight:normal;"| Linked including braces
! style="font-weight:normal;" |Linked with alternative&nbsp;text
+
!style="background:#fee;font-weight:normal;"| Linked with alternative&nbsp;text
 
|- valign="top"
 
|- valign="top"
! Text Style
+
!style="background:#ccf;"| Text style ↓
! {{tlx|tlg}} option
+
! {{tlx|tlg}} option<sup>1</sup>
| style="font-weight: bold;" |--
+
|style="font-weight:bold;"| &mdash;
| style="font-weight: bold;" nowrap |{{code|nolink{{=}}yes}}
+
|style="font-weight:bold;"| {{code|nolink{{=}}yes}}
| 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}}
 
|-
 
|-
! style="font-weight:normal;" | Normal
+
!style="background:#eef;font-weight:normal;"| Normal
| style="font-weight: bold;" |--
+
|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}}
 
| {{tlx|tla}}
 
| {{tlx|tla}}
 
|-
 
|-
! style="font-weight:normal;" | <tt>Teletype</tt>
+
!style="background:#eef;font-weight:normal;"| <code>Code</code>
| style="font-weight: bold;" |{{code|tt{{=}}yes}}  
+
|style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}}
 
| {{tlx|tlx}}
 
| {{tlx|tlx}}
| {{tlx|tld}}
+
| {{tlx|tlc}}<sup>2</sup>{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
 
| {{tlx|tlxs}}
 
| {{tlx|tlxs}}
|  
+
|style="background-color:#ccc;" colspan="2"  | &nbsp;
|  
 
 
|-
 
|-
! style="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="font-weight:normal;" | <tt>'''Bold Teletype'''</tt>
+
!style="background:#eef;font-weight:normal;"| '''<code>Bold code</code>'''
| style="font-weight: bold;" |{{code|bold{{=}}yes{{!}}tt{{=}}yes}}  
+
|style="font-weight:bold;"| {{code|bold{{=}}yes{{!}}code{{=}}yes}}
 
| {{tlx|tlxb}}
 
| {{tlx|tlxb}}
|
 
|
 
|
 
|
 
 
|-
 
|-
! style="font-weight:normal;" | <tt>''Italic Teletype''</tt>
+
!style="background:#eef;font-weight:normal;" | ''<code>Italic code</code>''
| style="font-weight: bold;" |{{code|italic{{=}}yes{{!}}tt{{=}}yes}}  
+
|style="font-weight:bold;"| {{code|italic{{=}}yes{{!}}code{{=}}yes}}
 
| {{tlx|tlxi}}
 
| {{tlx|tlxi}}
|
 
|
 
|
 
|
 
|-
 
! style="font-weight:normal;" | <code>Code</code>
 
| style="font-weight: bold;" |{{code|code{{=}}yes}}
 
|
 
| {{tlx|tlc}}
 
|
 
|
 
|
 
 
|}
 
|}
<div align=center style="font-size:90%;">'''NOTE:''' {{tlx|tlg}} is the most general, allowing any combination of the above options.</div>
+
{{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 />
 +
2 = Prevents wrapping of text by placing it inside of {{tag|span|params=class="nowrap"}}  tags.</div><br/>
 +
; Style comparison
 +
* {{tlf|tlf|Milford Haven Line|弘安源氏論議}} …renders… {{tlf|Milford Haven Line|弘安源氏論議}}
 +
* {{tlf|tld|Milford Haven Line|弘安源氏論議}} …renders… {{tld|Milford Haven Line|弘安源氏論議}}
 +
* {{tlf|tlc|Milford Haven Line|弘安源氏論議}} …renders… {{tlc|Milford Haven Line|弘安源氏論議}}
 +
<br/>
 +
; For parameter description
 +
* {{tlp|para|name|{{tlp|var|value}}}} …renders… {{para|name|{{var|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}}
 +
 
 +
===See also===
 +
* {{tl|Tfd links}}
 +
* {{tl|T links}}
 +
<noinclude>
 +
 
 +
[[Category:Documentation shared content templates]]
 +
 
 +
</noinclude>

Latest revision as of 20:40, September 10, 2013

Template linking templates
Link style → Linked Unlinked Linked with subst Linked including braces Linked with alternative text
Text style ↓ {{tlg}} option1 <syntaxhighlight lang="text" enclose="none">nolink=yes</syntaxhighlight> <syntaxhighlight lang="text" enclose="none">subst=yes</syntaxhighlight> <syntaxhighlight lang="text" enclose="none">braceinside=yes</syntaxhighlight> <syntaxhighlight lang="text" enclose="none">alttext=FOO</syntaxhighlight>
Normal {{tl}} · {{tlp}}2 · {{tlg}}1, 2 {{tlf}}2 {{tls}} · {{tlsp}} {{tn}} {{tla}}
Code <syntaxhighlight lang="text" enclose="none">code=yes</syntaxhighlight> or
<syntaxhighlight lang="text" enclose="none">tt=yes</syntaxhighlight>
{{tlx}} {{tlc}}2 · {{tld}} · {{tnull}} {{tlxs}}  
Bold <syntaxhighlight lang="text" enclose="none">bold=yes</syntaxhighlight> {{tlb}}  
Bold code <syntaxhighlight lang="text" enclose="none">bold=yes|code=yes</syntaxhighlight> {{tlxb}}
Italic code <syntaxhighlight lang="text" enclose="none">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


Retrieved from "https://heald.nga.gov/mediawiki/index.php?title=Template:Tl-nav&oldid=2839"

History of Early American Landscape Design contributors, "Template:Tl-nav," History of Early American Landscape Design, , https://heald.nga.gov/mediawiki/index.php?title=Template:Tl-nav&oldid=2839 (accessed April 20, 2024).

A Project of the Center for Advanced Study in the Visual Arts

National Gallery of Art, Washington