Difference between revisions of "Template:Infobox Item"

From Wiki
Jump to: navigation, search
(Missed a width)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| style="background-color:#222222; border:3px solid #222222; color:#FFFFFF; float:right; font-weight:bold; height:auto; margin:1px 1px 1em 1em; padding:0px; text-align:center; vertical-align:top; width:25%;"
+
<includeonly>{| {{#if:{{{backcolor|}}}|style="background-color:#{{{backcolor}}}; border:3px solid #222222; color:#FFFFFF; float:right; font-weight:bold; height:auto; margin:1px 1px 1em 1em; padding:0px; text-align:center; vertical-align:top;"| style="background-color:#222222; border:3px solid #222222; color:#FFFFFF; float:right; font-weight:bold; height:auto; margin:1px 1px 1em 1em; padding:0px; text-align:center; vertical-align:top;"}}
  
 
<!----------Images--------->
 
<!----------Images--------->
{{#if: {{{image|}}} | {{!}} [[File:{{{image}}}]] {{#if: {{{image2|}}} | [[File:{{{image2}}}]]}}
+
{{#if: {{{image|}}} | {{!}} [[File:{{{image}}}]] {{#if: {{{image2|}}} | [[File:{{{image2}}}]][[Category:Items With Two Images]]}}
| {{!}} [[File:Image Needed.png]]{{Categorize|Image Needed}}}}
+
| {{!}} [[File:Image Needed.png]][[Category:Items Needing Images]]}}
  
 
<!----------Name--------->
 
<!----------Name--------->
Line 669: Line 669:
 
|-
 
|-
 
{{#if: {{{energyresist|}}}|! {{Colored Link|Energy Resist|color=ffffff}} {{{energyresist}}}%}}
 
{{#if: {{{energyresist|}}}|! {{Colored Link|Energy Resist|color=ffffff}} {{{energyresist}}}%}}
 
+
|- style="color:#00FFFF;"
 +
{{#if: {{{totalresist|}}}|! Total Resist {{{totalresist}}}%}}
 
<!----------Increased Karma Loss--------->
 
<!----------Increased Karma Loss--------->
 
|-
 
|-
Line 800: Line 801:
 
}}
 
}}
  
<!----------Increased Karma Loss--------->
+
<!----------Increased Karma Loss-------
 
|-
 
|-
 
{{#if: {{{increasedkarmaloss|}}}|
 
{{#if: {{{increasedkarmaloss|}}}|
 
! {{Colored Link|Increased Karma Loss|color=ffffff}} {{{increasedkarmaloss}}}%
 
! {{Colored Link|Increased Karma Loss|color=ffffff}} {{{increasedkarmaloss}}}%
}}
+
}}-->
  
 
<!----------Spells--------->
 
<!----------Spells--------->
Line 846: Line 847:
 
{{#if: {{{raretracks|}}}|
 
{{#if: {{{raretracks|}}}|
 
! {{{raretracks}}} Rare Tracks
 
! {{{raretracks}}} Rare Tracks
 +
}}
 +
|-
 +
{{#if: {{{customprop1|}}}|
 +
! {{{customprop1}}}
 +
}}
 +
|-
 +
{{#if: {{{customprop2|}}}|
 +
! {{{customprop2}}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{otherprop|}}}|
 
{{#if: {{{otherprop|}}}|
! {{{otherprop}}} Uncommon Tracks
+
! <span style="font-size:50%">{{{otherprop}}}</span>
 +
}}
 +
|-
 +
{{#if: {{{upgrade1|}}}|
 +
! {{{upgrade1}}}
 +
}}
 +
|-
 +
{{#if: {{{upgrade2|}}}|
 +
! {{{upgrade2}}}
 +
}}
 +
|-
 +
{{#if: {{{upgrade3|}}}|
 +
! {{{upgrade3}}}
 
}}
 
}}
 
|}
 
|}
[[Category:Alexandria]]</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.
+
[[Category:Alexandria]]
 +
[[Category:Alexandria Items]]</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 which 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 show in UO. ''When using this tempate, it is advised that undefined parameters are removed to keep articles from becoming excessively long and unreadable when being edited.''
 
With the exception of the name= parameter, all parameters in this template are optional. Any optional parameter which 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 show in UO. ''When using this tempate, 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:Item infoboxes without image defined]]
+
* [[:Category:Items Needing Images]]
  
 
  Template Parameters:
 
  Template Parameters:

Latest revision as of 13:38, 27 June 2011

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 which 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 show in UO. When using this tempate, 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=
| usesremaining=
| blessed=
| weight=
| durabilityincrease=
| armorset=
| weaponarmorset=
| jewelryset=
| artifactrarity=
| elvesonly=
| gargsonly=
| ammo=
| damagemodifier=
| 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=
| requiremondainslegacy=
| hitmanadrain=
| hitfatigue=
| damageeater=
| 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, bovine
| randomitemproperty=
| randomitemproperty2=
| blooddrinker=
| hitcurse=
| hitdispel=
| hitfireball=
| hitharm=
| hitlightning=
| hitmagicarrow=
| hitcoldarea=
| hitenergyarea=
| hitfirearea=
| hitphysicalarea=
| hitpoisonarea=
| hitmanaleech=
| hitlowerdefense=
| hitlowerattack=
| hitlifeleech=
| balanced=
| battlelust=
| 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=
| increasedkarmaloss=
| swingspeedincrease=
| usebestweaponskill=
| directdamage=
| physicaldamage=
| firedamage=
| colddamage=
| poisondamage=
| energydamage=
| chaosdamage=
| weapondamage=
| weaponspeed=
| lowerrequirements=
| strengthrequirement=
| onehandedweapon=
| twohandedweapon=
| skillrequired=
| magearmor=
| durability=
| mindurability=
| maxdurability=
| lowerammocost=
| chargesremaining=
| contents=
| standardcontents=
| velocity=
| range=
| weightreduction=
| replenishcharges=
| increasedkarmaloss=
| spells=
| turnedon=
| turnedoff=
| petals=
| commontracks=
| uncommontracks=
| raretracks=
}}