Template:Template-linking templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Grolltech
(1) clearer table; (2) {{tld}} is deprecated, because <tt> unsupported in HTML5; (3) {{tlp, tlf and tlc}} use nowrap; (4) fixed erroneous "parameter description" section;
meta>Redrose64
partial rv, because {{tld}} hasn't used <tt></tt> since 16:44, 23 September 2012‎; it's almost identical to {{tlc}} now, but supports |allowlinebreak=yes which {{tlc}} doesn't; and why style {{tn}} differently?
Line 23: Line 23:
| {{tlx|tlf}}<sup>2</sup>
| {{tlx|tlf}}<sup>2</sup>
| {{tlx|tls}}{{·}}{{tlx|tlsp}}
| {{tlx|tls}}{{·}}{{tlx|tlsp}}
| {{tn|tn}}
| {{tlx|tn}}
| {{tlx|tla}}
| {{tlx|tla}}
|-
|-
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}}<sup>2</sup>{{·}}<!-- The <tt> tag is unsupported in HTML5, thus TLD is deprecated; use TLC instead. {{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-color:#ccc;" colspan="2"  | &nbsp;
Line 53: Line 53:
; 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|tlc|Milford Haven Line|弘安源氏論議}} ...renders... {{tlc|Milford Haven Line|弘安源氏論議}}
* {{tlf|tlc|Milford Haven Line|弘安源氏論議}} ...renders... {{tlc|Milford Haven Line|弘安源氏論議}}
<br/>
<br/>

Revision as of 19:35, 2 May 2013

Template linking templates
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 {{tlf}}2 {{tls}} · {{tlsp}} {{tn}} {{tla}}
Code code=yes or
tt=yes
{{tlx}} {{tlc}}2 · {{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 style="white-space: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