Difference between revisions of "Template:Infobox:Base"

From Cantr II Wiki
Jump to: navigation, search
(Increased upper edge of the table.)
m
 
Line 1: Line 1:
<includeonly><table class="toccolours" style="margin:10px 0px 5px 10px; text-align:center; padding:4px; width:{{{width|250}}}px;" cellpadding="0px" cellspacing="0px" align="right"><tr><td>{{{content|CONTENT ERROR}}}</td></tr></table></includeonly><noinclude>{{Doc}}[[Category:Meta-Templates|{{PAGENAME}}]]</noinclude>
+
<includeonly><table class="toccolours" style="margin:10px 0px 5px 10px; text-align:center; padding:4px; width:{{{width|250}}}px;" cellpadding="0px" cellspacing="0px" align="right"><tr><td>{{{content|CONTENT ERROR}}}</td></tr></table></includeonly><noinclude>{{Doc}}[[Category:Meta-Templates|!{{PAGENAME}}]]</noinclude>

Latest revision as of 11:02, 7 May 2010

Template documentation[ view ] [ discuss ] [edit]

{{Infobox:Base}} is a meta-template, ie a template for creating templates.

Usage

Put the following code in the template being designed.

{{Infobox:Base
| width   =
| content =
}}

The width parameter is not mandatory. But it is advisable to specify this. The default is "250".

You can complete the parameter content including other templates, such as Template:Infobox:Header, Template:Infobox:Section and Template:Infobox:SectionList to create templates.

See also