Difference between revisions of "Template:Main"
m (Changed protection level of Template:Main: Highly visible template: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(Created page with "<noinclude> <div style="border: 2px solid black; background-color:wheat; margin:4px;padding:4px;"> '''<big>Documentation: {{BASEPAGENAME}}</big>''' The {{BASEPAGENAME}} is us...") |
||
| Line 1: | Line 1: | ||
| − | {{ | + | <noinclude> |
| − | {{ | + | <div style="border: 2px solid black; background-color:wheat; margin:4px;padding:4px;"> |
| − | < | + | '''<big>Documentation: {{BASEPAGENAME}}</big>''' |
| − | </noinclude> | + | |
| + | The {{BASEPAGENAME}} is used to add an item showing where more information can be found on a subject. It is mostly used for "portal" pages where topics are split due to page length, such as [[M6]]. | ||
| + | |||
| + | To use this template, copy the code below, replacing anything within <tags> as appropriate. | ||
| + | <div style="border: 1px dashed black; background-color:white; margin:2px;padding:4px;font-family:Courier,system;"> | ||
| + | {{ {{BASEPAGENAME}} | <pagename> }} | ||
| + | </div> | ||
| + | '''<pagename>''' - The name of the main article page.<br/> | ||
| + | </div> | ||
| + | |||
| + | |||
| + | [[Category:Templates]] | ||
| + | |||
| + | |||
| + | </noinclude><includeonly><div style="margin-left:20px;">''Main Article: [[{{{1}}}]]''</div></includeonly> | ||
Revision as of 20:42, 5 October 2015
Documentation: Main
The Main is used to add an item showing where more information can be found on a subject. It is mostly used for "portal" pages where topics are split due to page length, such as M6.
To use this template, copy the code below, replacing anything within <tags> as appropriate.
{{ Main | <pagename> }}
<pagename> - The name of the main article page.