Template:About: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>:<span style="font-style:italic">This {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACE}}|Template=template|Category=category|Gallery=gallery|=article|page}}}} is {{#switch:{{NAMESPACE}}|Template|Category=for|Gallery=of|about}} {{{1}}}{{#rmatch:{{{1}}}|[.!?][\]']*$||.}} {{#fornumargs:key|value|{{#ifexpr:{{#var:key}} mod 2||For {{#var:value}}, see {{{{{#expr:{{#var:key}}+1}}|}}}{{#rmatch:{{{{{#expr:{{#var:key}}+1}}|}}}|[.!?][\]']*$||.}} <nowiki/>}}}}</span>{{#if:{{NAMESPACE}}||{{#if:{{{8|}}}|[[Category:Articles with too many About links]]}}}}</includeonly><noinclude>
<includeonly>:<span style="font-style:italic">This {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACENUMBER}}|0=article|6=file|10=template|14=category|102=gallery|page}}}} is {{#switch:{{NAMESPACENUMBER}}|6|102=of|10|14=for|about}} {{{1}}}{{#rmatch:{{{1}}}|[.!?][\]']*$||.}} {{#fornumargs:key|value|{{#ifexpr:{{#var:key}} mod 2||For {{#var:value}}, see {{{{{#expr:{{#var:key}}+1}}|}}}{{#rmatch:{{{{{#expr:{{#var:key}}+1}}|}}}|[.!?][\]']*$||.}} <nowiki/>}}}}</span>{{#if:{{NAMESPACE}}||{{#if:{{{6|}}}|[[Category:Articles with too many disambiguation links]]}}}}</includeonly><noinclude>
==Usage==
==Format==
===Format===
<pre>{{about|description of current page|description of linked page|[[Title of linked page]]}}</pre>
<pre>
{{about|description of current page|description of linked page|[[Title of linked page]]}}
</pre>


A <code>section=yes</code> parameter can be added to the template for use at the top of a section.
A <code>section=yes</code> parameter can be added to the template for use at the top of a section.


===Linking===
==Linking==
For the link parameter(s), always show the full name of the article, e.g. <code><nowiki>[[Mario Kart (series)]]</nowiki></code>.
For the link parameter(s), always show the full name of the article, e.g. <code><nowiki>[[Mario Kart (series)]]</nowiki></code>.


A piped-link is only appropriate when linking directly to an article section, e.g. <code><nowiki>[[Mario Kart (series)#Playable characters|Mario Kart (series) § Playable characters]]</nowiki></code>.
Use {{tem|section}} to link directly to an article section, e.g. <code><nowiki>{{section|Mario Kart (series)|List of playable characters}}</nowiki></code>.


Linking to four or more additional pages will tag the article in [[:Category:Articles with too many About links]], since at that point a disambiguation page should be created and linked instead.
Linking to three or more additional pages will tag the article in [[:Category:Articles with too many disambiguation links]], since at that point a disambiguation page should be created and linked to instead.


[[Category:Hatnote templates]]</noinclude>
[[Category:Hatnote templates]]</noinclude>

Latest revision as of 10:06, December 14, 2024

Format

{{about|description of current page|description of linked page|[[Title of linked page]]}}

A section=yes parameter can be added to the template for use at the top of a section.

Linking

For the link parameter(s), always show the full name of the article, e.g. [[Mario Kart (series)]].

Use {{section}} to link directly to an article section, e.g. {{section|Mario Kart (series)|List of playable characters}}.

Linking to three or more additional pages will tag the article in Category:Articles with too many disambiguation links, since at that point a disambiguation page should be created and linked to instead.