Difference between revisions of "Template:Infobox"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 163: Line 163:
 
}}
 
}}
 
</table>{{#vardefine:infobox_messages
 
</table>{{#vardefine:infobox_messages
     |{{#var:infobox_messages|}}{{maintenance|tasks={{#var:maintenance_message}}}}
+
     |{{#var:infobox_messages|}}{{maintenance|doclink={{{infoboxname|}}}|tasks={{#var:maintenance_message}}}}
 
}}</includeonly><noinclude>
 
}}</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.
Line 170: Line 170:
  
 
==Parameters==
 
==Parameters==
 +
* '''infoboxname''': The name of the infobox calling this template, for the link to documentation (case sensitive, defaults to no documentation link displayed)
 
* '''title''':
 
* '''title''':
 
* '''float''': yes/no
 
* '''float''': yes/no

Revision as of 22:04, 10 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

  • infoboxname: The name of the infobox calling this template, for the link to documentation (case sensitive, defaults to no documentation link displayed)
  • 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

...