Difference between revisions of "Template:Infobox item"
m |
(Added randomdamage.) |
||
| (25 intermediate revisions by 6 users not shown) | |||
| Line 3: | Line 3: | ||
<!----------Images---------> | <!----------Images---------> | ||
{{#if: {{{image|}}} | {{!}} [[File:{{{image}}}]] {{#if: {{{image2|}}} | [[File:{{{image2}}}]]}} | {{#if: {{{image|}}} | {{!}} [[File:{{{image}}}]] {{#if: {{{image2|}}} | [[File:{{{image2}}}]]}} | ||
| − | | {{!}} [[File:Image Needed.png]]{{Categorize|Image | + | | {{!}} [[File:Image Needed.png]]{{Categorize|Image needed}}}} |
<!----------Name---------> | <!----------Name---------> | ||
| Line 15: | Line 15: | ||
}} | }} | ||
| − | <!---------- | + | <!----------Exceptional---------> |
|- | |- | ||
| − | {{#if: {{{ | + | {{#if: {{{exceptional|}}}| |
| − | {{!}} {{Colored Link| | + | {{!}} {{Colored Link|Exceptional|color=FFFFFF}} |
}} | }} | ||
| Line 25: | Line 25: | ||
{{#if: {{{blessed|}}}| | {{#if: {{{blessed|}}}| | ||
{{!}} {{Colored Link|Blessed|color=FFFFFF}} | {{!}} {{Colored Link|Blessed|color=FFFFFF}} | ||
| + | }} | ||
| + | |||
| + | <!----------Uses Remaining---------> | ||
| + | |- | ||
| + | {{#if: {{{usesremaining|}}}| | ||
| + | {{!}} {{Colored Link|Uses Remaining|color=FFFFFF}}: {{{usesremaining|}}} | ||
}} | }} | ||
| Line 61: | Line 67: | ||
}} | }} | ||
}} | }} | ||
| + | }} | ||
| + | |||
| + | <!----------Shard Bound---------> | ||
| + | |- | ||
| + | {{#if: {{{shardbound|}}}| | ||
| + | {{!}} {{Colored Link|Shard Bound|color=ffffff}} | ||
}} | }} | ||
| Line 121: | Line 133: | ||
{{#if: {{{spellconsumption|}}}| | {{#if: {{{spellconsumption|}}}| | ||
{{!}} {{Colored Link|Spell Consumption|Spell Consumption: {{{spellconsumption}}}|color=ffffff}} | {{!}} {{Colored Link|Spell Consumption|Spell Consumption: {{{spellconsumption}}}|color=ffffff}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| Line 309: | Line 309: | ||
{{#if: {{{randomcombatskill|}}}|{{!}} +{{{randomcombatskill}}} Random Combat {{Colored Link|Skill|color=ffffff}}}} | {{#if: {{{randomcombatskill|}}}|{{!}} +{{{randomcombatskill}}} Random Combat {{Colored Link|Skill|color=ffffff}}}} | ||
| − | <!---------- | + | <!----------Swarm---------> |
|- | |- | ||
| − | {{#if: {{{ | + | {{#if: {{{swarm|}}}| |
| − | {{!}} | + | {{!}} {{Colored Link|Swarm|color=ffffff}} {{{swarm}}}% |
| + | }} | ||
| + | |||
| + | <!----------Sparks---------> | ||
| + | |- | ||
| + | {{#if: {{{sparks|}}}| | ||
| + | {{!}} {{Colored Link|Sparks|color=ffffff}} {{{sparks}}}% | ||
| + | }} | ||
| + | |||
| + | <!----------Bone Breaker---------> | ||
| + | |- | ||
| + | {{#if: {{{bonebreaker|}}}| | ||
| + | {{!}} {{Colored Link|Bone Breaker|color=ffffff}} {{{bonebreaker}}} | ||
}} | }} | ||
| Line 331: | Line 343: | ||
{{#if: {{{damageeater|}}}| | {{#if: {{{damageeater|}}}| | ||
{{!}} {{Colored Link|Damage Eater|color=ffffff}} {{{damageeater}}}% | {{!}} {{Colored Link|Damage Eater|color=ffffff}} {{{damageeater}}}% | ||
| + | }} | ||
| + | |||
| + | <!----------Random Damage Eater---------> | ||
| + | |- | ||
| + | {{#if: {{{randomdamageeater|}}}| | ||
| + | {{!}} {{Colored Link|Damage Eater|Random Damage Eater|color=ffffff}} {{{randomdamageeater}}}% | ||
}} | }} | ||
| Line 430: | Line 448: | ||
<!----------Slayers---------> | <!----------Slayers---------> | ||
| + | |- | ||
| + | {{#ifeq: {{{slayer}}}|eodon|{{!}} {{Colored Link|Eodon Slayer|color=ffffff}}|}} | ||
| + | |- | ||
| + | {{#ifeq: {{{slayer}}}|dinosaur|{{!}} {{Colored Link|Dinosaur Slayer|color=ffffff}}|}} | ||
| + | |- | ||
| + | {{#ifeq: {{{slayer}}}|myrmidex|{{!}} {{Colored Link|Myrmidex Slayer|color=ffffff}}|}} | ||
|- | |- | ||
{{#ifeq: {{{slayer}}}|random|{{!}} Random {{Colored Link|Slayer|color=ffffff}}|}} | {{#ifeq: {{{slayer}}}|random|{{!}} Random {{Colored Link|Slayer|color=ffffff}}|}} | ||
| Line 492: | Line 516: | ||
|- | |- | ||
{{#ifeq: {{{slayer}}}|goblin|{{!}} {{Colored Link|Goblin Slayer|color=ffffff}}|}} | {{#ifeq: {{{slayer}}}|goblin|{{!}} {{Colored Link|Goblin Slayer|color=ffffff}}|}} | ||
| + | |- | ||
| + | {{#ifeq: {{{slayer2}}}|eodon|{{!}} {{Colored Link|Eodon Slayer|color=ffffff}}|}} | ||
| + | |- | ||
| + | {{#ifeq: {{{slayer2}}}|dinosaur|{{!}} {{Colored Link|Dinosaur Slayer|color=ffffff}}|}} | ||
| + | |- | ||
| + | {{#ifeq: {{{slayer2}}}|myrmidex|{{!}} {{Colored Link|Myrmidex Slayer|color=ffffff}}|}} | ||
|- | |- | ||
{{#ifeq: {{{slayer2}}}|random|{{!}} Random {{Colored Link|Slayer|color=ffffff}} (Secondary)|}} | {{#ifeq: {{{slayer2}}}|random|{{!}} Random {{Colored Link|Slayer|color=ffffff}} (Secondary)|}} | ||
| Line 584: | Line 614: | ||
|- | |- | ||
{{#if: {{{hitmagicarrow|}}}|{{!}} {{Colored Link|Hit Magic Arrow|color=ffffff}} {{{hitmagicarrow}}}%}} | {{#if: {{{hitmagicarrow|}}}|{{!}} {{Colored Link|Hit Magic Arrow|color=ffffff}} {{{hitmagicarrow}}}%}} | ||
| + | |- | ||
| + | {{#if: {{{hitcoldarea|}}}|{{!}} {{Colored Link|Hit Cold Area|color=ffffff}} {{{hitcoldarea}}}%}} | ||
|- | |- | ||
{{#if: {{{hitenergyarea|}}}|{{!}} {{Colored Link|Hit Energy Area|color=ffffff}} {{{hitenergyarea}}}%}} | {{#if: {{{hitenergyarea|}}}|{{!}} {{Colored Link|Hit Energy Area|color=ffffff}} {{{hitenergyarea}}}%}} | ||
| Line 617: | Line 649: | ||
{{#if: {{{charges|}}}| | {{#if: {{{charges|}}}| | ||
{{!}} {{Colored Link|Charges:|color=ffffff}} {{{charges}}} | {{!}} {{Colored Link|Charges:|color=ffffff}} {{{charges}}} | ||
| + | }} | ||
| + | |||
| + | <!----------Pieces---------> | ||
| + | |- | ||
| + | {{#if: {{{pieces|}}}| | ||
| + | {{!}} {{{pieces}}} {{Colored Link|Pieces|color=ffffff}} | ||
}} | }} | ||
| Line 834: | Line 872: | ||
|- | |- | ||
{{#if: {{{directdamage|}}}|{{!}} {{Colored Link|Direct Damage|color=ffffff}} {{{directdamage}}}%}} | {{#if: {{{directdamage|}}}|{{!}} {{Colored Link|Direct Damage|color=ffffff}} {{{directdamage}}}%}} | ||
| + | |- | ||
| + | {{#if: {{{randomdamage|}}}|{{!}} {{Colored Link|Random Damage|color=ffffff}} {{{randomdamage}}}%}} | ||
|- | |- | ||
{{#if: {{{physicaldamage|}}}|{{!}} {{Colored Link|Physical Damage|color=ffffff}} {{{physicaldamage}}}%}} | {{#if: {{{physicaldamage|}}}|{{!}} {{Colored Link|Physical Damage|color=ffffff}} {{{physicaldamage}}}%}} | ||
| Line 869: | Line 909: | ||
{{#if: {{{lowerrequirements|}}}| | {{#if: {{{lowerrequirements|}}}| | ||
{{!}} {{Colored Link|Lower Requirements|color=ffffff}} {{{lowerrequirements}}}% | {{!}} {{Colored Link|Lower Requirements|color=ffffff}} {{{lowerrequirements}}}% | ||
| + | }} | ||
| + | |||
| + | <!----------Increased Karma Loss---------> | ||
| + | |- | ||
| + | {{#if: {{{increasedkarmaloss|}}}| | ||
| + | {{!}} {{Colored Link|Increased Karma Loss|color=ffffff}} {{{increasedkarmaloss}}}% | ||
}} | }} | ||
| Line 947: | Line 993: | ||
{{#if: {{{autorecharge|}}}| | {{#if: {{{autorecharge|}}}| | ||
{{!}} {{Colored Link|Auto Recharge|color=ffffff}} | {{!}} {{Colored Link|Auto Recharge|color=ffffff}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| Line 1,015: | Line 1,055: | ||
}} | }} | ||
| + | <!----------Attuned to (for Oracle of the Sea)---------> | ||
| + | |- | ||
| + | {{#if: {{{attunedto|}}}| | ||
| + | {{!}} [Attuned To: {{Colored Link|{{{attunedto}}}|color=ffffff}}] | ||
| + | }} | ||
| + | |||
| + | <!----------Location (for Covetous Void Pool rewards)---------> | ||
| + | |- | ||
| + | {{#if: {{{location|}}}| | ||
| + | {{!}} Location: 98º 6'N, 87º 49'E | ||
| + | }} | ||
| + | |||
| + | <!----------Facet (for Covetous Void Pool rewards)---------> | ||
| + | |- | ||
| + | {{#if: {{{facet|}}}| | ||
| + | {{!}} {{Colored Link|Facet: {{{facet}}}|color=ffffff}} | ||
| + | }} | ||
| + | |||
| + | <!----------No House Required (for Covetous Void Pool rewards)---------> | ||
| + | |- | ||
| + | {{#if: {{{nohouserequired|}}}| | ||
| + | {{!}} {{Colored Link|House|No House Required|color=ffffff}} | ||
| + | }} | ||
| + | |||
| + | <!----------Cannot Re-Deed (for Covetous Void Pool rewards)---------> | ||
| + | |- | ||
| + | {{#if: {{{cannotredeed|}}}| | ||
| + | {{!}} Cannot Re-Deed | ||
| + | }} | ||
| + | |||
| + | <!----------Lasts h Hours (for Covetous Void Pool rewards)---------> | ||
| + | |- | ||
| + | {{#if: {{{lasts|}}}| | ||
| + | {{!}} Lasts {{{lasts}}} Hours | ||
| + | }} | ||
| + | |||
| + | <!----------Requirement: Mondain's Legacy---------> | ||
| + | |- | ||
| + | {{#if: {{{requirementmondainslegacy|}}}| | ||
| + | {{!}} Requirement: {{Colored Link|Mondain's Legacy|color=ffffff}} | ||
| + | }} | ||
| + | |||
| + | <!----------High Seas---------> | ||
| + | |- | ||
| + | {{#if: {{{highseas|}}}| | ||
| + | {{!}} {{Colored Link|High Seas|Requires: High Seas|color=ffffff}} | ||
| + | }} | ||
| + | |||
| + | <!----------Stygian Abyss---------> | ||
| + | |- | ||
| + | {{#if: {{{stygianabyss|}}}| | ||
| + | {{!}} {{Colored Link|Stygian Abyss|Requires: Stygian Abyss|color=ffffff}} | ||
| + | }} | ||
| + | |||
| + | <!----------Time of Legends---------> | ||
| + | |- | ||
| + | {{#if: {{{timeoflegends|}}}| | ||
| + | {{!}} {{Colored Link|Time of Legends|Requires: Time of Legends|color=ffffff}} | ||
| + | }} | ||
| + | |||
| + | <!----------Custom Text (for custom text at the bottom of the items)---------> | ||
| + | |- | ||
| + | {{#if: {{{text|}}}| | ||
| + | {{!}} {{{text}}} | ||
| + | }} | ||
|}</includeonly><noinclude>The '''Infobox item''' template is designed to be used on article pages of all kinds. While currently incomplete, more parameters are added often to ensure that this template will eventually be usable for ''any'' item. | |}</includeonly><noinclude>The '''Infobox item''' template is designed to be used on article pages of all kinds. While currently incomplete, more parameters are added often to ensure that this template will eventually be usable for ''any'' item. | ||
| − | With the exception of the name= parameter, all parameters in this template are optional. Any optional parameter | + | With the exception of the name= parameter, all parameters in this template are optional. Any optional parameter that is not defined will not display in the template. Parameters may be defined in any order, but should automatically display in the same order as shown in UO. ''When using this template, it is advised that undefined parameters are removed to keep articles from becoming excessively long and unreadable when being edited.'' |
| − | If an image is not provided the article will be added to the following category: | + | If an image is not provided, the article will be added to the following category: |
| − | * [[:Category:Image | + | * [[:Category:Image needed]] |
Template Parameters: | Template Parameters: | ||
| Line 1,029: | Line 1,134: | ||
| name= | | name= | ||
| caption= | | caption= | ||
| − | | | + | | exceptional= |
| blessed= | | blessed= | ||
| + | | usesremaining= | ||
| imbued= | | imbued= | ||
| questitem= | | questitem= | ||
| Line 1,044: | Line 1,150: | ||
| artifactrarity= | | artifactrarity= | ||
| spellconsumption= | | spellconsumption= | ||
| − | |||
| − | |||
| ammo= | | ammo= | ||
| damagemodifier= | | damagemodifier= | ||
| Line 1,115: | Line 1,219: | ||
| randomskill= | | randomskill= | ||
| randomcombatskill= | | randomcombatskill= | ||
| − | | | + | | swarm= |
| + | | sparks= | ||
| + | | bonebreaker= | ||
| hitmanadrain= | | hitmanadrain= | ||
| hitfatigue= | | hitfatigue= | ||
| damageeater= | | damageeater= | ||
| + | | randomdamageeater= | ||
| energyeater= | | energyeater= | ||
| poisoneater= | | poisoneater= | ||
| Line 1,139: | Line 1,246: | ||
airelemental,bloodelemental, earthelemental, fireelemental, poisonelemental, | airelemental,bloodelemental, earthelemental, fireelemental, poisonelemental, | ||
snowelemental, waterelemental, demon, gargoyle, arachnid, scorpion, spider, | snowelemental, waterelemental, demon, gargoyle, arachnid, scorpion, spider, | ||
| − | terathan, reptile, dragon, lizardman, ophidian, snake, fey, mage, wolf, bovine, goblin | + | terathan, reptile, dragon, lizardman, ophidian, snake, fey, mage, wolf, bovine, goblin, |
| + | eodon, dinosaur, myrmidex | ||
| randomitemproperty= | | randomitemproperty= | ||
| randomitemproperty2= | | randomitemproperty2= | ||
| Line 1,162: | Line 1,270: | ||
| battlelust= | | battlelust= | ||
| charges= | | charges= | ||
| + | | pieces= | ||
| manaphase= | | manaphase= | ||
| spellfocusing= | | spellfocusing= | ||
| Line 1,206: | Line 1,315: | ||
| lowerammocost= | | lowerammocost= | ||
| directdamage= | | directdamage= | ||
| + | | randomdamage= | ||
| physicaldamage= | | physicaldamage= | ||
| firedamage= | | firedamage= | ||
| Line 1,215: | Line 1,325: | ||
| weaponspeed= | | weaponspeed= | ||
| lowerrequirements= | | lowerrequirements= | ||
| + | | increasedkarmaloss= | ||
| strengthrequirement= | | strengthrequirement= | ||
| onehandedweapon= | | onehandedweapon= | ||
| Line 1,232: | Line 1,343: | ||
| replenishcharges= | | replenishcharges= | ||
| autorecharge= | | autorecharge= | ||
| − | |||
| spells= | | spells= | ||
| turnedon= | | turnedon= | ||
| Line 1,241: | Line 1,351: | ||
| raretracks= | | raretracks= | ||
| accountbound= | | accountbound= | ||
| + | | shardbound= | ||
| fullset= | | fullset= | ||
| lifespan= | | lifespan= | ||
| + | | attunedto= | ||
| + | | location= | ||
| + | | facet= | ||
| + | | nohouserequired= | ||
| + | | cannotredeed= | ||
| + | | lasts= | ||
| + | | requiremondainslegacy= | ||
| + | | highseas= | ||
| + | | stygianabyss= | ||
| + | | timeoflegends= | ||
| + | | text= | ||
}} | }} | ||
{{Categorize|Information Templates}}</noinclude> | {{Categorize|Information Templates}}</noinclude> | ||
Latest revision as of 07:46, 15 June 2026
The Infobox item template is designed to be used on article pages of all kinds. While currently incomplete, more parameters are added often to ensure that this template will eventually be usable for any item.
With the exception of the name= parameter, all parameters in this template are optional. Any optional parameter that is not defined will not display in the template. Parameters may be defined in any order, but should automatically display in the same order as shown in UO. When using this template, it is advised that undefined parameters are removed to keep articles from becoming excessively long and unreadable when being edited.
If an image is not provided, the article will be added to the following category:
Template Parameters:
{{Infobox item
| image=
| image2=
| name=
| caption=
| exceptional=
| blessed=
| usesremaining=
| imbued=
| questitem=
| vetreward=
| weight=
| elvesonly=
| gargsonly=
| recoveredfromashipwreck=
| durabilityincrease=
| armorset=
| weaponarmorset=
| jewelryset=
| artifactrarity=
| spellconsumption=
| ammo=
| damagemodifier=
| manaburst=
| frequency=
| burstlevel=
| fishbaitstrength=
| bardmasterybonus=
| berserk=
| alchemy=
| anatomy=
| animallore=
| animaltaming=
| archery=
| armslore=
| begging=
| blacksmithing=
| bowcraftfletching=
| bushido=
| camping=
| carpentry=
| cartography=
| chivalry=
| cooking=
| detectinghidden=
| discordance=
| evaluatingintelligence=
| fencing=
| fishing=
| focus=
| forensicevaluation=
| glassblowing=
| healing=
| herding=
| hiding=
| imbuing=
| inscription=
| itemidentification=
| lockpicking=
| lumberjacking=
| macefighting=
| magery=
| masonry=
| meditation=
| mining=
| mysticism=
| musicianship=
| necromancy=
| ninjitsu=
| parrying=
| peacemaking=
| poisoning=
| provocation=
| removetrap=
| resistingspells=
| snooping=
| spellweaving=
| spiritspeak=
| stealing=
| swordsmanship=
| tactics=
| tailoring=
| tasteidentification=
| tinkering=
| throwing=
| tracking=
| veterinay=
| wrestling=
| randomskill=
| randomcombatskill=
| swarm=
| sparks=
| bonebreaker=
| hitmanadrain=
| hitfatigue=
| damageeater=
| randomdamageeater=
| energyeater=
| poisoneater=
| coldeater=
| fireeater=
| kineticeater=
| randomresonance=
| fireresonance=
| coldresonance=
| poisonresonance=
| energyresonance=
| kineticresonance=
| soulcharge=
| spellchanneling=
| mageweapon=
| hitstaminaleech=
| slayer=
| slayer2=
Valid: random, randomsuper, repond, ogre, orc, troll, undead, elemental,
airelemental,bloodelemental, earthelemental, fireelemental, poisonelemental,
snowelemental, waterelemental, demon, gargoyle, arachnid, scorpion, spider,
terathan, reptile, dragon, lizardman, ophidian, snake, fey, mage, wolf, bovine, goblin,
eodon, dinosaur, myrmidex
| randomitemproperty=
| randomitemproperty2=
| randomitemproperty3=
| blooddrinker=
| hitcurse=
| hitdispel=
| hitfireball=
| hitharm=
| hitlightning=
| hitmagicarrow=
| hitcoldarea=
| hitenergyarea=
| hitfirearea=
| hitphysicalarea=
| hitpoisonarea=
| hitmanaleech=
| hitlowerdefense=
| hitlowerattack=
| hitlifeleech=
| balanced=
| battlelust=
| charges=
| pieces=
| manaphase=
| spellfocusing=
| brittle=
| surgehpregeneration=
| surgemanaregeneration=
| surgestaminaregeneration=
| reactiveparalyze=
| castingfocus=
| splinteringweapon=
| randomprotection=
| increasedweapondamage=
| selfrepair=
| strengthbonus=
| dexteritybonus=
| intelligencebonus=
| hitpointincrease=
| staminaincrease=
| manaincrease=
| hitpointregeneration=
| staminaregeneration=
| manaregeneration=
| nightsight=
| luck=
| enhancepotions=
| reflectphysicaldamage=
| hitchanceincrease=
| defensechanceincrease=
| fastercasting=
| fastercastrecovery=
| damageincrease=
| spelldamageincrease=
| lowermanacost=
| lowerreagentcost=
| arcanecharges=
| randomresist=
| physicalresist=
| fireresist=
| coldresist=
| poisonresist=
| energyresist=
| swingspeedincrease=
| usebestweaponskill=
| lowerammocost=
| directdamage=
| randomdamage=
| physicaldamage=
| firedamage=
| colddamage=
| poisondamage=
| energydamage=
| chaosdamage=
| weapondamage=
| weaponspeed=
| lowerrequirements=
| increasedkarmaloss=
| strengthrequirement=
| onehandedweapon=
| twohandedweapon=
| skillrequired=
| magearmor=
| durability=
| mindurability=
| maxdurability=
| chargesremaining=
| contents=
| standardcontents=
| sotbookcontents=
| velocity=
| range=
| weightreduction=
| replenishcharges=
| autorecharge=
| spells=
| turnedon=
| turnedoff=
| petals=
| commontracks=
| uncommontracks=
| raretracks=
| accountbound=
| shardbound=
| fullset=
| lifespan=
| attunedto=
| location=
| facet=
| nohouserequired=
| cannotredeed=
| lasts=
| requiremondainslegacy=
| highseas=
| stygianabyss=
| timeoflegends=
| text=
}}