Editing Template:Mainarticle
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><span class="noexcerpt">:''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}]]{{#if:{{{2|}}}|{{#if:{{{3|}}}|,| and}} [[{{{2}}}]]}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|,| and}} [[{{{3}}}]]}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|,| and}} [[{{{4}}}]]}}{{#if:{{{5|}}}|, and [[{{{5}}}]]}}''{{#if:{{{6|}}}| <span class="error">(Error: Too many parameters)</span>}}</span></includeonly><noinclude> | ||
= Documentation = | = Documentation = | ||
When articles become too large, subarticles are usually created. This template creates a standardized link back to the parent article(s). | When articles become too large, subarticles are usually created. This template creates a standardized link back to the parent article(s). | ||
| Line 6: | Line 6: | ||
<pre> | <pre> | ||
{{mainarticle|Article 1}} | {{mainarticle|Article 1}} | ||
</pre> | </pre> | ||
| Line 24: | Line 18: | ||
|- | |- | ||
| <pre>{{mainarticle|Article}}</pre> || :''Main article: [[Article]]'' | | <pre>{{mainarticle|Article}}</pre> || :''Main article: [[Article]]'' | ||
|- | |- | ||
| <pre>{{mainarticle|Article1|Article2|Article3}}</pre> || :''Main articles: [[Article1]], [[Article2]] and [[Article3]]'' | | <pre>{{mainarticle|Article1|Article2|Article3}}</pre> || :''Main articles: [[Article1]], [[Article2]] and [[Article3]]'' | ||