Difference between revisions of "Template:Infobox item"
Thadius856 (Talk | contribs) m (Accidentally removed) |
Thadius856 (Talk | contribs) m (Lets try this whitespace again... undoing a few edits) |
||
Line 1: | Line 1: | ||
<includeonly>{| style="float:right; height:auto; width: 250px; text-align:center; border:thick solid black; padding: 0em, 0em, 0em, 0em; vertical-align: top; background: #222222; color: #ffffff" | <includeonly>{| style="float:right; height:auto; width: 250px; text-align:center; border:thick solid black; padding: 0em, 0em, 0em, 0em; vertical-align: top; background: #222222; color: #ffffff" | ||
− | {{#if:{{{image|}}}|{{!}}style="text-align:center;font-size:smaller;font-style:italic;"{{!}}[[Image:{{{image}}}]] | + | {{#if: {{{image|}}} | {{!}} style="text-align: center; font-size: smaller; font-style: italic;" {{!}} [[Image:{{{image}}}]] |
− | {{#if:{{{caption|}}}|<br/>{{{caption}}}}} | + | {{#if: {{{caption|}}} | <br/>{{{caption}}}}} |
− | {{#if: {{{image2|}}}|<br/>[[Image:{{{image2}}}]] | + | {{#if: {{{image2|}}} | <br/>[[Image:{{{image2}}}]] |
− | {{#if: {{{caption2|}}}|<br/>{{{caption2}}}}}}} | + | {{#if: {{{caption2|}}} | <br/>{{{caption2}}}}}}} |
− | |{{!}}{{!}}[[Image:Image Needed.png]][[Category:Item infoboxes without image defined]]}} | + | | {{!}} style="text-align: center;" {{!}} [[Image:Image Needed.png]][[Category:Item infoboxes without image defined]]}} |
− | |- ! style="color: #ffff8f;"| | + | |
− | {{#if:{{{name|}}}|{{{name}}}|Name Undefined![[Category:Item infoboxes without name defined]]}} | + | |- |
+ | ! style="color: #ffff8f;" | | ||
+ | |||
+ | {{#if: {{{name|}}} | {{{name}}} | Name Undefined! [[Category:Item infoboxes without name defined]]}} | ||
<!----------Weight---------> | <!----------Weight---------> |
Revision as of 13:38, 16 September 2008
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 name, image, or weight are not defined, the article will be added to the corresponding category respectively:
- Category:Item infoboxes without name defined
- Category:Item infoboxes without image defined
- Category:Item infoboxes without weight defined
Template Parameters |
---|
{{Infobox item | image= | image2= | name= | weight= | artifactrarity= | elvesonly= | 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= | musicianship= | necromancy= | ninjitsu= | parrying= | peacemaking= | poisoning= | provocation= | removetrap= | resistingspells= | snooping= | spellweaving= | spiritspeak= | stealing= | swordsmanship= | tactics= | tailoring= | tasteidentification= | tinkering= | tracking= | veterinay= | wrestling= | requiremondainslegacy= | spellchanneling= | mageweapon= | hitstaminaleech= | hitdispel= | hitfireball= | hitharm= | hitlightning= | hitmagicarrow= | hitcoldarea= | hitenergyarea= | hitfirearea= | hitphysicalarea= | hitpoisonarea= | hitmanaleech= | hitlowerdefense= | hitlowerattack= | hitlifeleech= | randomprotection=yes | selfrepair= | strengthbonus= | dexteritybonus= | intelligencebonus= | hitpointincrease= | staminaincrease= | manaincrease= | hitpointregeneration= | staminaregeneration= | manaregeneration= | nightsight= | luck= | enhancepotions | hitchanceincrease= | defensechanceincrease= | fastercasting= | fastcastrecovery= | damageincrease= | spelldamageincrease= | lowermanacost= | lowerreagentcost= | arcanecharges= | physicalresist= | fireresist= | coldresist= | poisonresist= | energyresist= | usebestweaponskill= | directdamage= | physicaldamage= | firedamage= | colddamage= | poisondamage= | energydamage= | chaosdamage= | weapondamage= | weaponspeed= | strengthrequirement= | onehandedweapon= | twohandedweapon= | skillrequired= | durability= | mindurability= | maxdurability= | lowerammocost= | contents= | weightreduction= }} |