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"  | {{PAGENAME}}
+
! colspan="2" class="title"  | {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}}}}
|-
+
{{#if: {{{image|}}}
| colspan="2" class="image" | {{articleimage|{{{image|}}}|{{{imagetitle|Image for article: {{PAGENAME}}}}}|nocat={{{nocat|false}}}}}
+
| {{Infobox/row
|-
+
    |data={{articleimage|{{{image|}}}|{{{imagecaption|Image for article: {{PAGENAME}}}}}|nocat={{{nocat|false}}}}}
! Head1
+
    }}
| {{header}}
+
}}
|-
+
{{Infobox/row
! Head2
+
    |header={{{header1|}}}
| {{header}}
+
    |label={{{label1|}}}
|-
+
    |data={{{data1|}}}
! Head3
+
    |class={{{class1|}}}
| {{header}}
+
}}
|-
+
{{Infobox/row
! Head4
+
    |header={{{header2|}}}
| {{header}}
+
    |label={{{label2|}}}
|-
+
    |data={{{data2|}}}
! colspan="2" class="subtitle" | Subtitle
+
    |class={{{class2|}}}
|-
+
}}
! Head5
+
{{Infobox/row
| {{header}}
+
    |header={{{header3|}}}
|-
+
    |label={{{label3|}}}
! Head6
+
    |data={{{data3|}}}
| {{header}}
+
    |class={{{class3|}}}
|-
+
}}
! Head7
+
{{Infobox/row
| {{header}}
+
    |header={{{header4|}}}
|-
+
    |label={{{label4|}}}
! Head8
+
    |data={{{data4|}}}
| {{header}}
+
    |class={{{class4|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header5|}}}
 +
    |label={{{label5|}}}
 +
    |data={{{data5|}}}
 +
    |class={{{class5|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header6|}}}
 +
    |label={{{label6|}}}
 +
    |data={{{data6|}}}
 +
    |class={{{class6|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header7|}}}
 +
    |label={{{label7|}}}
 +
    |data={{{data7|}}}
 +
    |class={{{class7|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header8|}}}
 +
    |label={{{label8|}}}
 +
    |data={{{data8|}}}
 +
    |class={{{class8|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header9|}}}
 +
    |label={{{label9|}}}
 +
    |data={{{data9|}}}
 +
    |class={{{class9|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header10|}}}
 +
    |label={{{label10|}}}
 +
    |data={{{data10|}}}
 +
    |class={{{class10|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header11|}}}
 +
    |label={{{label11|}}}
 +
    |data={{{data11|}}}
 +
    |class={{{class11|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header12|}}}
 +
    |label={{{label12|}}}
 +
    |data={{{data12|}}}
 +
    |class={{{class12|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header13|}}}
 +
    |label={{{label13|}}}
 +
    |data={{{data13|}}}
 +
    |class={{{class13|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header14|}}}
 +
    |label={{{label14|}}}
 +
    |data={{{data14|}}}
 +
    |class={{{class14|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header15|}}}
 +
    |label={{{label15|}}}
 +
    |data={{{data15|}}}
 +
    |class={{{class15|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header16|}}}
 +
    |label={{{label16|}}}
 +
    |data={{{data16|}}}
 +
    |class={{{class16|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header17|}}}
 +
    |label={{{label17|}}}
 +
    |data={{{data17|}}}
 +
    |class={{{class17|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header18|}}}
 +
    |label={{{label18|}}}
 +
    |data={{{data18|}}}
 +
    |class={{{class18|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header19|}}}
 +
    |label={{{label19|}}}
 +
    |data={{{data19|}}}
 +
    |class={{{class19|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header20|}}}
 +
    |label={{{label20|}}}
 +
    |data={{{data20|}}}
 +
    |class={{{class20|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header21|}}}
 +
    |label={{{label21|}}}
 +
    |data={{{data21|}}}
 +
    |class={{{class21|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header22|}}}
 +
    |label={{{label22|}}}
 +
    |data={{{data22|}}}
 +
    |class={{{class22|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header23|}}}
 +
    |label={{{label23|}}}
 +
    |data={{{data23|}}}
 +
    |class={{{class23|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header24|}}}
 +
    |label={{{label24|}}}
 +
    |data={{{data24|}}}
 +
    |class={{{class24|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header25|}}}
 +
    |label={{{label25|}}}
 +
    |data={{{data25|}}}
 +
    |class={{{class25|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header26|}}}
 +
    |label={{{label26|}}}
 +
    |data={{{data26|}}}
 +
    |class={{{class26|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header27|}}}
 +
    |label={{{label27|}}}
 +
    |data={{{data27|}}}
 +
    |class={{{class27|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header28|}}}
 +
    |label={{{label28|}}}
 +
    |data={{{data28|}}}
 +
    |class={{{class28|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header29|}}}
 +
    |label={{{label29|}}}
 +
    |data={{{data29|}}}
 +
    |class={{{class29|}}}
 +
}}
 +
{{Infobox/row
 +
    |header={{{header30|}}}
 +
    |label={{{label30|}}}
 +
    |data={{{data30|}}}
 +
    |class={{{class30|}}}
 +
}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{Stub}}This template is used to show an infobox for an article. It should be the first of the article, before the general description.
 
{{Stub}}This template is used to show an infobox for an article. It should be the first of the article, before the general description.
Line 35: Line 192:
 
* '''class''': land="Location", life="Character", item="Inventory Item", link="External Link", bugs="Bug / Glitch", fare="Transport", play="Challenge", army="Enemy"
 
* '''class''': land="Location", life="Character", item="Inventory Item", link="External Link", bugs="Bug / Glitch", fare="Transport", play="Challenge", army="Enemy"
 
* '''image''':
 
* '''image''':
* '''imagetitle''':
+
* '''imagecaption''':
 
* '''nocat''':
 
* '''nocat''':
 
...
 
...
Line 45: Line 202:
 
  |class=
 
  |class=
 
  |image=
 
  |image=
  |imagetitle=
+
  |imagecaption=
 
}}</nowiki>
 
}}</nowiki>
  
Line 51: Line 208:
 
...
 
...
  
[[Category:Twinsuniverse - Templates]]
+
[[Category:System Templates]]
 
</noinclude>
 
</noinclude>

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

  • 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

...