Jump to content

Template:Main: Difference between revisions

From The Battle for Wesnoth Wiki
8680 (talk | contribs)
Implement a simple version of Wikipedia’s Template:Main.
 
8680 (talk | contribs)
Add documentation.
 
Line 1: Line 1:
<div style="padding-left: 1.6em; margin-bottom: .5em">''Main article: [[{{{1}}}]]''</div>
<div style="padding-left: 1.6em; margin-bottom: .5em">''Main article: [[{{{1}}}]]''</div><noinclude>
 
This is a simple version of Wikipedia’s [https://en.wikipedia.org/wiki/Template:Main Template:Main], to be used thus:
 
<nowiki>{{Main|Main Article}}</nowiki>
 
For example, this…
 
<nowiki>{{Main|StartingPoints}}</nowiki>
 
…would produce this:
 
{{Main|StartingPoints}}
</noinclude>

Latest revision as of 04:34, 24 January 2014

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

This is a simple version of Wikipedia’s Template:Main, to be used thus:

{{Main|Main Article}}

For example, this…

{{Main|StartingPoints}}

…would produce this:

Main article: StartingPoints