Difference between revisions of "Template:Infobox:Base/doc"

From Cantr II Wiki
Jump to: navigation, search
m (Also see)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''<nowiki>{{Infobox:Base}}}</nowiki>''' is a meta-template, ie a template for creating templates.
+
[[Template:Infobox:Base|<nowiki>{{Infobox:Base}}</nowiki>]] is a meta-template, ie a template for creating templates.
  
 
== Usage ==
 
== Usage ==
Line 7: Line 7:
 
<pre>
 
<pre>
 
{{Infobox:Base
 
{{Infobox:Base
 +
| width  =
 
| content =
 
| content =
 
}}
 
}}
 
</pre>
 
</pre>
  
You can complete the parameter <tt>content</tt> including other templates, such as [[Template:Infobox:Cabecera]], [[Template:Infobox:Seccion]] and [[Template:Infobox:SeccionLista]] to create templates.
+
The <tt>width</tt> parameter is not mandatory. But it is advisable to specify this. The default is "250".
 +
 
 +
You can complete the parameter <tt>content</tt> including other templates, such as [[Template:Infobox:Header]], [[Template:Infobox:Section]] and [[Template:Infobox:SectionList]] to create templates.
 +
 
 +
== See also ==
 +
* [[Template:Infobox:Header|<nowiki>{{Infobox:Header}}</nowiki>]]
 +
* [[Template:Infobox:Section|<nowiki>{{Infobox:Section}}</nowiki>]]
 +
* [[Template:Infobox:SectionList|<nowiki>{{Infobox:SectionList}}</nowiki>]]
 
<noinclude>[[Category:Documentation|{{PAGENAME}}]]
 
<noinclude>[[Category:Documentation|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:54, 7 May 2010

{{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