This template defines the table "Infobox". View table. A replacement table has been generated for this table; View replacement table.
- The following documentation is transcluded from Template:Infobox/doc (edit):
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:
Engineering Kit - Firearms Engineering Mk IV
Uncommon Template Demo Kit
Bind On Pickup
Lt. Commander
KDF Engineer, Starfleet Engineer
Values do not reflect skills or other modifiers
Quick Fix 1
Cure Mechanical Debuffs
- 24 Hit Points to Fabrications
- 25% chance: to self: AICommand
- to target: Applies Quick Fix Applied for 12 sec
- Removes up to 1 effects
- +9% All Damage strength to Ranged Weapons for 12 sec
- +9% All Damage resistance to Fabrication for 6 sec
Weapons Malfunction 1
Expose Attack
Disable Weapons
50% chance: to self: AICommand
to target: Enables Ranged_Offline mode for 9 sec
to target: Enables Ranged_Offline mode for 3 sec
{{infobox | name = Engineering Kit - Firearms Engineering Mk IV | rarity = uncommon | type = Template Demo Kit | bind = Pickup | rank = Lt. Commander | who = KDF Engineer, Starfleet Engineer |normalized= yes | head1 = Quick Fix 1 | text1 = Cure Mechanical Debuffs :24 Hit Points to Fabrications :25% chance: to self: AICommand :to target: Applies Quick Fix Applied for 12 sec ::Removes up to 1 effects :+9% All Damage strength to Ranged Weapons for 12 sec :+9% All Damage resistance to Fabrication for 6 sec | head2 = Weapons Malfunction 1 | subhead2 = Expose Attack | text2 = Disable Weapons :50% chance: to self: AICommand :to target: Enables Ranged_Offline mode for 9 sec :to target: Enables Ranged_Offline mode for 3 sec | cost = 2285 | unit = EC }}
- 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 "}}": <noinclude>|nocat=yes</noinclude><includeonly>|nocat={{{nocat|}}}</includeonly>
- Example of adding the nocat line below the cost and unit parameters:
| cost = 2285 | unit = EC <noinclude>|nocat=yes</noinclude><includeonly>|nocat={{{nocat|}}}</includeonly>}}
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 12 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.