Difference between revisions of "Template:Infobox"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 3: Line 3:
 
     |header={{{title|{{PAGENAME}}}}}
 
     |header={{{title|{{PAGENAME}}}}}
 
     |class=title
 
     |class=title
}}{{Infobox/row
+
}}{{
    |data={{articleimage | {{{image|}}} | {{{imagecaption|Image for article: {{PAGENAME}}}}} | nocat={{{nocat|false}}} }}
+
    #ifeq: {{{noimage|false}}} | false
    |class=image
+
    |{{Infobox/row
 +
        |data={{articleimage | {{{image|}}} | {{{imagecaption|Image for article: {{PAGENAME}}}}} | nocat={{{nocat|false}}} }}
 +
        |class=image}}
 
}}{{Infobox/row
 
}}{{Infobox/row
 
     |header={{{header1|}}}
 
     |header={{{header1|}}}

Revision as of 21:18, 19 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.

Parameters

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

...

Syntax

Copy and paste the following for quick use:

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

Example

...