Template:About: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(too much spacing before text if a blank line follows, and a blank line should be allowed to follow) |
mNo edit summary |
||
(29 intermediate revisions by 3 users 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> | ||
[[Category:Notice | ==Usage== | ||
===Format=== | |||
<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. | |||
===Linking=== | |||
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>. | |||
Linking to at least four additional pages will tag the article in [[:Category:Articles with too many About links]], since at that point a disambiguation page should be used to keep the links to a maximum of three. | |||
[[Category:Notice templates]]</noinclude> |
Revision as of 08:31, May 11, 2024
Usage
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)]]
.
A piped-link is only appropriate when linking directly to an article section, e.g. [[Mario Kart (series)#Playable characters|Mario Kart (series) § Playable characters]]
.
Linking to at least four additional pages will tag the article in Category:Articles with too many About links, since at that point a disambiguation page should be used to keep the links to a maximum of three.