Difference between revisions of "Template:Mainarticle"

From WikiRaider
Jump to: navigation, search
m
 
Line 10: Line 10:
 
  |{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
 
  |{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
 
  |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div></includeonly><noinclude>
 
  |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div></includeonly><noinclude>
Use the template <nowiki>{{mainarticle|}}</nowiki> to add the ''main article'' line to any parent article.</noinclude>
+
The '''Template Mainarticle''' serves to include the ''main article'' line to any parent article.
 +
 
 +
 
 +
This should be done whenever a subarticle is too long to be included in the parent article (e.g. A full list of anything from enemies to level builders, or the full story of a game...)
 +
 
 +
 
 +
Simply add <nowiki>{{mainarticle|"Name of the subarticle"}}</nowiki> at the appropriate spot.
 +
 
 +
 
 +
You can add more than one article in the mainarticle field (e.g. if you want to list the ''dangers'' in a game: traps, enemies and so on...) by simply adding them, separating them with |.
 +
Example: <nowiki>{{mainarticle|Tomb Raider Legend Enemies|Tomb Raider Legend Traps}}</nowiki>
 +
 
 +
 
 +
Up to 10 subarticles can be added.
 +
</noinclude>

Latest revision as of 15:43, 30 December 2010

The Template Mainarticle serves to include the main article line to any parent article.


This should be done whenever a subarticle is too long to be included in the parent article (e.g. A full list of anything from enemies to level builders, or the full story of a game...)


Simply add {{mainarticle|"Name of the subarticle"}} at the appropriate spot.


You can add more than one article in the mainarticle field (e.g. if you want to list the dangers in a game: traps, enemies and so on...) by simply adding them, separating them with |. Example: {{mainarticle|Tomb Raider Legend Enemies|Tomb Raider Legend Traps}}


Up to 10 subarticles can be added.