Difference between revisions of "Template:Infobox Item"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 13: Line 13:
 
* '''effect''': The effect this item has on [[Twinsen]] or his environment (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/effect|effect]] subpage)
 
* '''effect''': The effect this item has on [[Twinsen]] or his environment (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/effect|effect]] subpage)
 
* '''effectamount''': A specific amount for the above effect (case insensitive, defaults to no specific value, see the [[Template:{{PAGENAME}}/effect|effect]] subpage)
 
* '''effectamount''': A specific amount for the above effect (case insensitive, defaults to no specific value, see the [[Template:{{PAGENAME}}/effect|effect]] subpage)
 +
* '''purpose''': A short phrase about the item's (special) purpose if it has one (case sensitive, defaults to not displayed)
 
* '''combattype''': What kind of combat this (weapon) item targets, enemies, area, etc. (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/combattype|combattype]] subpage)
 
* '''combattype''': What kind of combat this (weapon) item targets, enemies, area, etc. (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/combattype|combattype]] subpage)
 
* '''powerlevel''': What level of power does this item have, yellow, green, red, etc. (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/powerlevel|powerlevel]] subpage)
 
* '''powerlevel''': What level of power does this item have, yellow, green, red, etc. (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/powerlevel|powerlevel]] subpage)
Line 39: Line 40:
 
  |effect=
 
  |effect=
 
  |effectamount=
 
  |effectamount=
 +
|purpose=
 
  |combattype=
 
  |combattype=
 
  |powerlevel=
 
  |powerlevel=
Line 85: Line 87:
 
  |data9=<includeonly>{{Infobox Item/effect|{{{effect|}}}|amount={{{effectamount|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/effect|costs magic|amount=one|nocat=true}}</noinclude>
 
  |data9=<includeonly>{{Infobox Item/effect|{{{effect|}}}|amount={{{effectamount|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/effect|costs magic|amount=one|nocat=true}}</noinclude>
  
  |header10=Combat
+
  |label10=Purpose
  |class10=subtitle
+
  |data10={{{purpose|<noinclude>Remote control, key magnet</noinclude>}}}
  
  |label11=Combattype
+
  |header11=Combat
  |data11=<includeonly>{{Infobox Item/combattype|{{{combattype|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/combattype|enemies|nocat=true}}</noinclude>
+
  |class11=subtitle
  
  |label12=Powerlevel
+
  |label12=Combattype
  |data12=<includeonly>{{Infobox Item/powerlevel|{{{powerlevel|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/powerlevel|all|nocat=true}}</noinclude>
+
  |data12=<includeonly>{{Infobox Item/combattype|{{{combattype|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/combattype|enemies|nocat=true}}</noinclude>
  
  |label13=Rate
+
  |label13=Powerlevel
  |data13=<includeonly>{{Infobox Item/rate|{{{rate|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/rate|varies|nocat=true}}</noinclude>
+
  |data13=<includeonly>{{Infobox Item/powerlevel|{{{powerlevel|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/powerlevel|all|nocat=true}}</noinclude>
  
  |label14=Range
+
  |label14=Rate
  |data14=<includeonly>{{Infobox Item/range|{{{range|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/range|varies|nocat=true}}</noinclude>
+
  |data14=<includeonly>{{Infobox Item/rate|{{{rate|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/rate|varies|nocat=true}}</noinclude>
  
  |label15=Damage
+
  |label15=Range
  |data15=<includeonly>{{Infobox Item/damage|{{{damage|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/damage|varies|nocat=true}}</noinclude>
+
  |data15=<includeonly>{{Infobox Item/range|{{{range|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/range|varies|nocat=true}}</noinclude>
 +
 
 +
|label16=Damage
 +
|data16=<includeonly>{{Infobox Item/damage|{{{damage|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/damage|varies|nocat=true}}</noinclude>
 
}}<noinclude>
 
}}<noinclude>
 
  <nowiki>{{Infobox Item
 
  <nowiki>{{Infobox Item
Line 116: Line 121:
 
  |effect=costs magic
 
  |effect=costs magic
 
  |effectamount=one
 
  |effectamount=one
 +
|purpose=Remote control, key magnet
 
  |combattype=enemies
 
  |combattype=enemies
 
  |powerlevel=all
 
  |powerlevel=all

Revision as of 11:42, 27 December 2012

This template is used as an infobox in items' articles. It should be the first of the article, before the general description.

Parameters

  • title: An optional title to display at the top of the infobox (case sensitive, defaults to {{PAGENAME}})
  • image: An image filename of the item (case sensitive, defaults to empty image, see Template:Articleimage)
  • type: The type of the item; equipment, tool, weapon etc. (case insensitive, defaults to "unknown", see the type subpage)
  • critical: Whether this item is critical to the default storyline; yes, no or acquired (case insensitive, defaults to "unknown", see the critical subpage)
  • magical: Whether the item is magical; yes or no (case insensitive, defaults to "unknown", see the magical subpage)
  • unique: Whether the item can be found only once during an adventure (case insensitive, defaults to "unknown", see the unique subpage)
  • lba1, lba2 and lba3: Whether the item is encountered in said adventure (defaults to "no", see the adventure subpage)
  • upgrades: Whether this item can upgrade into a more powerful or completed state; yes, no or final (case insensitive, defaults to "unknown", see the upgrades subpage)
  • rowposition and columnposition: The position of the item in the inventory if it has one (positive numeric, defaults to "unknown", see the position subpage)
  • effect: The effect this item has on Twinsen or his environment (case insensitive, defaults to "unknown", see the effect subpage)
  • effectamount: A specific amount for the above effect (case insensitive, defaults to no specific value, see the effect subpage)
  • purpose: A short phrase about the item's (special) purpose if it has one (case sensitive, defaults to not displayed)
  • combattype: What kind of combat this (weapon) item targets, enemies, area, etc. (case insensitive, defaults to "unknown", see the combattype subpage)
  • powerlevel: What level of power does this item have, yellow, green, red, etc. (case insensitive, defaults to "unknown", see the powerlevel subpage)
  • rate:
  • range:
  • damage:
  • nocat: Whether or not to suppress categorization under all the chosen categories (defaults to false, which means auto categorization).


  This article is a stub [list all]. You can help the Twinsuniverse by expanding it.

Note: The article is automatically categorized under Category:Articles without an image if no filename was specified, or Category:Articles with a missing image if the specified filename doesn't exist. The nocat parameter will also suppress these.

Syntax

Copy and paste the following for quick use:

{{Infobox Item
 |image=
 |type=
 |critical=
 |magical=
 |unique=
 |lba1=
 |lba2=
 |upgrades=
 |rowposition=
 |columnposition=
 |effect=
 |effectamount=
 |purpose=
 |combattype=
 |powerlevel=
 |rate=
 |range=
 |damage=
}}

Example

On a page called "Magic Ball":

Magic Ball

The image "Yellow Ball.gif" is missing or has no description page

Type

Weapon [list all]

Critical

Yes [list all]

Magical

Yes [list all]

Unique

Yes [list all]

Adventure

Multiple: [list all]

Item
Upgrades

Yes [list all]

Position

Row 1 [list all] Column 1 [list all]

Effect

unknown [list all] (one)

Purpose

Remote control, key magnet

Combat
Combattype

Enemy Targets [list all]

Powerlevel

All Magic Levels [list all]

Rate

unknown [list all]

Range

unknown [list all]

Damage

unknown [list all]

{{Infobox Item
 |image=Yellow Ball.gif
 |type=weapon
 |critical=yes
 |magical=yes
 |unique=yes
 |lba1=yes
 |lba2=yes
 |upgrades=yes
 |rowposition=1
 |columnposition=1
 |effect=costs magic
 |effectamount=one
 |purpose=Remote control, key magnet
 |combattype=enemies
 |powerlevel=all
 |rate=varies
 |range=varies
 |damage=varies
}}

example paragraph: Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball. Description text about the item, in this case the Magic Ball.