Template:Template-linking templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jsharpminor
m Reverted edits by 166.137.156.43 (talk) to last revision by Addbot (HG)
meta>Redrose64
merge Code and Teletype rows - both forms use the <code></code> element, not <tt></tt>
Line 26: Line 26:
| {{tlx|tla}}
| {{tlx|tla}}
|-
|-
!style="background:#eef;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|code{{=}}yes}}
| {{tlx|tlx}}
| {{tlx|tlx}}
| {{tlx|tld}}{{·}}{{tlx|tnull}}
| {{tlx|tlc}}{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
| {{tlx|tlxs}}
| {{tlx|tlxs}}
|
|
Line 42: Line 42:
|
|
|-
|-
!style="background:#eef;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}}
|
|
Line 50: Line 50:
|
|
|-
|-
!style="background:#eef;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="background:#eef;font-weight:normal;"| <code>Code</code>
|style="font-weight:bold;"| {{code|code{{=}}yes}}
|
| {{tlx|tlc}}
|
|
|
|

Revision as of 06:58, 13 April 2013

Template linking templates
Link style Linked Unlinked Linked with subst Linked including braces Linked with alternative text
Text style {{tlg}} option nolink=yes subst=yes braceinside=yes alttext=FOO
Normal {{tl}} · {{tlp}} · {{tlg}} {{tlf}} {{tls}} · {{tlsp}} {{tn}} {{tla}}
Code code=yes or
code=yes
{{tlx}} {{tlc}} · {{tld}} · {{tnull}} {{tlxs}}
Bold bold=yes {{tlb}}
Bold code bold=yes|code=yes {{tlxb}}
Italic code italic=yes|code=yes {{tlxi}}
NOTE: {{tlg}} is the most general, allowing any combination of the above options.


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|<var>name</var>|value}} ...renders... |name=value
  • {{tlx|Milford Haven Line|first parameter{{=}}first value}} ...renders... {{Milford Haven Line|first parameter=first value}}