From MeritBadgeDotOrg
(Difference between revisions)
|
m |
| (9 intermediate revisions not shown.) |
| Line 1: |
Line 1: |
| - | :<div class="noprint">''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}} | + | :<div class="noprint">''Main article: [[{{{1}}}]]''</div><noinclude> |
| - | |{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
| + | {{{{PAGENAME}}/doc}} |
| - | |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
| + | {{Protected maintenance lock|{{PAGENAME}}}} |
| - | |{{#if:{{{5|}}}|, |, and }}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
| + | |
| - | |{{#if:{{{6|}}}|, |, and }}[[{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}}
| + | |
| - | |{{#if:{{{7|}}}|, |, and }}[[{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}}
| + | |
| - | |{{#if:{{{8|}}}|, |, and }}[[{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}}
| + | |
| - | |{{#if:{{{9|}}}|, |, and }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
| + | |
| - | |{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
| + | |
| - | |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|  (too many parameters in {{[[Template:main|main]]}})}}</div><noinclude>
| + | |
| - | {{protected template}}
| + | |
| - | {{template doc}}
| + | |
| | </noinclude> | | </noinclude> |
Current revision
Main article: [[{{{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. It should not be used at the top of an article to link to its parent topic. Such links should be a natural part of the article lead.
Example
{{main|var1}}
- "var1" = the name of the main article being referred