Difference between revisions of "Template:Item infobox"
(211 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <includeonly>{| class="infobox" style="width:23em;" |
|
− | First, assign any normal user-supplied data to the appropriate vars. |
||
− | -->{{#if:{{{name|}}}|{{#vardefine:name|{{{name|}}} }}|}}<!-- |
||
− | -->{{#if:{{{type|}}}|{{#vardefine:type|{{{type|}}} }}|}}<!-- |
||
− | -->{{#if:{{{subtype|}}}|{{#vardefine:subtype|{{{subtype|}}} }}|}}<!-- |
||
− | -->{{#if:{{{slot|}}}|{{#vardefine:slot|{{{slot|}}} }}|}}<!-- |
||
− | -->{{#if:{{{level|}}}|{{#vardefine:level|{{{level|}}} }}|}}<!-- |
||
− | -->{{#if:{{{req_level|}}}|{{#vardefine:req_level|{{{req_level|}}} }}|}}<!-- |
||
− | -->{{#if:{{{armor|}}}|{{#vardefine:armor|{{{armor|}}} }}|}}<!-- |
||
− | -->{{#if:{{{speed|}}}|{{#vardefine:speed|{{{speed|}}} }}|}}<!-- |
||
− | -->{{#if:{{{desc|}}}|{{#vardefine:desc|{{{desc|}}} }}|}}<!-- |
||
− | |||
− | Next, query from data page variables by transcluding the page.-->{{#ask: {{#if: {{{datapage|}}} |
||
− | |[[{{{datapage|}}}]] |
||
− | |[[Has name::{{#if:{{{name|}}}|{{{name}}}|{{#titleparts:{{PAGENAME}} }} }}]] |
||
− | }} [[Category:Imported item data]] |
||
− | |format=template |
||
− | |template=Get data page |
||
− | |link=none |
||
− | |limit=1 |
||
− | }}<!-- |
||
− | |||
− | Now apply any user overrides by overwriting appropriate vars |
||
− | -->{{#if:{{{force_name|}}}|{{#vardefine:name|{{{force_name|}}} }}|}}<!-- |
||
− | -->{{#if:{{{force_type|}}}|{{#vardefine:type|{{{force_type|}}} }}|}}<!-- |
||
− | -->{{#if:{{{force_subtype|}}}|{{#vardefine:subtype|{{{force_subtype|}}} }}|}}<!-- |
||
− | -->{{#if:{{{force_slot|}}}|{{#vardefine:slot|{{{force_slot|}}} }}|}}<!-- |
||
− | -->{{#if:{{{force_level|}}}|{{#vardefine:level|{{{force_level|}}} }}|}}<!-- |
||
− | -->{{#if:{{{force_req_level|}}}|{{#vardefine:req_level|{{{force_req_level|}}} }}|}}<!-- |
||
− | -->{{#if:{{{force_armor|}}}|{{#vardefine:armor|{{{force_armor|}}} }}|}}<!-- |
||
− | -->{{#if:{{{force_speed|}}}|{{#vardefine:speed|{{{force_speed|}}} }}|}}<!-- |
||
− | -->{{#if:{{{force_desc|}}}|{{#vardefine:desc|{{{force_desc|}}} }}|}}<!-- |
||
− | |||
− | And now build the actual infobox--><div class="stdinfobox"> |
||
− | {| |
||
|- |
|- |
||
+ | ! colspan="2" style="padding-bottom:10px;"| <div class="wildstar" style="text-align:center; color:{{rarity|{{{rarity}}}}}; box-shadow:{{rarity|{{{rarity}}}}} 0 0.1em 0.3em; font-size:130%; padding:8px;">{{{name|{{BASEPAGENAME}}}}}</div><div style="padding-top: 8px;"> |
||
− | | colspan="2" class="wide" |<div class="title">[[Has name::{{#var:name|{{PAGENAME}} }}]]</div> |
||
|- |
|- |
||
+ | | colspan="2" style="text-align:center;" | {{#if:{{{image|}}}| [[File:{{{image}}}|48px|{{{name|{{BASEPAGENAME}}}}}]] | [[Category:Item pages needing images]] }} |
||
− | {{#if:{{#var:type}}| |
||
+ | {| style="width:95%; margin:auto; text-align:left;" |
||
− | ! Type |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
− | {{!}} [[Is of item type::{{#var:type}}]]}} |
||
+ | {{#if: {{{type|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{type}}} {{#if: {{{subtype|}}} | -{{{subtype}}} }} {{#if: {{{slot|}}} | - {{{slot}}} }} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{ilevel|}}} | |
||
+ | {{!}} Item Level: {{{ilevel}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{rlevel|}}} | |
||
+ | {{!}} Required Level: {{{rlevel}}} }} |
||
+ | |- style="font-size:89%; line-height:1em; color:#42DA00;" |
||
+ | {{#if: {{{class|}}} | |
||
+ | {{!}} Class: {{{class}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{bind|}}} | |
||
+ | {{!}} Bind {{#ifeq: {{lc:{{{bind|}}}}} | account | to | on }} {{{bind}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{unique|}}} | |
||
+ | {{!}} {{{unique}}} }} |
||
+ | |- style="font-size:89%; line-height:1em; color:#42DA00;" |
||
+ | {{#if: {{{tradeskill|}}} | |
||
+ | {{!}} colspan="2" {{!}} Requires {{{tradeskill}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{itype|}}} | |
||
+ | {{!}} Item Type: {{{itype|}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{stack|}}} | |
||
+ | {{!}} Max Stack: {{{stack}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{coords|}}} | |
||
+ | {{!}} colspan="2" {{!}} Coordinate Change (x,y): {{{coords}}} }} |
||
+ | |- style="font-size:89%;" line-height:1em;" |
||
+ | {{#if: {{{use|}}} | |
||
+ | {{!}} colspan="2" {{!}} Use: {{{use}}} }} |
||
|- |
|- |
||
+ | {{#if: {{{armor|}}}{{{assault|}}}{{{support|}}}{{{shield|}}}{{{special|}}} | |
||
− | {{#if:{{#var:subtype}}| |
||
+ | {{!}} colspan="2" {{!}} <hr> }} |
||
− | ! Subtype |
||
+ | |- style="font-size:120%; line-height:1em; color:#54AA80;" |
||
− | {{!}} [[Is of item subtype::{{#var:subtype}}]]}} |
||
+ | {{#if: {{{assault|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{assault}}} Assault Rating }} |
||
+ | |- style="font-size:120%; line-height:1em; color:#54AA80;" |
||
+ | {{#if: {{{support|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{support}}} Support Rating }} |
||
+ | |- style="font-size:120%; line-height:1em; color:#54AA80;" |
||
+ | {{#if: {{{armor|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{armor}}} Armor }} |
||
+ | |- style="font-size:120%; line-height:1em; color:#54AA80;" |
||
+ | {{#if: {{{health|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{health}}} Max Health }} |
||
+ | |- style="font-size:120%; line-height:1em; color:#54AA80;" |
||
+ | {{#if: {{{shield|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{shield}}} Max Shield }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{att1|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{att1|}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{att2|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{att2|}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{att3|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{att3|}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{att4|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{att4|}}} }} |
||
+ | |- style="font-size:89%; line-height:1em;" |
||
+ | {{#if: {{{att5|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{att5|}}} }} |
||
+ | |- style="font-size:89%;" |
||
+ | {{#if: {{{requirement|}}} | |
||
+ | {{!}} colspan="2" style="color:#3AB6D4; padding-left:10px;" {{!}} {{{requirement}}} }} |
||
+ | |- style="font-size:89%;" |
||
+ | {{#if: {{{special|}}} | |
||
+ | {{!}} colspan="2" {{!}} Special: {{{special}}} }} |
||
|- |
|- |
||
− | {{#if:{{# |
+ | {{#if: {{{imbuement1|}}} | {{#if: {{{rune1|}}} | |
+ | {{!}} colspan="2" {{!}} <hr> }} }} |
||
− | ! Slot |
||
+ | |- style="font-size:120%; color:#54AA80;" |
||
− | {{!}} [[Is in item slot::{{#var:slot}}]]}} |
||
+ | {{#if: {{{imbuement1|}}} | |
||
+ | {{!}} colspan="2" {{!}} Imbuement: }} |
||
+ | |- style="font-size:89%;" |
||
+ | {{#if: {{{imbuement1|}}} | |
||
+ | {{!}} colspan="2" {{!}} IMBUEMENT: {{{imbuement1|}}} }} |
||
+ | |- style="font-size:89%;" |
||
+ | {{#if: {{{imbuement2|}}} | |
||
+ | {{!}} colspan="2" {{!}} IMBUEMENT: {{{imbuement2|}}} }} |
||
+ | |- style="font-size:89%;" |
||
+ | {{#if: {{{imbuement3|}}} | |
||
+ | {{!}} colspan="2" {{!}} IMBUEMENT: {{{imbuement3|}}} }} |
||
+ | |- style="font-size:89%;" |
||
+ | {{#if: {{{imbuement4|}}} | |
||
+ | {{!}} colspan="2" {{!}} IMBUEMENT: {{{imbuement4|}}} }} |
||
+ | |- style="font-size:89%;" |
||
+ | {{#if: {{{imbuement5|}}} | |
||
+ | {{!}} colspan="2" {{!}} IMBUEMENT: {{{imbuement5|}}} }} |
||
+ | |- style="font-size:89%;" |
||
+ | {{#if: {{{imbuement6|}}} | |
||
+ | {{!}} colspan="2" {{!}} IMBUEMENT: {{{imbuement6|}}} }} |
||
|- |
|- |
||
− | {{#if:{{ |
+ | {{#if: {{{imbuement1|}}}{{{rune1|}}} | |
+ | {{!}} colspan="2" {{!}} <hr> }} |
||
− | ! Item level |
||
+ | |- style="font-size:89%; color:#54AA80;" |
||
− | {{!}} [[Has item level::{{#var:level}}]]}} |
||
+ | {{#if: {{{rune1|}}} | |
||
+ | {{!}} {{rune|{{{rune1|}}}}} {{{rune1|}}} Slot }} |
||
+ | {{#if: {{{rune2|}}} | |
||
+ | {{!}} {{rune|{{{rune2|}}}}} {{{rune2|}}} Slot }} |
||
+ | |- style="font-size:89%; color:#54AA80;" |
||
+ | {{#if: {{{rune3|}}} | |
||
+ | {{!}} {{rune|{{{rune3|}}}}} {{{rune3}}} Slot }} |
||
+ | {{#if: {{{rune4|}}} | |
||
+ | {{!}} {{rune|{{{rune4|}}}}} {{{rune4|}}} Slot }} |
||
+ | |- style="font-size:89%; color:#54AA80;" |
||
+ | {{#if: {{{rune5|}}} | |
||
+ | {{!}} {{rune|{{{rune5|}}}}} {{{rune5|}}} Slot }} |
||
+ | {{#if: {{{rune6|}}} | |
||
+ | {{!}} {{rune|{{{rune6|}}}}} {{{rune6|}}} Slot }} |
||
+ | |- style="font-size:89%;" |
||
+ | {{#if: {{{label|}}} | |
||
+ | {{!}} colspan="2" {{!}} |
||
+ | {{(!}} style="background:#000000; border:1px solid #124C55; color:#9AAEA4; margin:auto; width:98%; padding:4px;" |
||
+ | {{!-}} |
||
+ | {{!}} {{{label}}} |
||
+ | {{!)}} }} |
||
+ | |} |
||
|- |
|- |
||
+ | | colspan="2" |<hr> |
||
− | {{#if:{{#var:req_level}}| |
||
− | ! Required level |
||
− | {{!}} [[Has required level::{{#var:req_level}}]]}} |
||
|- |
|- |
||
+ | | colspan="2" | |
||
− | {{#if:{{#var:armor}}| |
||
+ | {| width="100%" |
||
− | ! Armor |
||
+ | | width="40%" valign="top"| |
||
− | {{!}} [[Has armor rating::{{#var:armor}}]]}} |
||
+ | {|width="100%" style="font-size:89%; line-height:1em; color:#9AAEA4;" |
||
+ | {{#if: {{{durability|}}} | |
||
+ | {{!}} Durability: {{{durability}}}/{{{durability|}}} }} |
||
|- |
|- |
||
− | {{#if:{{ |
+ | {{#if: {{{salvage|}}} | |
+ | {{!}} {{{salvage}}} }} |
||
− | ! Speed |
||
+ | |} |
||
− | {{!}} [[Has speed rating::{{#var:speed}}]]}} |
||
+ | | width="60%" valign="top"| |
||
+ | {|width="100%" style="font-size:89%; line-height:1em; color:#9AAEA4; text-align:right;" |
||
+ | {{#if: {{{cost|}}} | |
||
+ | {{!}} Buy for: {{#if: {{{costtype|}}} | {{currency|{{{cost}}}|{{{costtype}}}}} | {{currency|{{{cost|}}}}} }} }} |
||
|- |
|- |
||
− | {{#if:{{ |
+ | {{#if: {{{value|}}} | |
+ | {{!}} Sell for: {{currency|{{{value|}}}}} }} |
||
− | ! colspan="2" class="wide" {{!}} Description }} |
||
+ | |} |
||
+ | |} |
||
|- |
|- |
||
− | {{#if:{{ |
+ | {{#if: {{{costume|}}} | |
− | {{!}} colspan="2" |
+ | {{!}} colspan="2" style="font-size:89%; line-height:1em; color:#9AAEA4;" {{!}} Costume Unlockable }}</div> |
+ | |}{{#ifeq: {{NAMESPACE}} | Template | | [[Category:{{{rarity}}} items]] |
||
+ | [[Category:{{#switch: {{{type}}} |
||
+ | | Armor = Armor |
||
+ | | Costume = Costumes |
||
+ | | Pistols = Pistols |
||
+ | | Resonators = Resonators |
||
+ | | Heavy Gun = Heavy guns |
||
+ | | Greatsword = Greatswords |
||
+ | | Claws = Claws |
||
+ | | Psyblade = Psyblades |
||
+ | | Energy Shield = Energy shields |
||
+ | | Bag = Bags |
||
+ | | Implant = Implants |
||
+ | | Support System = Support systems |
||
+ | | Weapon Attachment = Weapon attachments |
||
+ | | Field Tech = Field tech |
||
+ | | Boost = Boosts |
||
+ | | Gadget = Gadgets |
||
+ | | Potion = Potions |
||
+ | | Medishot = Potions |
||
+ | | Consumable = Consumables |
||
+ | | Food = Food |
||
+ | | Algoroc Eats = Food |
||
+ | | Bug Meat Meal = Food |
||
+ | | Celestion Comestibles = Food |
||
+ | | Hybrid Meals = Food |
||
+ | | Poultry Meal = Food |
||
+ | | Meat Meal = Food |
||
+ | | Vegetarian Option = Food |
||
+ | | AMP = AMP items |
||
+ | | Engineer AMP = Engineer AMP items |
||
+ | | Esper AMP = Esper AMP items |
||
+ | | Medic AMP = Medic AMP items |
||
+ | | Spellslinger AMP = Spellslinger AMP items |
||
+ | | Stalker AMP = Stalker AMP items |
||
+ | | Warrior AMP = Warrior AMP items |
||
+ | | Unlocks and Upgrades = Unlocks and upgrades |
||
+ | | Ground Mounts = Ground mounts |
||
+ | | Hoverboard Mounts = Hoverboard mounts |
||
+ | | Ground Mount Flair = Ground mount flair |
||
+ | | Hoverboard Mount Flair = Hoverboard mount flair |
||
+ | | Imbuement Material = Imbuement materials |
||
+ | | Housing Decor Loot Chest = Decor |
||
+ | | Decor = Decor |
||
+ | | Improvement = Improvements |
||
+ | | Power Core = Power cores |
||
+ | | Tool = Tools |
||
+ | | Wood = Wood |
||
+ | | Tincture = Tinctures |
||
+ | | Neurocite Ingot = Armorer items |
||
+ | | Vitalium Ingot = Armorer items |
||
+ | | Leather = Leather |
||
+ | | Pelt = Pelts |
||
+ | | Bone = Bones |
||
+ | | Sign of Air = Elemental signs |
||
+ | | Sign of Earth = Elemental signs |
||
+ | | Sign of Fire = Elemental signs |
||
+ | | Sign of Fusion = Elemental signs |
||
+ | | Sign of Life = Elemental signs |
||
+ | | Sign of Logic = Elemental signs |
||
+ | | Sign of Water = Elemental signs |
||
+ | | Rune Fragment = Rune fragments |
||
+ | | Rune Token = Rune tokens |
||
+ | | Set Focus = Set foci |
||
+ | | Corium Acceleron = Weaponsmith items |
||
+ | | Cyclonite Acceleron = Weaponsmith items |
||
+ | | Emberine Acceleron = Weaponsmith items |
||
+ | | Marinax Acceleron = Weaponsmith items |
||
+ | | Ore = Ore |
||
+ | | Crystal = Crystals |
||
+ | | Gem = Gems |
||
+ | | Herb = Herbs |
||
+ | | Produce = Produce |
||
+ | | Seeds = Seeds |
||
+ | | Bug Meat = Bug meat |
||
+ | | Fish = Fish |
||
+ | | Meat = Meat |
||
+ | | Meat - No Commodity = Meat |
||
+ | | Poultry = Poultry |
||
+ | | Carcass = Carcasses |
||
+ | | Omni-Plasm = Omni-plasm |
||
+ | | Transformer = Transformers |
||
+ | | Gadget Reagent = Gadget reagents |
||
+ | | Cloth = Cloth |
||
+ | | Fiber = Fiber |
||
+ | | Weave = Weaves |
||
+ | | Gadget Reagent = Technologist items |
||
+ | | Settler Resource = Settler resources |
||
+ | | Tradeskill Reagent = Tradeskill items |
||
+ | | Cloth Salvageables = Salvageable items |
||
+ | | Salvageable Container = Salvageable items |
||
+ | | Cook Recipe = Cooking recipes |
||
+ | | Armorer Design = Armorer schematics |
||
+ | | Outfitter Guide = Outfitter schematics |
||
+ | | Tailor Pattern = Tailor schematics |
||
+ | | Technologist Formula = Technologist schematics |
||
+ | | Weaponsmith Schematic = Weaponsmith schematics |
||
+ | | Architect Catalyst = Architect catalysts |
||
+ | | Armorer Catalyst = Armorer catalysts |
||
+ | | Outfitter Catalyst = Outfitter catalysts |
||
+ | | Tailor Catalyst = Tailor catalysts |
||
+ | | Technologist Catalyst = Technologist catalysts |
||
+ | | Weaponsmith Catalyst = Weaponsmith catalysts |
||
+ | | Architect = Architect items |
||
+ | | Cooking = Cooking items |
||
+ | | Dye = Dyes |
||
+ | | Dye Loot Bag = Loot containers |
||
+ | | Housing Decor Loot Chest = Loot containers |
||
+ | | Loot Bag = Loot containers |
||
+ | | Tradeskill Loot Bag = Loot containers |
||
+ | | Quest Item = Quest items |
||
+ | | Vanity Pet = Vanity pets |
||
+ | | #default = Items }} ]] |
||
+ | {{#ifeq: {{{type}}} | Armor | [[Category:{{lc:{{{subtype}}} {{{slot}}}}} armor]]|}} |
||
+ | {{#if: {{{bonus|}}} | [[Category:{{{bonus}}} decor]]|}} }}<!-- |
||
+ | |||
+ | -------------------------------------------------- |
||
+ | ITEM TOOLTIP |
||
+ | -------------------------------------------------- |
||
+ | |||
+ | --><div class="tooltip-content" style="display:none;"> |
||
+ | {| class="infobox" style="background: #0e1e21; width:23em;" |
||
|- |
|- |
||
+ | ! colspan="2" style="padding-bottom: 10px;"| <div class="wildstar" style="text-align: center; color: {{rarity|{{{rarity}}}}}; box-shadow: {{rarity|{{{rarity}}}}} 0 0.1em 0.3em; font-size: 130%; padding: 8px;">{{{name|{{BASEPAGENAME}}}}}</div><div style="padding-top: 8px;"> |
||
− | {{#if:{{#var:data_page}}| |
||
+ | {| style="width: 95%; margin: auto; text-align: left;" |
||
− | {{!}} colspan="2" class="wide" style="text-align: right;" {{!}}<small><span class="ghost">[</span>[[Has data page::{{#var:data_page}}|<span class="ghost">data page</span>]]<span class="ghost">]</span></small>}} |
||
+ | |- style="font-size: 89%; line-height: 0.8em;" |
||
+ | {{#if: {{{type|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{type|}}} {{#if: {{{subtype|}}} | - {{{subtype|}}} }} {{#if: {{{slot|}}} | - {{{slot|}}} }} }} |
||
+ | |- |
||
+ | | width="50%" | |
||
+ | {| style="font-size: 89%; line-height: 0.8em; width: 100%;" |
||
+ | {{#if: {{{level|}}} | |
||
+ | {{!}} Base Level: {{{level|}}} }} |
||
+ | {{#if: {{{rlevel|}}} | |
||
+ | {{!}} Required Level: {{{rlevel|}}} }} |
||
+ | |- |
||
+ | {{#if: {{{durability|}}} | |
||
+ | {{!}} Durability: {{{durability|}}} }} |
||
+ | |- style="color: #42da00;" |
||
+ | {{#if: {{{class|}}} | |
||
+ | {{!}} Class: {{{class|}}} }} |
||
|} |
|} |
||
+ | | valign="top" width="50%" | |
||
− | </div>[[Category:Item data]]<!--Finally, display any images-->{{Infobox thumb|image={{{image1|}}}|caption={{{caption1|}}} }}{{Infobox thumb|image={{{image2|}}}|caption={{{caption2|}}} }}{{Infobox thumb|image={{{image3|}}}|caption={{{caption3|}}} }}{{Infobox thumb|image={{{image4|}}}|caption={{{caption4|}}} }}{{Infobox thumb|image={{{image5|}}}|caption={{{caption5|}}} }}{{Infobox thumb|image={{{image6|}}}|caption={{{caption6|}}}{{Infobox thumb|image={{{image7|}}}|caption={{{caption7|}}} }} }}{{Infobox thumb|image={{{image8|}}}|caption={{{caption8|}}} }}{{Infobox thumb|image={{{image9|}}}|caption={{{caption9|}}} }}</includeonly></onlyinclude>{{doc}} |
||
+ | {| style="font-size: 89%; line-height: 0.8em; width: 100%; text-align: right;" |
||
− | |||
+ | |- |
||
− | [[Category:Infobox templates]] [[Category:Item semantics]] |
||
+ | {{#if: {{{bind|}}} | |
||
+ | {{!}} Bind {{#ifeq: {{lc:{{{bind|}}}}} | account | to | on }} {{{bind|}}} }} |
||
+ | |- |
||
+ | {{#if: {{{unique|}}} | |
||
+ | {{!}} {{{unique|}}} }} |
||
+ | |} |
||
+ | |- style="font-size: 89%; line-height: 0.8em;" |
||
+ | {{#if: {{{stack|}}} | |
||
+ | {{!}} Max Stack: {{{stack|}}} }} |
||
+ | |- style="font-size: 89%; line-height: 0.8em;" |
||
+ | {{#if: {{{coords|}}} | |
||
+ | {{!}} colspan="2" {{!}} Coordinate Change (x,y): {{{coords|}}} }} |
||
+ | |- style="font-size: 89%;" |
||
+ | {{#if: {{{use|}}} | |
||
+ | {{!}} colspan="2" {{!}} |
||
+ | {{(!}} style="background: #000000; border: 1px solid #124c55; color: #3ab6d4; margin: auto; width: 98%; padding: 4px;" |
||
+ | {{!-}} |
||
+ | {{!}} {{{use|}}} |
||
+ | {{!)}} }} |
||
+ | |- |
||
+ | | colspan="2" | |
||
+ | {| width="100%" |
||
+ | |- style="font-size:120%; color:#54AA80;" |
||
+ | {{#if: {{{armor|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{armor|}}} Armor }} |
||
+ | |- style="font-size:120%; color:#54AA80;" |
||
+ | {{#if: {{{assault|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{assault|}}} Assault Power }} |
||
+ | |- style="font-size:120%; color:#54AA80;" |
||
+ | {{#if: {{{support|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{support|}}} Support Power }} |
||
+ | |- style="font-size:120%; color:#54AA80;" |
||
+ | {{#if: {{{armor|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{armor|}}} Armor }} |
||
+ | |- style="font-size:120%; color:#54AA80;" |
||
+ | {{#if: {{{health|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{health|}}} Max Health }} |
||
+ | |- style="font-size:120%; color:#54AA80;" |
||
+ | {{#if: {{{shield|}}} | |
||
+ | {{!}} colspan="2" {{!}} {{{shield|}}} Max Shield }} |
||
+ | |- style="font-size: 89%; line-height: 0.8em;" |
||
+ | {{#if: {{{att1|}}} | |
||
+ | {{!}} {{{att1|}}} }} |
||
+ | |- style="font-size: 89%; line-height: 0.8em;" |
||
+ | {{#if: {{{att2|}}} | |
||
+ | {{!}} {{{att2|}}} }} |
||
+ | |- style="font-size: 89%; line-height: 0.8em;" |
||
+ | {{#if: {{{att3|}}} | |
||
+ | {{!}} {{{att3|}}} }} |
||
+ | |} |
||
+ | |}</div> |
||
+ | |- style="font-size: 89%;" |
||
+ | {{#if: {{{special|}}} | |
||
+ | {{!}} colspan="2" {{!}} Special: {{{special|}}} }} |
||
+ | |- style="font-size: 89%;" |
||
+ | {{#if: {{{label|}}} | |
||
+ | {{!}} colspan="2" {{!}} |
||
+ | {{(!}} style="background: #000000; border: 1px solid #124c55; color: #9aaea4; margin: auto; width: 98%; padding: 4px;" |
||
+ | {{!-}} |
||
+ | {{!}} {{{label|}}} |
||
+ | {{!)}} }} |
||
+ | |}</div>{{#cargo_store:_table=Items|Image={{{image|}}}|Type={{{type|}}}|Subtype={{{subtype|}}}|Slot={{{slot|}}}|Level={{{ilevel|}}}|Required_level={{{rlevel|}}}|Class={{{class|}}}|Bind={{{bind|}}}|Unique_type={{{unique|}}}|Tradeskill={{{tradeskill|}}}|Stack={{{stack|}}}|Coordinate_change={{{coords|}}}|Item_use={{{use|}}}|Assault_power={{{assault|}}}|Support_power={{{support|}}}|Armor={{{armor|}}}|Health={{{health|}}}|Shield_capacity={{{shield|}}}|Item_requirement={{{requirement|}}}|Special={{{special|}}}|Label={{{label|}}}|Durability={{{durability|}}}|Costume_unlockable={{#ifeq:{{{costume}}}|True|1|0}}|Rarity={{{rarity|}}}|ID={{{id|}}}|Value={{{value|}}}|Cost={{{cost|}}}}}</includeonly><noinclude> |
||
+ | {{doc}} |
||
+ | {{#cargo_declare:_table=Items|Image=String|Type=String|Subtype=String|Slot=String|Level=Integer|Required_level=Integer|Class=String|Bind=String|Unique_type=String|Tradeskill=String|Stack=Integer|Coordinate_change=String|Item_use=String|Assault_power=Integer|Support_power=Integer|Armor=Integer|Health=Integer|Shield_capacity=Integer|Item_requirement=String|Special=String|Label=String|Durability=Integer|Costume_unlockable=Boolean|Rarity=String|ID=Integer|Value=Integer|Cost=Integer}} |
||
+ | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 16:42, 11 March 2018
Usage
{{item infobox | name = | image = | rarity = | id = | type = | subtype = | slot = | ilevel = | rlevel = | class = | bind = | unique = | tradeskill = | stack = | coords = | use = | assault = | support = | armor = | health = | shield = | att1 = | att2 = | att3 = | att4 = | att5 = | requirement = | special = | imbuement1 = | imbuement2 = | imbuement3 = | imbuement4 = | imbuement5 = | imbuement6 = | rune1 = | rune2 = | rune3 = | rune4 = | rune5 = | rune6 = | label = | durability = | salvage = | cost = | value = | costume = }}
Parameters
- name
- Name of the item. Defaults to
{{PAGENAME}}
. - image
- Image of the item.
- rarity
- Rarity of the item.
- id
- Item id.
- type
- Item type. Items are categorized by this value.
- subtype
- Item subtype. Usually used for armor.
- slot
- Item equippable slot. Usually used for armor.
- ilevel
- Item level.
- rlevel
- Required level to use item.
- class
- Required class to use item.
- bind
- Item's bind status. equip or pickup.
- unique
- Item's uniqueness. Unique or Unique Equipped.
- tradeskill
- Required tradeskill to use item.
- stack
- Max stack of item.
- coords
- Crafting coordinates change of item.
- use
- Use text of item.
- assault
- Assault Rating of item.
- support
- Support Rating of item.
- armor
- Armor value of the item.
- health
- Max Health value of the item.
- shield
- Max Shield Capacity value of the item.
- att1-5
- Stat attributes.
- requirement
- Other item usage requirements not specified in other fields.
- special
- Special ability of the item.
- imbuement1-6
- Item imbuements.
- rune1-6
- Rune slots of item. Open or Unlockable if the slots are random.
- label
- Label or flavor text of the item.
- durability
- Durability of the item.
- salvage
- Salvageability of the item. True if it's salvageable, otherwise don't include.
- cost
- Cost of the item.
- value
- Value of the item.
- costume
- Costume Unlockable status of the item. True if it can be unlocked, otherwise don't include.
The above documentation is transcluded from Template:Item infobox/doc. (edit | history)
This template defines the table "Items". View table.