Template:Template-linking templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Dinoguy1000
nonwrapping templates now use class="nowrap"
meta>Dinoguy1000
I can't convince the border between the merged cells to disappear, but might as well merge what else can be merged
Line 36: Line 36:
|style="font-weight:bold;"| {{code|bold{{=}}yes}}
|style="font-weight:bold;"| {{code|bold{{=}}yes}}
| {{tlx|tlb}}
| {{tlx|tlb}}
|style="background-color:#ccc;" colspan="4"  |  
|style="background-color:#ccc;" rowspan="3" colspan="4"  |  
|-
|-
!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-color:#ccc;" colspan="4"  | &nbsp;
|-
|-
!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}}
|style="background-color:#ccc;" colspan="4"  | &nbsp;
|}
|}
{{clear}}
{{clear}}

Revision as of 05:12, 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 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 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