Template:Template-linking templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Redrose64
merge Code and Teletype rows - both forms use the <code></code> element, not <tt></tt>
meta>Redrose64
hmmm - why did I amend after moving?
Line 27: Line 27:
|-
|-
!style="background:#eef;font-weight:normal;"| <code>Code</code>
!style="background:#eef;font-weight:normal;"| <code>Code</code>
|style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|code{{=}}yes}}
|style="font-weight:bold;"| {{code|code{{=}}yes}} or<br />{{code|tt{{=}}yes}}
| {{tlx|tlx}}
| {{tlx|tlx}}
| {{tlx|tlc}}{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}
| {{tlx|tlc}}{{·}}{{tlx|tld}}{{·}}{{tlx|tnull}}

Revision as of 10:39, 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
tt=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}}