Difference between revisions of "Template:Infobox"

From Twinsuniverse
Jump to: navigation, search
m
Line 1: Line 1:
 
<includeonly>{| class="infobox {{{class|}}} side" border="0" cellpadding="0" cellspacing="0"
 
<includeonly>{| class="infobox {{{class|}}} side" border="0" cellpadding="0" cellspacing="0"
! colspan="2" class="title" | {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}}}}
+
! colspan="2" class="title" | {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}}}}
{{#if: {{{image|}}}
+
!-
| {{!-}}
+
| colspan="2" class="image" | {{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
 
     |header={{{header1|}}}
 
     |header={{{header1|}}}

Revision as of 14:01, 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

...