Jump to: navigation, search

Template:Infobox common: Difference between revisions

m (1 revision)
m (1 revision)
Line 1: Line 1:
<div class="notaninfobox">
<div class="infobox">
<div class="infobox-title mcwiki-header">{{{title|{{BASEPAGENAME}}}}}</div>
<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}}
{{Template:Infobox common/doc}}
 
[[Category:Infobox templates|I]]
[[Category:Formatting templates|I]]
</noinclude>
</noinclude>

Revision as of 21:11, 26 January 2014

Infobox common
{{{rows}}}
Template-info.png Documentation

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


Cookies help us deliver our services. By using our services, you agree to our use of cookies.