Difference between revisions of "Template:Infobox"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 2: Line 2:
 
! colspan="2" class="title"  | {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}}}}
 
! colspan="2" class="title"  | {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}}}}
 
{{#if: {{{image|}}}
 
{{#if: {{{image|}}}
| {{Infobox/row
+
| {{!-}}
    |data={{articleimage|{{{image|}}}|{{{imagecaption|Image for article: {{PAGENAME}}}}}|nocat={{{nocat|false}}}}}
+
  {{!}} colspan="2" class="image" {{!}} {{articleimage|{{{image|}}}|{{{imagecaption|Image for article: {{PAGENAME}}}}}|nocat={{{nocat|false}}}}}
    }}
+
 
}}
 
}}
 
{{Infobox/row
 
{{Infobox/row

Revision as of 12:51, 17 November 2012


  This article is a stub [list all]. You can help the Twinsuniverse by expanding it.
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

...