Difference between revisions of "Template:Infobox"
From Twinsuniverse
J McKalling (Talk | contribs) m |
J McKalling (Talk | contribs) m (Somehow it isn't possible to pass around final variables... sounds logical) |
||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{ | ||
− | #var_final: infobox_messages | }}{{ | + | #var_final: infobox_messages | }}{{ |
+ | #var_final: maintenance_message | | ||
}}<table class="infobox {{#if:{{{float|}}}|side}} {{{class|}}}" border="0" cellpadding="0" cellspacing="0"> | }}<table class="infobox {{#if:{{{float|}}}|side}} {{{class|}}}" border="0" cellpadding="0" cellspacing="0"> | ||
{{Infobox/row | {{Infobox/row | ||
Line 162: | Line 163: | ||
|class={{{class30|}}} | |class={{{class30|}}} | ||
}} | }} | ||
− | </table></includeonly><noinclude> | + | </table>{{#vardefine:maintenance_message |
+ | |{{maintenance|tasks={{#var:maintenance_message}}}} | ||
+ | }}</includeonly><noinclude> | ||
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 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 [[Template:infobox/row|Row]] subpage for rendering title, optional [[Template:Articleimage|article image]], and 30 optional rows of custom data. | This template uses it's [[Template:infobox/row|Row]] subpage for rendering title, optional [[Template:Articleimage|article image]], and 30 optional rows of custom data. |
Revision as of 12:18, 9 December 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.
This article is a stub [list all]. You can help the Twinsuniverse by expanding it. |
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
...