Difference between revisions of "Template:Infobox"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly><table class="infobox {{{class|}}}" border="0" cellpadding="0" cellspacing="0">
+
<includeonly><table class="infobox {{#if:{{{float|}}}|side}} {{{class|}}}" border="0" cellpadding="0" cellspacing="0">
 
{{Infobox/row
 
{{Infobox/row
 
     |header={{{title|{{PAGENAME}}}}}
 
     |header={{{title|{{PAGENAME}}}}}
Line 166: Line 166:
 
==Parameters==
 
==Parameters==
 
* '''title''':
 
* '''title''':
 +
* '''float''': yes/no
 
* '''class''': land="Location", life="Character", item="Inventory Item", link="External Link", bugs="Bug / Glitch", fare="Transport", play="Challenge", army="Enemy"
 
* '''class''': land="Location", life="Character", item="Inventory Item", link="External Link", bugs="Bug / Glitch", fare="Transport", play="Challenge", army="Enemy"
 
* '''image''':
 
* '''image''':

Revision as of 00:06, 25 November 2012

This template is used to show an infobox for an article. It should be the first of the article, before the general description. This template uses it's Row subpage for rendering title, optional article image, and 30 optional rows of custom data.

Parameters

  • title:
  • float: yes/no
  • class: land="Location", life="Character", item="Inventory Item", link="External Link", bugs="Bug / Glitch", fare="Transport", play="Challenge", army="Enemy"
  • image:
  • imagecaption:
  • noimage:
  • nocat:

...

Syntax

Copy and paste the following for quick use:

{{infobox
 |class=
 |image=
 |imagecaption=
}}

Example

...