Template:Template-linking templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Codename Lisa More descriptive title |
meta>DePiep →Templates with example: rm {{cl}} - not a template link at all |
||
Line 54: | Line 54: | ||
===Templates with example=== | ===Templates with example=== | ||
{| | {| | ||
| {{tlx|lts|Hatnote}} || → || {{lts|hatnote}} | | {{tlx|lts|Hatnote}} || → || {{lts|hatnote}} | ||
|- | |- |
Revision as of 09:12, 19 April 2014
Template-linking templates
Templates by syntax
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 2=Foo
|
Normal | — | {{tlg}} 1, 2{{tl}} {{t links}} {{tlp}} 2
|
{{tlf}} 2
|
{{tls}} {{tlsp}}
|
{{tn}}
|
{{tla}}
|
Code
|
code=yes ortt=yes
|
{{tlx}}
|
{{tlc}} 2{{tld}} 2{{tnull}}
|
{{tlxs}}
|
||
Bold | bold=yes
|
{{tlb}}
|
||||
Bold code
|
bold=yes|code=yes
|
{{tlxb}}
| ||||
Italic code
|
italic=yes|code=yes
|
{{tlxi}}
|
1 =
2 = Prevents wrapping of text by placing it inside
{{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
<span class="nowrap">...</span>
tags.Templates with example
{{lts|Hatnote}} |
→ | Template:Hatnote(edit talk links history) |
{{t links|Hatnote}} |
→ | Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) |
{{tfd links|Hatnote}} |
→ | Template:Hatnote (edit · talk · history · links · transclusions · logs · subpages · delete) |
{{tiw|Hatnote}} |
→ | Template:hatnote (backlinks edit) |
{{tl|Hatnote}} |
→ | {{hatnote}}
|
{{tl2|Hatnote}} |
→ | {{hatnote}}
|
{{tla|Hatnote}} |
→ | {{hatnote}} |
{{tlb|Hatnote}} |
→ | {{hatnote}} |
{{tlc|Hatnote}} |
→ | {{hatnote}}
|
{{tld|Hatnote}} |
→ | {{hatnote}}
|
{{tlf|Hatnote}} |
→ | {{hatnote}} |
{{tlg|Hatnote}} |
→ | {{hatnote}} |
{{tlp|Hatnote}} |
→ | {{hatnote}} |
{{tls|Hatnote}} |
→ | {{subst:hatnote}} |
{{tlsp|Hatnote}} |
→ | {{subst:hatnote}} |
{{tlu|Hatnote}} |
→ | {{hatnote}} |
{{tlx|Hatnote}} |
→ | {{hatnote}}
|
{{tlxb|Hatnote}} |
→ | {{hatnote}}
|
{{tlxi|Hatnote}} |
→ | {{hatnote}}
|
{{tlxs|Hatnote}} |
→ | {{subst:hatnote}}
|
{{tn|Hatnote}} |
→ | {{hatnote}} |
{{tnull|Hatnote}} |
→ | {{hatnote}}
|
{{xpd|Hatnote}} |
→ | "{{hatnote}}" gives "{{{1}}} " [1]
|