Template:Template link
{{[[Template:{{{1}}}|{{{1}}}]]}}
{{#ifeq:template link |doc
|
{{#ifeq:show |show
|| icon | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. |
}}{{#if:|
|{{#ifexist:Template:Template link
| [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
| File:Cascade-protection-shackle.svg | This template can only be edited by administrators because it is transcluded onto one or more cascade-protected pages. |
The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a template by name without invoking it.
Note that this template has aliases "tee-el" {{tl}} and "tee-one" {{t1}}. They should not be confused with "tee-eye" {{ti}}, which is an alias for {{Template information}}.
{{Tla}} works exactly like {{tl}} with the addition of optionally displaying alternative label text (link label). {{Tlg}} can include the use of parameters in the template.
Examples
A short example of its use is:
Other longer examples:
| Code | Result | Notes |
|---|---|---|
{{tl|Void}}
|
{{Void}} | Standard usage |
{{tls|Example}}
|
{{subst:Example}} | For templates that should be substituted |
{{tl2|X1}}
|
{{[[:{{ safesubst:#if: | {{{sister}}}: }}{{ safesubst:#if: | {{{lang}}}: }}Template:X1|X1]]{{ safesubst:#if: | |{{{2}}} }}{{ safesubst:#if: | |{{{3}}} }}{{ safesubst:#if: | |{{{4}}} }}{{ safesubst:#if: | |{{{5}}} }}{{ safesubst:#if: | |{{{6}}} }}{{ safesubst:#if: | |{{{7}}} }}{{ safesubst:#if: | |{{{8}}} }}{{ safesubst:#if: | |{{{9}}} }}}}
|
This formats the link to show how it would look in code (i.e., monospace font) |
{{tl2|sister=M:|3x}}
|
{{[[:{{ safesubst:#if: M: | M:: }}{{ safesubst:#if: | {{{lang}}}: }}Template:3x|3x]]{{ safesubst:#if: | |{{{2}}} }}{{ safesubst:#if: | |{{{3}}} }}{{ safesubst:#if: | |{{{4}}} }}{{ safesubst:#if: | |{{{5}}} }}{{ safesubst:#if: | |{{{6}}} }}{{ safesubst:#if: | |{{{7}}} }}{{ safesubst:#if: | |{{{8}}} }}{{ safesubst:#if: | |{{{9}}} }}}}
|
Same as above, for templates on another Wikimedia project (in this example, Meta, using m:). See Interwiki codes.
|
{{tl2|sister=wikibooks|lang=de:|WP}}
|
{{[[:{{ safesubst:#if: wikibooks | wikibooks: }}{{ safesubst:#if: de | de: }}Template:WP|WP]]{{ safesubst:#if: | |{{{2}}} }}{{ safesubst:#if: | |{{{3}}} }}{{ safesubst:#if: | |{{{4}}} }}{{ safesubst:#if: | |{{{5}}} }}{{ safesubst:#if: | |{{{6}}} }}{{ safesubst:#if: | |{{{7}}} }}{{ safesubst:#if: | |{{{8}}} }}{{ safesubst:#if: | |{{{9}}} }}}}
|
For templates on another language project |
{{tl|1==)}}
|
{{=)}} | Use the format {{tl|1=templatename}} if the template contains template coding characters such as {{=)}} or {{!}}
|
TemplateData
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplate+link%7CTemplate+link%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Template link|Template:Template link|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Template link|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplate+link%7CTemplate+link%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Template link|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplate+link%7CTemplate+link%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Template link|Template:Template link|Template:Template link}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Template link|its|this}} TemplateData}}.
|#default=[1]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Template link|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplate+link%7CTemplate+link%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Template link|Template:Template link|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Template link|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplate+link%7CTemplate+link%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Template link|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplate+link%7CTemplate+link%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Template link|Template:Template link|Template:Template link}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Template link|its|this}} TemplateData}}.
|#default=[2]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Template link|its|this}} TemplateData}} }}}}
TemplateData for Template link
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|Template
| template
| other
}}
}}
| template = {{safesubst:#if:{{safesubst:#ifeq:Templat|sandbox|1}}{{safesubst:#ifeq:Template link|doc|1}}||
}} | other | #default = }} <templatedata>{ "description": "This template displays a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation.", "params": { "1": { "label": "Template name", "description": "Positional parameter: the template name without the namespace prefix “Template:”, which is added automatically", "type": "wiki-template-name", "required": true } }, "format": "inline" }</templatedata>
See also
- {{#if:
| [[:{{#if:tl2|tl2:|}}Template:{{{2}}}]] ([[:{{#if:tl2|tl2:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tl2:Template:{{{2}}}|action=edit}} edit]){{SAFESUBST:#if:([[:{{#if:tl2|tl2:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tl2:Template:{{{2}}}|action=edit}} edit])||}}
| Template:tl2 (backlinks edit){{SAFESUBST:#if:(backlinks edit)||}}
}}
- {{#if:
| [[:{{#if:tl|tl:|}}Template:{{{2}}}]] ([[:{{#if:tl|tl:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tl:Template:{{{2}}}|action=edit}} edit]){{SAFESUBST:#if:([[:{{#if:tl|tl:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tl:Template:{{{2}}}|action=edit}} edit])||}}
| Template:tl (backlinks edit){{SAFESUBST:#if:(backlinks edit)||}}
}}
- {{#if:
| [[:{{#if:tlp|tlp:|}}Template:{{{2}}}]] ([[:{{#if:tlp|tlp:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tlp:Template:{{{2}}}|action=edit}} edit]){{SAFESUBST:#if:([[:{{#if:tlp|tlp:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tlp:Template:{{{2}}}|action=edit}} edit])||}}
| Template:tlp (backlinks edit){{SAFESUBST:#if:(backlinks edit)||}}
}} to produce a [t]emplate [l]ink with a single [p]arameter
- {{#if:
| [[:{{#if:tlx|tlx:|}}Template:{{{2}}}]] ([[:{{#if:tlx|tlx:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tlx:Template:{{{2}}}|action=edit}} edit]){{SAFESUBST:#if:([[:{{#if:tlx|tlx:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tlx:Template:{{{2}}}|action=edit}} edit])||}}
| Template:tlx (backlinks edit){{SAFESUBST:#if:(backlinks edit)||}}
}} to produce a [t]emplate [l]ink with an e[x]panded number of parameters
- {{#if:
| [[:{{#if:tlsp|tlsp:|}}Template:{{{2}}}]] ([[:{{#if:tlsp|tlsp:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tlsp:Template:{{{2}}}|action=edit}} edit]){{SAFESUBST:#if:([[:{{#if:tlsp|tlsp:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tlsp:Template:{{{2}}}|action=edit}} edit])||}}
| Template:tlsp (backlinks edit){{SAFESUBST:#if:(backlinks edit)||}}
}} to produce a [t]emplate [l]ink that's [s]ubst:ituted, with a single [p]arameter
- {{#if:
| [[:{{#if:lts|lts:|}}Template:{{{2}}}]] ([[:{{#if:lts|lts:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:lts:Template:{{{2}}}|action=edit}} edit]){{SAFESUBST:#if:([[:{{#if:lts|lts:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:lts:Template:{{{2}}}|action=edit}} edit])||}}
| Template:lts (backlinks edit){{SAFESUBST:#if:(backlinks edit)||}}
}}
- {{#if:
| [[:{{#if:tlu|tlu:|}}Template:{{{2}}}]] ([[:{{#if:tlu|tlu:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tlu:Template:{{{2}}}|action=edit}} edit]){{SAFESUBST:#if:([[:{{#if:tlu|tlu:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tlu:Template:{{{2}}}|action=edit}} edit])||}}
| Template:tlu (backlinks edit){{SAFESUBST:#if:(backlinks edit)||}}
}}, tl or tlp in any namespace
| [[:{{#if:tl-r|tl-r:|}}Template:{{{2}}}]] ([[:{{#if:tl-r|tl-r:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tl-r:Template:{{{2}}}|action=edit}} edit]){{SAFESUBST:#if:([[:{{#if:tl-r|tl-r:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:tl-r:Template:{{{2}}}|action=edit}} edit])||}}
| Template:tl-r (backlinks edit){{SAFESUBST:#if:(backlinks edit)||}}
}} to produce a [t]emplate [l]ink to a template [r]edirect
General-purpose formatting
| Text style ↓ | {{tlg}} options{{#if:TlTfn1
|
<ref group="note" name="TlTfn1"></ref> | <ref group="note"></ref>
}} |
Link style | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linked | Unlinked | Linked with subst | Unlinked with subst | Linked including braces | Linked with alternative text | ||||||||||||||
{{tlg}} options{{#if:TlTfn1
|
<ref group="note" name="TlTfn1"></ref> | <ref group="note"></ref>
}} |
N/a | DEFAULT | <syntaxhighlight lang="text" class="" style="" inline="1">nolink=yes</syntaxhighlight> | <syntaxhighlight lang="text" class="" style="" inline="1">subst=yes</syntaxhighlight> | nolink=yes
|
<syntaxhighlight lang="text" class="" style="" inline="1">braceinside=yes</syntaxhighlight> | <syntaxhighlight lang="text" class="" style="" inline="1">alttext=Foo</syntaxhighlight> <syntaxhighlight lang="text" class="" style="" inline="1">2=Foo</syntaxhighlight> | ||||||||||
| normal | DEFAULT | {{tlg}} |
<ref group="note" name="TlTfn1"></ref> | <ref group="note"></ref> | <ref group="note" name="TlTfn2"></ref> | <ref group="note"></ref>
}} |
<ref group="note" name="TlTfn3"></ref> | <ref group="note"></ref>
}} |
{{tlf}} |
<ref group="note" name="TlTfn2"></ref> | <ref group="note"></ref>
}} |
{{subst:tls}} {{subst:Template:tlsu{{#if:| |{{{2}}}
}}{{#if:|
|{{{3}}}
}}{{#if:|
|{{{4}}}
}}{{#if:|
|{{{5}}}
}}{{#if:|
|{{{6}}}
}}{{#if:|
|{{{7}}}
}}{{#if:|
|{{{8}}}
}}{{#if:|
|{{{9}}}
}}{{#if:|
|{{{10}}}
}}{{#if:|
|{{{11}}}
}}{{#if:|
|...
}}}} |
<ref group="note" name="TlTfn3"></ref> | <ref group="note"></ref>
}} |
subst:tlsf|tlsf|...}}{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||...}}}} |
<ref group="note" name="TlTfn2"></ref> | <ref group="note"></ref>
}} |
{{tn}} | {{tla}} |
code
|
<syntaxhighlight lang="text" class="" style="" inline="1">code=yes</syntaxhighlight> | {{[[:{{ safesubst:#if: | {{{sister}}}: }}{{ safesubst:#if: | {{{lang}}}: }}Template:tl2|tl2]]{{ safesubst:#if: | |{{{2}}} }}{{ safesubst:#if: | |{{{3}}} }}{{ safesubst:#if: | |{{{4}}} }}{{ safesubst:#if: | |{{{5}}} }}{{ safesubst:#if: | |{{{6}}} }}{{ safesubst:#if: | |{{{7}}} }}{{ safesubst:#if: | |{{{8}}} }}{{ safesubst:#if: | |{{{9}}} }}}}{{tlx}}{{Template:tlxu{{#if:|
|
<ref group="note" name="TlTfn3"></ref> | <ref group="note"></ref>
}} |
{{tlc}} |
<ref group="note" name="TlTfn2"></ref> | <ref group="note"></ref>
}} |
{{subst:tlxs}}
|
subst:tlsc|tlsc|...}}{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||{{{10}}}}}{{#if:||{{{11}}}}}{{#if:||{{{12}}}}}{{#if:||{{{13}}}}}{{#if:||{{{14}}}}}{{#if:||{{{15}}}}}{{#if:||{{{16}}}}}{{#if:||{{{17}}}}}{{#if:||...}}}} |
<ref group="note" name="TlTfn2"></ref> | <ref group="note"></ref>
}} |
N/a | |||||||
| monospace | <syntaxhighlight lang="text" class="" style="" inline="1">plaincode=yes</syntaxhighlight> |
<ref group="note" name="TlTfn4"></ref> | <ref group="note"></ref>
}} |
N/a | {{subst:tltss{{#if: | {{{par}}}}}{{#if: | {{{par2}}}}}}} |
<ref group="note" name="TlTfn5"></ref> | <ref group="note"></ref>
}} |
N/a | |||||||||
| kbd | <syntaxhighlight lang="text" class="" style="" inline="1">kbd=yes</syntaxhighlight> |
<ref group="note" name="TlTfn5"></ref> | <ref group="note"></ref>
}} | ||||||||||||||||
| bold | <syntaxhighlight lang="text" class="" style="" inline="1">bold=yes</syntaxhighlight> | {{tlb}} | N/a | ||||||||||||||||
bold+code
|
bold=yes
|
{{tlxb}}
| |||||||||||||||||
italic+code
|
italic=yes
|
{{tlxi}}
| |||||||||||||||||
}}{{#if:|
| {{#iferror: {{#ifexpr: > 1 }} |style="column-width: calc( 0.9 * );"}}
| {{#if: |style="column-width: calc( 0.9 * {{{colwidth}}} );"}}
}}><references group="note" responsive="0">{{#if:TlTfn1
|<ref group="note" name="TlTfn1">{{tlg}}is the most general template, allowing any combination of text style and/or link style options.</ref> |<ref group="note">{{tlg}}is the most general template, allowing any combination of text style and/or link style options.</ref>
}} {{#if:TlTfn2
|<ref group="note" name="TlTfn2">Prevents wrapping of text by placing it inside{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|span|span}}{{#if:class="nowrap"| class="nowrap"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:span|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:span|!--|-->|</span>}} }}tags.</ref> |<ref group="note">Prevents wrapping of text by placing it inside{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|span|span}}{{#if:class="nowrap"| class="nowrap"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:span|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:span|!--|-->|</span>}} }}tags.</ref>
}} {{#if:TlTfn3
|<ref group="note" name="TlTfn3">Allows links to templates in any namespace.</ref> |<ref group="note">Allows links to templates in any namespace.</ref>
}} {{#if:TlTfn4
|<ref group="note" name="TlTfn4">{{tlg|plaincode=yes}}uses [[HTML element#code|{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|code|code}}{{#if:style="border:none; background-color:transparent;"| style="border:none; background-color:transparent;"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:code|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:code|!--|-->|</code>}} }}]].</ref> |<ref group="note">{{tlg|plaincode=yes}}uses [[HTML element#code|{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|code|code}}{{#if:style="border:none; background-color:transparent;"| style="border:none; background-color:transparent;"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:code|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:code|!--|-->|</code>}} }}]].</ref>
}} {{#if:TlTfn5
|<ref group="note" name="TlTfn5">Displays monospaced font using}}</references>{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|span|span}}{{#if:style="font-family:monospace;"| style="font-family:monospace;"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:span|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:span|!--|-->|</span>}} }}.</ref> |<ref group="note">Displays monospaced font using{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|span|span}}{{#if:style="font-family:monospace;"| style="font-family:monospace;"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:span|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:span|!--|-->|</span>}} }}.</ref>
|
<references group="note" responsive="1">{{#if:TlTfn1
|<ref group="note" name="TlTfn1">{{tlg}}is the most general template, allowing any combination of text style and/or link style options.</ref> |<ref group="note">{{tlg}}is the most general template, allowing any combination of text style and/or link style options.</ref>
}} {{#if:TlTfn2
|<ref group="note" name="TlTfn2">Prevents wrapping of text by placing it inside{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|span|span}}{{#if:class="nowrap"| class="nowrap"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:span|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:span|!--|-->|</span>}} }}tags.</ref> |<ref group="note">Prevents wrapping of text by placing it inside{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|span|span}}{{#if:class="nowrap"| class="nowrap"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:span|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:span|!--|-->|</span>}} }}tags.</ref>
}} {{#if:TlTfn3
|<ref group="note" name="TlTfn3">Allows links to templates in any namespace.</ref> |<ref group="note">Allows links to templates in any namespace.</ref>
}} {{#if:TlTfn4
|<ref group="note" name="TlTfn4">{{tlg|plaincode=yes}}uses [[HTML element#code|{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|code|code}}{{#if:style="border:none; background-color:transparent;"| style="border:none; background-color:transparent;"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:code|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:code|!--|-->|</code>}} }}]].</ref> |<ref group="note">{{tlg|plaincode=yes}}uses [[HTML element#code|{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|code|code}}{{#if:style="border:none; background-color:transparent;"| style="border:none; background-color:transparent;"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:code|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:code|!--|-->|</code>}} }}]].</ref>
}} {{#if:TlTfn5
|<ref group="note" name="TlTfn5">Displays monospaced font using}}</references>{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|span|span}}{{#if:style="font-family:monospace;"| style="font-family:monospace;"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:span|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:span|!--|-->|</span>}} }}.</ref> |<ref group="note">Displays monospaced font using{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|span|span}}{{#if:style="font-family:monospace;"| style="font-family:monospace;"}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:span|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:span|!--|-->|</span>}} }}.</ref>
Other formatting templates
| Code example | Effect | Notes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
<source lang="wikitext"> <syntaxhighlight lang="wikitext"> </syntaxhighlight> </source> |
<syntaxhighlight lang="wikitext">
</syntaxhighlight> |
Same as above | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
close = | single | open | pair = <{{#switch:syntaxhighlight | categorytree=categorytree | charinsert=charinsert | ce=ce | chem=chem | gallery=gallery | graph=graph | hiero=hiero | includeonly=includeonly | indicator=indicator | imagemap=imagemap | inputbox=inputbox | mapframe=mapframe | maplink=maplink | math=math | math chem=math chem | noinclude=noinclude | nowiki=nowiki | onlyinclude=onlyinclude | poem=poem | pre=pre | ref=ref | references=references | score=score | section=section | source=source | syntaxhighlight=syntaxhighlight | templatedata=templatedata | templatestyles=templatestyles | timeline=timeline | #default=syntaxhighlight
}}{{#if:lang="wikitext" inline| lang="wikitext" inline}} }}{{#switch:open |
close = | single = /> | open = > | pair = >...
}}{{#switch:open |
single | open = | close | pair = </syntaxhighlight>
}}{{Hatnote|Some text|selfref=yes|category=no|lang=fr}}
|
close = | single | open | pair = <{{#switch:syntaxhighlight | categorytree=categorytree | charinsert=charinsert | ce=ce | chem=chem | gallery=gallery | graph=graph | hiero=hiero | includeonly=includeonly | indicator=indicator | imagemap=imagemap | inputbox=inputbox | mapframe=mapframe | maplink=maplink | math=math | math chem=math chem | noinclude=noinclude | nowiki=nowiki | onlyinclude=onlyinclude | poem=poem | pre=pre | ref=ref | references=references | score=score | section=section | source=source | syntaxhighlight=syntaxhighlight | templatedata=templatedata | templatestyles=templatestyles | timeline=timeline | #default=syntaxhighlight
}}{{#if:| {{{params}}}}} }}{{#switch:c |
close = | single = /> | open = > | pair = >...
}}{{#switch:c |
single | open = | close | pair = </syntaxhighlight>
}} |
<syntaxhighlight lang="wikitext" inline></syntaxhighlight> | Same as above | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{tl2|Hatnote|lang=fr}}
|
{{[[:{{ safesubst:#if: | {{{sister}}}: }}{{ safesubst:#if: fr | fr: }}Template:hatnote|hatnote]]{{ safesubst:#if: | |{{{2}}} }}{{ safesubst:#if: | |{{{3}}} }}{{ safesubst:#if: | |{{{4}}} }}{{ safesubst:#if: | |{{{5}}} }}{{ safesubst:#if: | |{{{6}}} }}{{ safesubst:#if: | |{{{7}}} }}{{ safesubst:#if: | |{{{8}}} }}{{ safesubst:#if: | |{{{9}}} }}}} |
Supports linking to sister projects (e.g., fr:Hatnote) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{demo|<nowiki>{{Hatnote|Some text}}</nowiki>}}
|
Some text}}</syntaxhighlight> | Shows code and example | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{tln|Hatnote}}
|
Template:Hatnote | Produces a normal link to the template | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{elc|Template:Example}}{{elc|Template:Example|Text|suffix}}
|
|{{{2}}}}}]][[Template:Example{{#if:Text||Text}}]]suffix |
Shows how wikilink would be entered in wiki markup, with optional link text and suffix | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{ml|Example|hello}}
|
{{#invoke:Example|hello}} | Counterpart to {{tl}} for linking to Lua modules | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{mfl|Example|hello}}
|
{{safesubst:#if:Example | {{#invoke:Example|{{safesubst:#if:hello | hello}} | function
}}}} |
Error: Missing module name.
}} || Similar to {{ml}}, but expects the function to be documented and creates a link to the corresponding section | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{mlx|Example|hello}}
|
{{#invoke:Example|hello}} |
Counterpart to {{tlx}} for linking to Lua modules | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{ml-lua|Module:Example}}
|
[[{{safesubst:#switch:Module:Example | bit32=mw:Extension:Scribunto/Lua reference manual#bit32 | libraryUtil=mw:Extension:Scribunto/Lua reference manual#libraryUtil | luabit.hex=mw:Extension:Scribunto/Lua reference manual#luabit | strict=mw:Extension:Scribunto/Lua reference manual#strict | ustring=mw:Extension:Scribunto/Lua reference manual#ustring | Module:Example
}}|<syntaxhighlight lang="lua" inline="1">require('Module:Example')</syntaxhighlight>]] || Link to Lua modules and built-in libraries, showing Lua code. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{para|title|<var>book title</var>}}
|
title=}}book title | Formats template parameters for display, with or without values | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{para2|title|<var>book title</var>}}
|
yes|
|
tiny = | inline = | box|sidebar = | disabled = | #default =
}}}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{sclx|LASTING}}
|
[[[[{{#ifexpr:0 |
WP:}}LASTING]]]] | Takes a shortcut suffix in project namespace and displays it with brackets and the WP: alias in a [[WP:CODE|{{#switch:pair
|
close = | empty|s|single|v|void | open | pair = <{{#if:|code|code}}{{#if:| {{{attribs}}}}}
}}{{#switch:pair
|
close = | empty|s|single|v|void = /> | open = > | pair = {{#ifeq:code|!-- | >}}...
}}{{#switch:pair
|
empty|s|single|v|void | open = | close | pair = {{#ifeq:code|!--|-->|</code>}}
}}]] tag. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{tag|ref}}{{xtag|templatedata}}
|
{{#switch:pair
|
close = | empty|s|single|v|void | open | pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}}
}}{{#switch:pair
|
close = | empty|s|single|v|void = /> | open = > | pair = {{#ifeq:ref|!-- | >}}...
}}{{#switch:pair
|
empty|s|single|v|void | open = | close | pair = {{#ifeq:ref|!--|-->|</ref>}}
}}
|
close = | single | open | pair = <{{#switch:templatedata | categorytree=categorytree | charinsert=charinsert | ce=ce | chem=chem | gallery=gallery | graph=graph | hiero=hiero | includeonly=includeonly | indicator=indicator | imagemap=imagemap | inputbox=inputbox | mapframe=mapframe | maplink=maplink | math=math | math chem=math chem | noinclude=noinclude | nowiki=nowiki | onlyinclude=onlyinclude | poem=poem | pre=pre | ref=ref | references=references | score=score | section=section | source=source | syntaxhighlight=syntaxhighlight | templatedata=templatedata | templatestyles=templatestyles | timeline=timeline | #default=templatedata
}}{{#if:| {{{params}}}}} }}{{#switch:open |
close = | single = /> | open = > | pair = >...
}}{{#switch:open |
single | open = | close | pair = </templatedata>
}} || Formats [X]HTML tags; can add content, choose opening, closing, or self-closing | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{dtl|Ping project}}
|
{{d:Ping project}} | Wikidata counterpart to {{tl}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{mwl|#if}}{{mwl|#if|{{{1}}}|true|false}}
|
{{safesubst:#if:#if | {{safesubst:#switch:#if | = __NOTOC__ | = __FORCETOC__ | = __TOC__ | = __NOEDITSECTION__ | = __NEWSECTIONLINK__ | = __NONEWSECTIONLINK__ | = __NOGALLERY__ | = __HIDDENCAT__ | = __EXPECTUNUSEDCATEGORY__ | = __NOCONTENTCONVERT__ | = __NOCC__ | = __NOTITLECONVERT__ | = __NOTC__ | __START__ = __START__ | __END__ = __END__ | = __INDEX__ | = __NOINDEX__ | = __STATICREDIRECT__ | = __EXPECTUNUSEDTEMPLATE__ | __NOGLOBAL__ = __NOGLOBAL__ | __DISAMBIG__ = __DISAMBIG__ | __EXPECTED_UNCONNECTED_PAGE__ = __EXPECTED_UNCONNECTED_PAGE__ | __ARCHIVEDTALK__ = __EXPECTED_UNCONNECTED_PAGE__ | __NOTALK__ = __EXPECTED_UNCONNECTED_PAGE__ | __EXPECTWITHOUTSCANS__ = __EXPECTED_UNCONNECTED_PAGE__ | #REDIRECT = #REDIRECT | #default = {{[[:{{safesubst:#switch:#if | CURRENTYEAR = mw:Help:Magic words#Date and time | CURRENTMONTH = mw:Help:Magic words#Date and time | CURRENTMONTH1 = mw:Help:Magic words#Date and time | CURRENTMONTH2 = mw:Help:Magic words#Date and time | CURRENTMONTHNAME = mw:Help:Magic words#Date and time | CURRENTMONTHNAMEGEN = mw:Help:Magic words#Date and time | CURRENTMONTHABBREV = mw:Help:Magic words#Date and time | CURRENTDAY = mw:Help:Magic words#Date and time | CURRENTDAY2 = mw:Help:Magic words#Date and time | CURRENTDOW = mw:Help:Magic words#Date and time | CURRENTDAYNAME = mw:Help:Magic words#Date and time | CURRENTTIME = mw:Help:Magic words#Date and time | CURRENTHOUR = mw:Help:Magic words#Date and time | CURRENTWEEK = mw:Help:Magic words#Date and time | CURRENTTIMESTAMP = mw:Help:Magic words#Date and time | LOCALYEAR = mw:Help:Magic words#Date and time | LOCALMONTH = mw:Help:Magic words#Date and time | LOCALMONTH1 = mw:Help:Magic words#Date and time | LOCALMONTH2 = mw:Help:Magic words#Date and time | LOCALMONTHNAME = mw:Help:Magic words#Date and time | LOCALMONTHNAMEGEN = mw:Help:Magic words#Date and time | LOCALMONTHABBREV = mw:Help:Magic words#Date and time | LOCALDAY = mw:Help:Magic words#Date and time | LOCALDAY2 = mw:Help:Magic words#Date and time | LOCALDOW = mw:Help:Magic words#Date and time | LOCALDAYNAME = mw:Help:Magic words#Date and time | LOCALTIME = mw:Help:Magic words#Date and time | LOCALHOUR = mw:Help:Magic words#Date and time | LOCALWEEK = mw:Help:Magic words#Date and time | LOCALTIMESTAMP = mw:Help:Magic words#Date and time | SITENAME = mw:Help:Magic words#Technical metadata | SERVER = mw:Help:Magic words#Technical metadata | SERVERNAME = mw:Help:Magic words#Technical metadata | DIRMARK = mw:Help:Magic words#Technical metadata | DIRECTIONMARK = mw:Help:Magic words#Technical metadata | ARTICLEPATH = mw:Help:Magic words#Technical metadata | SCRIPTPATH = mw:Help:Magic words#Technical metadata | STYLEPATH = mw:Help:Magic words#Technical metadata | CURRENTVERSION = mw:Help:Magic words#Technical metadata | CONTENTLANGUAGE = mw:Help:Magic words#Technical metadata | CONTENTLANG = mw:Help:Magic words#Technical metadata | PAGEID = mw:Help:Magic words#Technical metadata | CASCADINGSOURCES = mw:Help:Magic words#Technical metadata | REVISIONID = mw:Help:Magic words#Technical metadata | REVISIONDAY = mw:Help:Magic words#Technical metadata | REVISIONDAY2 = mw:Help:Magic words#Technical metadata | REVISIONMONTH = mw:Help:Magic words#Technical metadata | REVISIONMONTH1 = mw:Help:Magic words#Technical metadata | REVISIONYEAR = mw:Help:Magic words#Technical metadata | REVISIONTIMESTAMP = mw:Help:Magic words#Technical metadata | REVISIONUSER = mw:Help:Magic words#Technical metadata | REVISIONSIZE = mw:Help:Magic words#Technical metadata | NOEXTERNALLANGLINKS = mw:Help:Magic words#EXPECTED_UNCONNECTED_PAGE | NUMBEROFPAGES = mw:Help:Magic words#Technical metadata | NUMBEROFARTICLES = mw:Help:Magic words#Technical metadata | NUMBEROFFILES = mw:Help:Magic words#Technical metadata | NUMBEROFEDITS = mw:Help:Magic words#Technical metadata | NUMBEROFVIEWS = mw:Help:Magic words#Technical metadata | NUMBEROFUSERS = mw:Help:Magic words#Technical metadata | NUMBEROFADMINS = mw:Help:Magic words#Technical metadata | NUMBEROFACTIVEUSERS = mw:Help:Magic words#EXPECTED_UNCONNECTED_PAGE | FULLPAGENAME = mw:Help:Magic words#Page names | PAGENAME = mw:Help:Magic words#Page names | BASEPAGENAME = mw:Help:Magic words#Page names | SUBPAGENAME = mw:Help:Magic words#Page names | SUBJECTPAGENAME = mw:Help:Magic words#Page names | ARTICLEPAGENAME = mw:Help:Magic words#Page names | TALKPAGENAME = mw:Help:Magic words#Page names | ROOTPAGENAME = mw:Help:Magic words#Page names | FULLPAGENAMEE = mw:Help:Magic words#Page names | PAGENAMEE = mw:Help:Magic words#Page names | BASEPAGENAMEE = mw:Help:Magic words#Page names | SUBPAGENAMEE = mw:Help:Magic words#Page names | SUBJECTPAGENAMEE = mw:Help:Magic words#Page names | ARTICLEPAGENAMEE = mw:Help:Magic words#Page names | TALKPAGENAMEE = mw:Help:Magic words#Page names | ROOTPAGENAMEE = mw:Help:Magic words#Page names | NAMESPACE = mw:Help:Magic words#NAMESPACE | NAMESPACENUMBER = mw:Help:Magic words#NAMESPACENUMBER | SUBJECTSPACE = mw:Help:Magic words#SUBJECTSPACE | ARTICLESPACE = mw:Help:Magic words#Namespaces | TALKSPACE = mw:Help:Magic words#TALKSPACE | NAMESPACEE = mw:Help:Magic words#Namespaces | SUBJECTSPACEE = mw:Help:Magic words#Namespaces | TALKSPACEE = mw:Help:Magic words#Namespaces | = mw:Help:Magic words#Escaped characters | = = mw:Help:Magic words#Escaped characters | PROTECTIONLEVEL = mw:Help:Magic words#Technical metadata | DISPLAYTITLE = mw:Help:Magic words#DISPLAYTITLE | DEFAULTSORT = mw:Help:Magic words#DEFAULTSORT | PAGESINCATEGORY = mw:Help:Magic words#PAGESINCATEGORY | PAGESINCAT = mw:Help:Magic words#PAGESINCAT | NUMBERINGROUP = mw:Help:Magic words#NUMBERINGROUP | PAGESINNS = mw:Help:Magic words#PAGESINNS | PAGESINNAMESPACE = mw:Help:Magic words#PAGESINNAMESPACE | FULLPAGENAME = mw:Help:Magic words#Page names | PAGENAME = mw:Help:Magic words#Page names | BASEPAGENAME = mw:Help:Magic words#Page names | SUBPAGENAME = mw:Help:Magic words#Page names | SUBJECTPAGENAME = mw:Help:Magic words#Page names | ARTICLEPAGENAME = mw:Help:Magic words#Page names | TALKPAGENAME = mw:Help:Magic words#Page names | ROOTPAGENAME = mw:Help:Magic words#Page names | FULLPAGENAMEE = mw:Help:Magic words#Page names | PAGENAMEE = mw:Help:Magic words#Page names | BASEPAGENAMEE = mw:Help:Magic words#Page names | SUBPAGENAMEE = mw:Help:Magic words#Page names | SUBJECTPAGENAMEE = mw:Help:Magic words#Page names | ARTICLEPAGENAMEE = mw:Help:Magic words#Page names | TALKPAGENAMEE = mw:Help:Magic words#Page names | ROOTPAGENAMEE = mw:Help:Magic words#Page names | NAMESPACE = mw:Help:Magic words#Namespaces | NAMESPACENUMBER = mw:Help:Magic words#Namespaces | SUBJECTSPACE = mw:Help:Magic words#Namespaces | ARTICLESPACE = mw:Help:Magic words#Namespaces | TALKSPACE = mw:Help:Magic words#Namespaces | NAMESPACEE = mw:Help:Magic words#Namespaces | SUBJECTSPACEE = mw:Help:Magic words#Namespaces | TALKSPACEE = mw:Help:Magic words#Namespaces | PAGEID = mw:Help:Magic words#Technical metadata of another page | PAGESIZE = mw:Help:Magic words#Technical metadata of another page | PROTECTIONLEVEL = mw:Help:Magic words#Technical metadata of another page | CASCADINGSOURCES = mw:Help:Magic words#Technical metadata of another page | REVISIONID = mw:Help:Magic words#Technical metadata of another page | REVISIONDAY = mw:Help:Magic words#Technical metadata of another page | REVISIONDAY2 = mw:Help:Magic words#Technical metadata of another page | REVISIONMONTH = mw:Help:Magic words#Technical metadata of another page | REVISIONMONTH1 = mw:Help:Magic words#Technical metadata of another page | REVISIONYEAR = mw:Help:Magic words#Technical metadata of another page | REVISIONTIMESTAMP = mw:Help:Magic words#Technical metadata of another page | REVISIONUSER = mw:Help:Magic words#Technical metadata of another page | SHORTDESC = mw:Extension:Wikibase Client | USERLANGUAGE = mw:Help:Magic words#h-Localization_variables-Variables | #default = {{safesubst:#switch:
|
localurl = mw:Help:Magic words#localurl | localurle = mw:Help:Magic words#URL data | fullurl = mw:Help:Magic words#fullurl | fullurle = mw:Help:Magic words#URL data | canonicalurl = mw:Help:Magic words#canonicalurl | canonicalurle = mw:Help:Magic words#URL data | filepath = mw:Help:Magic words#filepath | urlencode = mw:Help:Magic words#urlencode | urldecode = mw:Help:Magic words#URL data | anchorencode = mw:Help:Magic words#anchorencode | noexternallanglinks = mw:Help:Magic words#From Extensions | ns = mw:Help:Magic words#Namespaces | nse = mw:Help:Magic words#Namespaces | formatnum = mw:Help:Magic words#formatnum | #dateformat = mw:Help:Magic words#dateformat | #formatdate = mw:Help:Magic words#formatdate | lc = mw:Help:Magic words#lc | lcfirst = mw:Help:Magic words#lcfirst | uc = mw:Help:Magic words#uc | ucfirst = mw:Help:Magic words#ucfirst | padleft = mw:Help:Magic words#padleft | padright = mw:Help:Magic words#padright | plural = mw:Help:Magic words#PLURAL | grammar = mw:Help:Magic words#GRAMMAR | gender = mw:Help:Magic words#GENDER | int = mw:Help:Magic words#INT | noexternallanglinks = mw:Extension:Wikibase Client | wbreponame = mw:Extension:Wikibase Client | pendingchangelevel = mw:Extension:FlaggedRevs | numberofwikis = mw:Extension:SiteMatrix | #language = mw:Help:Magic words#.23language | #interwikilink = mw:Help:Magic words#interwikilink | #interlanguagelink = mw:Help:Magic words#interlanguagelink | #isbn = mw:Help:Magic words#isbn | #special = mw:Help:Magic words#.23special | #speciale = mw:Help:Magic words#.23speciale | #tag = mw:Help:Magic words#.23tag | #expr = mw:Help:Extension:ParserFunctions#.23expr | #if = mw:Help:Extension:ParserFunctions#.23if | #ifeq = mw:Help:Extension:ParserFunctions#.23ifeq | #iferror = mw:Help:Extension:ParserFunctions#.23iferror | #ifexpr = mw:Help:Extension:ParserFunctions#.23ifexpr | #ifexist = mw:Help:Extension:ParserFunctions#.23ifexist | #rel2abs = mw:Help:Extension:ParserFunctions#.23rel2abs | #switch = mw:Help:Extension:ParserFunctions#.23switch | #time = mw:Help:Extension:ParserFunctions#.23time | #timel = mw:Help:Extension:ParserFunctions#.23timel | #titleparts = mw:Help:Extension:ParserFunctions#.23titleparts | #babel = mw:Extension:Babel#Usage | #categorytree = mw:Extension:CategoryTree#The {{#categorytree}} parser function | #commaseparatedlist = mw:Wikibase/Installation/Advanced_configuration#commaseparatedlist | #coordinates = mw:Extension:GeoData#Parser function | #invoke = mw:Extension:Scribunto#Usage | #lst = mw:Extension:Labeled Section Transclusion#How it works | #lsth = mw:Extension:Labeled Section Transclusion#How it works | #lstx = mw:Extension:Labeled Section Transclusion#How it works | noexternallanglinks = mw:Extension:Wikibase Client | noreplace = mw:Extension:Wikibase Client | pendingchangelevel = mw:Extension:FlaggedRevs | #property = d:Wikidata:How to use data on Wikimedia projects | #statements = d:Wikidata:How to use data on Wikimedia projects | #target = mw:Extension:MassMessage | #default = mw:Help:Magic words##if
}} }}|#if]]}} }} |
Error: No magic word was provided.
}} |
{{safesubst:#switch:#if | = __NOTOC__ | = __FORCETOC__ | = __TOC__ | = __NOEDITSECTION__ | = __NEWSECTIONLINK__ | = __NONEWSECTIONLINK__ | = __NOGALLERY__ | = __HIDDENCAT__ | = __EXPECTUNUSEDCATEGORY__ | = __NOCONTENTCONVERT__ | = __NOCC__ | = __NOTITLECONVERT__ | = __NOTC__ | __START__ = __START__ | __END__ = __END__ | = __INDEX__ | = __NOINDEX__ | = __STATICREDIRECT__ | = __EXPECTUNUSEDTEMPLATE__ | __NOGLOBAL__ = __NOGLOBAL__ | __DISAMBIG__ = __DISAMBIG__ | __EXPECTED_UNCONNECTED_PAGE__ = __EXPECTED_UNCONNECTED_PAGE__ | __ARCHIVEDTALK__ = __EXPECTED_UNCONNECTED_PAGE__ | __NOTALK__ = __EXPECTED_UNCONNECTED_PAGE__ | __EXPECTWITHOUTSCANS__ = __EXPECTED_UNCONNECTED_PAGE__ | #REDIRECT = #REDIRECT | #default = {{[[:{{safesubst:#switch:#if | CURRENTYEAR = mw:Help:Magic words#Date and time | CURRENTMONTH = mw:Help:Magic words#Date and time | CURRENTMONTH1 = mw:Help:Magic words#Date and time | CURRENTMONTH2 = mw:Help:Magic words#Date and time | CURRENTMONTHNAME = mw:Help:Magic words#Date and time | CURRENTMONTHNAMEGEN = mw:Help:Magic words#Date and time | CURRENTMONTHABBREV = mw:Help:Magic words#Date and time | CURRENTDAY = mw:Help:Magic words#Date and time | CURRENTDAY2 = mw:Help:Magic words#Date and time | CURRENTDOW = mw:Help:Magic words#Date and time | CURRENTDAYNAME = mw:Help:Magic words#Date and time | CURRENTTIME = mw:Help:Magic words#Date and time | CURRENTHOUR = mw:Help:Magic words#Date and time | CURRENTWEEK = mw:Help:Magic words#Date and time | CURRENTTIMESTAMP = mw:Help:Magic words#Date and time | LOCALYEAR = mw:Help:Magic words#Date and time | LOCALMONTH = mw:Help:Magic words#Date and time | LOCALMONTH1 = mw:Help:Magic words#Date and time | LOCALMONTH2 = mw:Help:Magic words#Date and time | LOCALMONTHNAME = mw:Help:Magic words#Date and time | LOCALMONTHNAMEGEN = mw:Help:Magic words#Date and time | LOCALMONTHABBREV = mw:Help:Magic words#Date and time | LOCALDAY = mw:Help:Magic words#Date and time | LOCALDAY2 = mw:Help:Magic words#Date and time | LOCALDOW = mw:Help:Magic words#Date and time | LOCALDAYNAME = mw:Help:Magic words#Date and time | LOCALTIME = mw:Help:Magic words#Date and time | LOCALHOUR = mw:Help:Magic words#Date and time | LOCALWEEK = mw:Help:Magic words#Date and time | LOCALTIMESTAMP = mw:Help:Magic words#Date and time | SITENAME = mw:Help:Magic words#Technical metadata | SERVER = mw:Help:Magic words#Technical metadata | SERVERNAME = mw:Help:Magic words#Technical metadata | DIRMARK = mw:Help:Magic words#Technical metadata | DIRECTIONMARK = mw:Help:Magic words#Technical metadata | ARTICLEPATH = mw:Help:Magic words#Technical metadata | SCRIPTPATH = mw:Help:Magic words#Technical metadata | STYLEPATH = mw:Help:Magic words#Technical metadata | CURRENTVERSION = mw:Help:Magic words#Technical metadata | CONTENTLANGUAGE = mw:Help:Magic words#Technical metadata | CONTENTLANG = mw:Help:Magic words#Technical metadata | PAGEID = mw:Help:Magic words#Technical metadata | CASCADINGSOURCES = mw:Help:Magic words#Technical metadata | REVISIONID = mw:Help:Magic words#Technical metadata | REVISIONDAY = mw:Help:Magic words#Technical metadata | REVISIONDAY2 = mw:Help:Magic words#Technical metadata | REVISIONMONTH = mw:Help:Magic words#Technical metadata | REVISIONMONTH1 = mw:Help:Magic words#Technical metadata | REVISIONYEAR = mw:Help:Magic words#Technical metadata | REVISIONTIMESTAMP = mw:Help:Magic words#Technical metadata | REVISIONUSER = mw:Help:Magic words#Technical metadata | REVISIONSIZE = mw:Help:Magic words#Technical metadata | NOEXTERNALLANGLINKS = mw:Help:Magic words#EXPECTED_UNCONNECTED_PAGE | NUMBEROFPAGES = mw:Help:Magic words#Technical metadata | NUMBEROFARTICLES = mw:Help:Magic words#Technical metadata | NUMBEROFFILES = mw:Help:Magic words#Technical metadata | NUMBEROFEDITS = mw:Help:Magic words#Technical metadata | NUMBEROFVIEWS = mw:Help:Magic words#Technical metadata | NUMBEROFUSERS = mw:Help:Magic words#Technical metadata | NUMBEROFADMINS = mw:Help:Magic words#Technical metadata | NUMBEROFACTIVEUSERS = mw:Help:Magic words#EXPECTED_UNCONNECTED_PAGE | FULLPAGENAME = mw:Help:Magic words#Page names | PAGENAME = mw:Help:Magic words#Page names | BASEPAGENAME = mw:Help:Magic words#Page names | SUBPAGENAME = mw:Help:Magic words#Page names | SUBJECTPAGENAME = mw:Help:Magic words#Page names | ARTICLEPAGENAME = mw:Help:Magic words#Page names | TALKPAGENAME = mw:Help:Magic words#Page names | ROOTPAGENAME = mw:Help:Magic words#Page names | FULLPAGENAMEE = mw:Help:Magic words#Page names | PAGENAMEE = mw:Help:Magic words#Page names | BASEPAGENAMEE = mw:Help:Magic words#Page names | SUBPAGENAMEE = mw:Help:Magic words#Page names | SUBJECTPAGENAMEE = mw:Help:Magic words#Page names | ARTICLEPAGENAMEE = mw:Help:Magic words#Page names | TALKPAGENAMEE = mw:Help:Magic words#Page names | ROOTPAGENAMEE = mw:Help:Magic words#Page names | NAMESPACE = mw:Help:Magic words#NAMESPACE | NAMESPACENUMBER = mw:Help:Magic words#NAMESPACENUMBER | SUBJECTSPACE = mw:Help:Magic words#SUBJECTSPACE | ARTICLESPACE = mw:Help:Magic words#Namespaces | TALKSPACE = mw:Help:Magic words#TALKSPACE | NAMESPACEE = mw:Help:Magic words#Namespaces | SUBJECTSPACEE = mw:Help:Magic words#Namespaces | TALKSPACEE = mw:Help:Magic words#Namespaces | = mw:Help:Magic words#Escaped characters | = = mw:Help:Magic words#Escaped characters | PROTECTIONLEVEL = mw:Help:Magic words#Technical metadata | DISPLAYTITLE = mw:Help:Magic words#DISPLAYTITLE | DEFAULTSORT = mw:Help:Magic words#DEFAULTSORT | PAGESINCATEGORY = mw:Help:Magic words#PAGESINCATEGORY | PAGESINCAT = mw:Help:Magic words#PAGESINCAT | NUMBERINGROUP = mw:Help:Magic words#NUMBERINGROUP | PAGESINNS = mw:Help:Magic words#PAGESINNS | PAGESINNAMESPACE = mw:Help:Magic words#PAGESINNAMESPACE | FULLPAGENAME = mw:Help:Magic words#Page names | PAGENAME = mw:Help:Magic words#Page names | BASEPAGENAME = mw:Help:Magic words#Page names | SUBPAGENAME = mw:Help:Magic words#Page names | SUBJECTPAGENAME = mw:Help:Magic words#Page names | ARTICLEPAGENAME = mw:Help:Magic words#Page names | TALKPAGENAME = mw:Help:Magic words#Page names | ROOTPAGENAME = mw:Help:Magic words#Page names | FULLPAGENAMEE = mw:Help:Magic words#Page names | PAGENAMEE = mw:Help:Magic words#Page names | BASEPAGENAMEE = mw:Help:Magic words#Page names | SUBPAGENAMEE = mw:Help:Magic words#Page names | SUBJECTPAGENAMEE = mw:Help:Magic words#Page names | ARTICLEPAGENAMEE = mw:Help:Magic words#Page names | TALKPAGENAMEE = mw:Help:Magic words#Page names | ROOTPAGENAMEE = mw:Help:Magic words#Page names | NAMESPACE = mw:Help:Magic words#Namespaces | NAMESPACENUMBER = mw:Help:Magic words#Namespaces | SUBJECTSPACE = mw:Help:Magic words#Namespaces | ARTICLESPACE = mw:Help:Magic words#Namespaces | TALKSPACE = mw:Help:Magic words#Namespaces | NAMESPACEE = mw:Help:Magic words#Namespaces | SUBJECTSPACEE = mw:Help:Magic words#Namespaces | TALKSPACEE = mw:Help:Magic words#Namespaces | PAGEID = mw:Help:Magic words#Technical metadata of another page | PAGESIZE = mw:Help:Magic words#Technical metadata of another page | PROTECTIONLEVEL = mw:Help:Magic words#Technical metadata of another page | CASCADINGSOURCES = mw:Help:Magic words#Technical metadata of another page | REVISIONID = mw:Help:Magic words#Technical metadata of another page | REVISIONDAY = mw:Help:Magic words#Technical metadata of another page | REVISIONDAY2 = mw:Help:Magic words#Technical metadata of another page | REVISIONMONTH = mw:Help:Magic words#Technical metadata of another page | REVISIONMONTH1 = mw:Help:Magic words#Technical metadata of another page | REVISIONYEAR = mw:Help:Magic words#Technical metadata of another page | REVISIONTIMESTAMP = mw:Help:Magic words#Technical metadata of another page | REVISIONUSER = mw:Help:Magic words#Technical metadata of another page | SHORTDESC = mw:Extension:Wikibase Client | USERLANGUAGE = mw:Help:Magic words#h-Localization_variables-Variables | #default = {{safesubst:#switch:
|
localurl = mw:Help:Magic words#localurl | localurle = mw:Help:Magic words#URL data | fullurl = mw:Help:Magic words#fullurl | fullurle = mw:Help:Magic words#URL data | canonicalurl = mw:Help:Magic words#canonicalurl | canonicalurle = mw:Help:Magic words#URL data | filepath = mw:Help:Magic words#filepath | urlencode = mw:Help:Magic words#urlencode | urldecode = mw:Help:Magic words#URL data | anchorencode = mw:Help:Magic words#anchorencode | noexternallanglinks = mw:Help:Magic words#From Extensions | ns = mw:Help:Magic words#Namespaces | nse = mw:Help:Magic words#Namespaces | formatnum = mw:Help:Magic words#formatnum | #dateformat = mw:Help:Magic words#dateformat | #formatdate = mw:Help:Magic words#formatdate | lc = mw:Help:Magic words#lc | lcfirst = mw:Help:Magic words#lcfirst | uc = mw:Help:Magic words#uc | ucfirst = mw:Help:Magic words#ucfirst | padleft = mw:Help:Magic words#padleft | padright = mw:Help:Magic words#padright | plural = mw:Help:Magic words#PLURAL | grammar = mw:Help:Magic words#GRAMMAR | gender = mw:Help:Magic words#GENDER | int = mw:Help:Magic words#INT | noexternallanglinks = mw:Extension:Wikibase Client | wbreponame = mw:Extension:Wikibase Client | pendingchangelevel = mw:Extension:FlaggedRevs | numberofwikis = mw:Extension:SiteMatrix | #language = mw:Help:Magic words#.23language | #interwikilink = mw:Help:Magic words#interwikilink | #interlanguagelink = mw:Help:Magic words#interlanguagelink | #isbn = mw:Help:Magic words#isbn | #special = mw:Help:Magic words#.23special | #speciale = mw:Help:Magic words#.23speciale | #tag = mw:Help:Magic words#.23tag | #expr = mw:Help:Extension:ParserFunctions#.23expr | #if = mw:Help:Extension:ParserFunctions#.23if | #ifeq = mw:Help:Extension:ParserFunctions#.23ifeq | #iferror = mw:Help:Extension:ParserFunctions#.23iferror | #ifexpr = mw:Help:Extension:ParserFunctions#.23ifexpr | #ifexist = mw:Help:Extension:ParserFunctions#.23ifexist | #rel2abs = mw:Help:Extension:ParserFunctions#.23rel2abs | #switch = mw:Help:Extension:ParserFunctions#.23switch | #time = mw:Help:Extension:ParserFunctions#.23time | #timel = mw:Help:Extension:ParserFunctions#.23timel | #titleparts = mw:Help:Extension:ParserFunctions#.23titleparts | #babel = mw:Extension:Babel#Usage | #categorytree = mw:Extension:CategoryTree#The {{#categorytree}} parser function | #commaseparatedlist = mw:Wikibase/Installation/Advanced_configuration#commaseparatedlist | #coordinates = mw:Extension:GeoData#Parser function | #invoke = mw:Extension:Scribunto#Usage | #lst = mw:Extension:Labeled Section Transclusion#How it works | #lsth = mw:Extension:Labeled Section Transclusion#How it works | #lstx = mw:Extension:Labeled Section Transclusion#How it works | noexternallanglinks = mw:Extension:Wikibase Client | noreplace = mw:Extension:Wikibase Client | pendingchangelevel = mw:Extension:FlaggedRevs | #property = d:Wikidata:How to use data on Wikimedia projects | #statements = d:Wikidata:How to use data on Wikimedia projects | #target = mw:Extension:MassMessage | #default = mw:Help:Magic words##if
}} }}|#if]]:{{{1}}}|true|false}} }} |
Error: No magic word was provided.
}} || Magic word links |
{{pf|if}}{{pf|if|{{{1}}}|true|false}}
|
}}{{{{
|
if | ifeq | iferror | ifexpr | rel2abs | switch | time | titleparts
= #if |
uc | lcfirst | ucfirst | urlencode | ns
= if |
bcp47 | dir | interwikilink | interlanguagelink | speciale | tag
= #if |
localurle
= if |
fullurle
= if |
canonicalurle
= if |
pagesincategory | pagesincat
= if |
section-x | section-h | lst | lstx | lsth
= #if |
#default
= if }}{{ #if: | : }}{{ #if: | | }}{{ #if: | | }}{{ #if: | |{{{5}}} }}}}{{ #if: | }}
|
if | ifeq | iferror | ifexpr | rel2abs | switch | time | titleparts
= #if |
uc | lcfirst | ucfirst | urlencode | ns
= if |
bcp47 | dir | interwikilink | interlanguagelink | speciale | tag
= #if |
localurle
= if |
fullurle
= if |
canonicalurle
= if |
pagesincategory | pagesincat
= if |
section-x | section-h | lst | lstx | lsth
= #if |
#default
= if }}{{ #if: {{{1}}}truefalse | :{{{1}}} }}{{ #if: truefalse | |true }}{{ #if: false | |false }}{{ #if: | |{{{5}}} }}}}{{ #if: | }} || Parser function equivalent to {{tl}} |
With utility links
| Code example | Effect | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{lt|Hatnote}}
|
Template:Hatnote (edit | talk | history | links | watch | logs) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{lts|Hatnote}}
|
Template:Hatnote(edit talk links history) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{t links|Hatnote}}
|
{{#if:{{safesubst:#switch: no | no | n | f | false | off | 0 = | = | ¬ = | yes | y | t | true | on | 1 = yes | #default = yes
}}{{#ifeq:no|no||yes2}}|Template:T links/sandbox links|{{Hatnote}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)}}{{#if:| {{#ifeq:|no||Template:Middot[[Module:]]|{{#ifexist:Module:hatnote|Template:MiddotModule:hatnote}}}}|}} {{safesubst:#switch: |
no | n | f | false | off | 0 = | = | ¬ = | yes | y | t | true | on | 1 = {{#switch:TPU | =[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3Ahatnote%7CHatnote%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:hatnote|Template:Hatnote|this template}} in articles{{#ifeq:{{safesubst:#switch: {{{based}}} |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:hatnote|its|this}} TemplateData}}. |
none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3Ahatnote%7CHatnote%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: {{{based}}} |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:hatnote|its|this}} TemplateData}} |
For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3Ahatnote%7CHatnote%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report] for {{#if:hatnote|Template:Hatnote|Template:Template link}}{{#ifeq:{{safesubst:#switch: {{{based}}} |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:hatnote|its|this}} TemplateData}}. |
#default=TPU{{#ifeq:{{safesubst:#switch: {{{based}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:hatnote|its|this}} TemplateData}} }} |
#default = {{#switch:TPU | =[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3Ahatnote%7CHatnote%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:hatnote|Template:Hatnote|this template}} in articles{{#ifeq:{{safesubst:#switch: {{{based}}} |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:hatnote|its|this}} TemplateData}}. |
none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3Ahatnote%7CHatnote%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: {{{based}}} |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:hatnote|its|this}} TemplateData}} |
For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3Ahatnote%7CHatnote%7CTemplate+link%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report] for {{#if:hatnote|Template:Hatnote|Template:Template link}}{{#ifeq:{{safesubst:#switch: {{{based}}} |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:hatnote|its|this}} TemplateData}}. |
#default=TPU{{#ifeq:{{safesubst:#switch: {{{based}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:hatnote|its|this}} TemplateData}} }} }} |
{{tfd links|Hatnote}}
|
Template:Hatnote (talk · history · transclusions · logs · subpages) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{tetl|Hatnote}}
|
{{Hatnote{{#if: | |{{{2}}} }}{{#if: | |{{{3}}} }}{{#if: | |{{{4}}} }}{{#if: | |etc. }}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{tsetl|Hatnote}}
|
{{subst:Hatnote{{#if: | |{{{2}}}}}{{#if: | |{{{3}}}}}{{#if: | |{{{4}}}}}{{#if: | |etc.}}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{ti|Hatnote}}
|
Template:Hatnote (talk⧼dot-separator⧽links⧼dot-separator⧽edit) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{tic|Hatnote}}
|
Template:Hatnote (talk links edit) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{tiw|Hatnote}}
|
{{#if: | [[:{{#if:Hatnote|Hatnote:|}}Template:{{{2}}}]] ([[:{{#if:Hatnote|Hatnote:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:Hatnote:Template:{{{2}}}|action=edit}} edit]){{SAFESUBST:#if:([[:{{#if:Hatnote|Hatnote:|}}Special:Whatlinkshere/Template:{{{2}}}|backlinks]] [{{fullurl:Hatnote:Template:{{{2}}}|action=edit}} edit]) | }} | Template:Hatnote (backlinks edit){{SAFESUBST:#if:(backlinks edit) | }}
}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{tlt|Hatnote}}
|
{{Hatnote}} (talk) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{ttl|Hatnote}}
|
Template:Hatnote (links, talk) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{twlh|Hatnote}}
|
Template:Hatnote (links, talk) |
{{safesubst:#if:{{safesubst:#ifeq:Templat|sandbox|1}}{{safesubst:#ifeq:Template link|doc|1}}|| }}
- Pages with script errors
- Noindexed pages
- Indexed pages
- Pages with broken file links
- Documentation subpages without corresponding pages
- Templates using TemplateData
- Pages using small with an empty input parameter
- Pages using xtag template with unsupported tag name
- Templates for merging
- Internal template-link templates
- Variadic templates