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|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}} | |{{#if:{{{3|}}}|, | and }}[[:{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}} | ||
|{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}} | |{{#if:{{{4|}}}|, |, and }}[[:{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}} | ||
|{{#if:{{{5|}}}|, |, and }}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}} | |{{#if:{{{5|}}}|, |, and }}[[:{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}} | ||
|{{#if:{{{6|}}}|, |, and }}[[{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}} | |{{#if:{{{6|}}}|, |, and }}[[:{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}} | ||
|{{#if:{{{7|}}}|, |, and }}[[{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}} | |{{#if:{{{7|}}}|, |, and }}[[:{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}} | ||
|{{#if:{{{8|}}}|, |, and }}[[{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}} | |{{#if:{{{8|}}}|, |, and }}[[:{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}} | ||
|{{#if:{{{9|}}}|, |, and }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}} | |{{#if:{{{9|}}}|, |, and }}[[:{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}} | ||
|{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | |{{#if:{{{10|}}}|, |, and }}[[:{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | ||
|, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}{{#if:{{{11| }}}|  (too many parameters in {{[[Template:main|main]]}})}}</div><noinclude> | |, and [[:{{{10}}}|{{{l10|{{{10}}}}}}]]}}{{#if:{{{11| }}}|  (too many parameters in {{[[Template:main|main]]}})}}</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 | [[Category:General wiki templates]]</noinclude> |
Latest revision as of 12:37, June 2, 2023
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.