Template:Main: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
m (Text replacement - "[[{{{" to "[[:{{{")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div role="note" class="noprint" style="margin:0 0 0.5em 1.6em; font-style:italic">Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
<div role="note" class="noprint" style="margin:0 0 0.5em 1.6em; font-style:italic">Main article{{#if:{{{2|}}}|s}}: [[:{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
   |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
   |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[:{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
   |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
   |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[:{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
   |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
   |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[:{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
   |{{#if:{{{6|}}}|,&#32;|,&#32;and&#32;}}[[{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}}
   |{{#if:{{{6|}}}|,&#32;|,&#32;and&#32;}}[[:{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}}
   |{{#if:{{{7|}}}|,&#32;|,&#32;and&#32;}}[[{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}}
   |{{#if:{{{7|}}}|,&#32;|,&#32;and&#32;}}[[:{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}}
   |{{#if:{{{8|}}}|,&#32;|,&#32;and&#32;}}[[{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}}
   |{{#if:{{{8|}}}|,&#32;|,&#32;and&#32;}}[[:{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}}
   |{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
   |{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[:{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
   |{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
   |{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[:{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
   |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div><noinclude>
   |, and [[:{{{10}}}|{{{l10|{{{10}}}}}}]]}}{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div><noinclude>
==Usage==
==Usage==
When articles become too large, subarticles are usually created. This template is used to mark the section of the "Main" article that was separated to add a link to the new article. To use this template, place '''<nowiki>{{Main|<article name>}}</nowiki>''', replacing <article name> with the article's name.
When articles become too large, subarticles are usually created. This template is used to mark the section of the "Main" article that was separated to add a link to the new article. To use this template, place '''<nowiki>{{Main|<article name>}}</nowiki>''', replacing <article name> with the article's name.


[[Category:General wiki templates|{{PAGENAME}}]]</noinclude>
[[Category:General wiki templates]]</noinclude>

Latest revision as of 12:37, June 2, 2023

Main article: [[:{{{1}}}|{{{1}}}]]

Usage

When articles become too large, subarticles are usually created. This template is used to mark the section of the "Main" article that was separated to add a link to the new article. To use this template, place {{Main|<article name>}}, replacing <article name> with the article's name.