Template:Infobox/doc

This is the new and improved Infobox template, only to be used for in-game pop-up tooltip information, not the detailed information that appears when you right-click an item and click "Info".

Example
Template in action:


 * [[Image:icon-warning-22x22.png|Attention]] To enable pop-up on mouseover or reduce text on main article, infobox can be added as a subpage (e.g. Phaser Beam Array/Info). Same parameters are used like in the example above, but since they automatically add pages to various categories, we want to exclude the infobox subpage itself from appearing there. That can be done by adding the modified nocat parameter before the template's closing brackets "}}": |nocat=yes |nocat=


 * Example of adding the nocat line below the cost and unit parameters:

|nocat=yes |nocat= }}
 * cost = 2285
 * unit = EC

There's a lot to cover up there, but I'll list all the variables below. For now, let's see what this brings up, and then I'll explain why:

Variables

 * name (required) - This is the complete name of the item (e.g. "Phaser Beam Array Mk II", "Engineering Kit - Firearms Engineering Mk IV")
 * rarity - This is the rarity level of the item. Choose from: common, uncommon, rare, veryrare/very rare, ultrarare/ultra rare, epic, or unique. If omitted, "common" is the default value.
 * type (required) - This is the type of item, and is displayed below the item name, after the rarity type (e.g. "Kit", "Starship Console", "Personal Shield" — must be capitalized like so)
 * consumed - Whether or not the item is Consumed On Use. Must be yes or no (not y or n). If omitted, the default value no will be used. If yes, the text Consumed On Use will be displayed.
 * bind - How the item binds, if it does at all. Must be capitalized (e.g. "Equip", "Pickup").
 * acctbind - Account bind type, i.e. whether the item binds to an individual character or an account.
 * equiplimit - Whether or not an item can only be equipped once on a character. Distinct from Unique below.
 * unique - Whether or not this item is Unique (i.e. limited to one per character). Must be either yes or no. If omitted, no is used. Distinct from the Unique rarity above.
 * salvageable - Whether or not this item can be salvaged. Must be either yes or no. If omitted, no is used.
 * rank - The minimum required rank of the player in order to use/consume/equip this item. This will be displayed in right-aligned text above the header and/or description text. If omitted, it will remain blank.
 * who - The types of officers that can use/equip this item (e.g. "KDF Engineer, Starfleet Engineer"), or type of ship that can used this item (e.g. "Battlecruiser, Dreadnought Cruiser").
 * ttext - The "title text" that sometimes comes after the "binding" and "rank" text, but before the "normalized" portion.
 * normalized - Whether or not this item has normalized numbers (i.e. the values do not reflect skills or other modifiers). Must be either yes or no. If omitted, no is used.
 * head1 - The first header text.
 * subhead1 - Any yellow subheading under head1
 * text1 (required) - This is the main text of the item's description, and can be indented as shown above. The first line of text comes right after the equal sign (=), but anything thereafter can include new lines and the ":" indentation wiki code.
 * You can include up to 9 head/subhead/text sets.
 * Anything in bold wiki code will be shown in the blue color, reserved for abilities that the item offers, etc.
 * cost/value - The cost value of the item. Do not include commas, as numbers will be formatted in the template code. Either "cost" or "value" are acceptable parameter names.
 * unit - The unit of currency that the cost/value variable is in. Choose from any of the currency units. If omitted, it will default to (EC, or Energy Credits).
 * nocat - Whether or not the template will suppress automatically adding categories to the page it is used on. It is useful for sandboxes and examples.