Template:Template-linking templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
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? |
meta>Dinoguy1000 nonwrapping templates now use class="nowrap" |
||
Line 50: | Line 50: | ||
{{clear}} | {{clear}} | ||
<div align=center style="font-size:90%;">'''NOTES:''' 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:''' 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= | 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|弘安源氏論議}} |
Revision as of 05:07, 5 June 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 ortt=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 =
2 = Prevents wrapping of text by placing it inside of
{{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=Template:Varserif
- {{tlx|Milford Haven Line|first parameter{{=}}first value}} ...renders...
{{Milford Haven Line|first parameter=first value}}