Difference between revisions of "Template:Infobox:Base"

From Cantr II Wiki
Jump to: navigation, search
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="toccolours" style="margin:0px 0px 5px 10px; text-align:center; padding:4px;" cellpadding="0px" cellspacing="0px" align="right"><tr><td>{{{contenido|ERROR CONTENIDO BASE}}}</td></tr></table>
+
<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>
<noinclude>{{Doc}}[[Category:Meta-Plantillas|{{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