Template:Infobox common: Difference between revisions
m (1 revision) |
Mastergalen (talk | contribs) m (1 revision) |
||
Line 1: | Line 1: | ||
<div class=" | <div class="infobox"> | ||
<div class="infobox-title | <div class="infobox-title tswiki-header">{{{title|{{BASEPAGENAME}}}}}</div> | ||
{{#if:{{{imagearea|}}}|<div class="infobox-imagearea">{{{imagearea|}}}</div>}} | {{#if:{{{imagearea|}}}|<div class="infobox-imagearea">{{{imagearea|}}}</div>}} | ||
{| cellspacing="1px" cellpadding="4px" class="alternaterows" | {| cellspacing="1px" cellpadding="4px" class="alternaterows" | ||
Line 8: | Line 8: | ||
{{!}} colspan="2" class="infobox-footer" {{!}}{{{footer|}}}}} | {{!}} colspan="2" class="infobox-footer" {{!}}{{{footer|}}}}} | ||
|} | |} | ||
</div> | </div><noinclude> | ||
<noinclude> | {{doc}} | ||
{{ | |||
[[Category: | [[Category:Formatting templates|I]] | ||
</noinclude> | </noinclude> |
Revision as of 21:11, 26 January 2014
Infobox common
{{{rows}}}
Usage
This is a skeleton for infoboxes, for use in other infobox templates or standalone.
{{infobox common | title = box title, defaults to page's name | imagearea = optional blank canvas for images/elements before tabular data | rows = all rows go here using {{infobox row}} | footer = optional centered footer that goes across both columns }}
The above documentation is transcluded from Template:Infobox common/doc. (edit | history)