Template:Infobox Item: Difference between revisions

From Echoes of Angmar
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>[[Category:General Wiki Templates|{{PAGENAME}}]]
<noinclude>[[Category:General Wiki Templates|{{PAGENAME}}]]
= Template =</noinclude>
= Template =</noinclude>
{| class="item-infobox" width=280px; style="background: #1F1F1F; font-family: sans-serif; border: 2px solid darkgrey;"

{| class="item-infobox" width=300px; style="background: #1F1F1F; font-family: sans-serif; border: 2px solid darkgrey;"
|- class="item-header" style="padding: 0px;"
| colspan="0" style="padding-top: 0em; text-align:center;" |
|- class="item-header"
{{#if:{{{image<includeonly>|</includeonly>}}}|[[File:{{{image<noinclude>|image</noinclude>}}}|32px|link=]]}}
! colspan="2" style="padding-top: 0em; " | <span style="font-size: 130%;color: {{ #switch: {{{quality|}}} | legendary = gold | incomparable = cyan | rare = purple | uncommon = Yellow
<span style="font-size: 130%;color: {{ #switch: {{{quality|}}} | legendary = gold | incomparable = cyan | rare = purple | uncommon = Yellow
| common | #default = white }}; font-family:serif;font-stretch=narrower;font-variant: small-caps;">{{{name|{{PAGENAME}}}}}</span><br>
| common | #default = white }}; font-family:serif;font-stretch=narrower;font-variant: small-caps;">{{{name|{{PAGENAME}}}}}</span>
|-
|
{{#if:{{{image<includeonly>|</includeonly>}}}|
<!-- -->{{!}} colspan="2" style="text-align: left;" {{!}} [[Image:{{{image<noinclude>|image</noinclude>}}}]]
}}
|-
|-
{{#if:{{{dye<includeonly>|</includeonly>}}}|
{{#if:{{{dye<includeonly>|</includeonly>}}}|
Line 15: Line 13:
|-
|-
{{#if:{{{unique<includeonly>|</includeonly>}}}|
{{#if:{{{unique<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} Unique }}
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} Unique }} }}
|-
|-
{{#if:{{{bind<includeonly>|</includeonly>}}}|
{{#if:{{{bind<includeonly>|</includeonly>}}}|
Line 24: Line 22:
|-
|-
{{#if:{{{type<includeonly>|</includeonly>}}}|
{{#if:{{{type<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} Type: {{{type}}} }}
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} {{{type}}} }}
|-
|-
{{#if:{{{slot<includeonly>|</includeonly>}}}|
{{#if:{{{slot<includeonly>|</includeonly>}}}|
Line 36: Line 34:
|-
|-
{{#if:{{{damage<includeonly>|</includeonly>}}}|
{{#if:{{{damage<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} Damage: {{{damage}}} }}
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} <span style="white-space: nowrap;">{{{damage}}} </span> }}
|-
|-
{{#if:{{{dps<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: yellow;" {{!}} {{{dps}}} DPS }}
|
{{#if:{{{speed<includeonly>|</includeonly>}}}|
{{#if:{{{speed<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: lightblue;" {{!}} Weapon Speed: {{{speed}}} }}
<!-- -->{{!}} style="vertical-align: top; color: yellow;" {{!}} <span style="white-space: nowrap;">{{{speed}}} speed</span> }}
|-
{{#if:{{{dps<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: yellow;" {{!}} {{{dps}}} Damage Per Second }}
|-
|-
{{#if:{{{ability<includeonly>|</includeonly>}}}|
{{#if:{{{ability<includeonly>|</includeonly>}}}|
Line 61: Line 59:
{{#if:{{{no-combat<includeonly>|</includeonly>}}}|
{{#if:{{{no-combat<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} {{{no-combat}}} }}
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} {{{no-combat}}} }}
|-
{{#if:{{{durability<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} Durability: {{{durability}}} }}
|
{{#if:{{{durability-rank<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} {{{durability-rank}}} }}
|-
|-
{{#if:{{{level<includeonly>|</includeonly>}}}|
{{#if:{{{level<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: red;" {{!}} Minimum Level: {{{level}}} }}
<!-- -->{{!}} style="vertical-align: top; color: red;" {{!}} Minimum Level {{{level}}} }}
|-
|-
{{#if:{{{cooldown<includeonly>|</includeonly>}}}|
{{#if:{{{cooldown<includeonly>|</includeonly>}}}|
Line 73: Line 77:
{{#if:{{{max-range<includeonly>|</includeonly>}}}|
{{#if:{{{max-range<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: cadetblue;" {{!}} Max Range: {{{max-range}}} }}
<!-- -->{{!}} style="vertical-align: top; color: cadetblue;" {{!}} Max Range: {{{max-range}}} }}
|-
{{#if:{{{durability<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} Durability: {{{durability}}} }}
|-
{{#if:{{{durability-rank<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: cadetblue;" {{!}} Sturdiness: {{{durability-rank}}} }}
|-
|-
{{#if:{{{minus-ability<includeonly>|</includeonly>}}}|
{{#if:{{{minus-ability<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top; color: limegreen;" {{!}} {{{minus-ability}}} }}
<!-- -->{{!}} style="vertical-align: top; color: limegreen;" {{!}} {{{minus-ability}}} }}
|-
|-
{{#if:{{concat|{{{worth-g|}}}|{{{worth-s|}}}|{{{worth-c|}}}}}| | |
{{#ifeq:{{concat|{{{worth-g|}}}|{{{worth-s|}}}|{{{worth-c|}}}}}| | |
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} Worth: {{worth|g={{#if:{{{worth-g|}}}|{{{worth-g}}} }} |s={{#if:{{{worth-s|}}}|{{{worth-s}}} }} |c={{#if:{{{worth-c|}}}|{{{worth-c}}} }} }}
<!-- -->{{!}} style="vertical-align: top; color: white;" {{!}} Worth: {{worth|g={{#if:{{{worth-g|}}}|{{{worth-g}}} }} |s={{#if:{{{worth-s|}}}|{{{worth-s}}} }} |c={{#if:{{{worth-c|}}}|{{{worth-c}}} }} }}
}}
}}
Line 136: Line 134:
| common |Common | #default = [[Category:Common Items|{{PAGENAME}}]]
| common |Common | #default = [[Category:Common Items|{{PAGENAME}}]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>



This template is for game items. All items will be assigned the "Items" category but additional categories may be assigned with the category parameters. The more appropriate categories that are used the easier it will be to locate sets of items.
This template is for game items. All items will be assigned the "Items" category but additional categories may be assigned with the category parameters. The more appropriate categories that are used the easier it will be to locate sets of items.

Revision as of 23:35, 8 June 2023

Template

File:Image Infobox Item

Dye: {{{dye}}}
Unique }}
Bind on {{{bind}}}
Indestructible
{{{type}}}
{{{slot}}}
{{{off-hand}}}
Armour Value: {{{armour}}}
{{{damage}}}
{{{dps}}} DPS {{{speed}}} speed
{{{ability}}}
Required Characteristic: {{{characteristic}}}
Requires the {{{profession}}} profession
Required proficiency: {{{proficiency}}}
Requires the {{{class-item}}} class
{{{no-combat}}}
Durability: {{{durability}}} {{{durability-rank}}}
Minimum Level {{{level}}}
Cooldown: {{{cooldown}}}
{{{range-damage}}}
Max Range: {{{max-range}}}
{{{minus-ability}}}
Worth:
Vendor Price:
Description: {{{description}}}
Craft Recipe/Item: [[Item:{{{crafted}}}]]


This template is for game items. All items will be assigned the "Items" category but additional categories may be assigned with the category parameters. The more appropriate categories that are used the easier it will be to locate sets of items.

Usage

{{Infobox Item
| name            = Item Name
| main-category   = Armours, Weapons, Recipes, Foods, Tools, Books,
                    Musical Instruments, Minstrel Instruments, etc.
| second-category = Medium Armours, Heavy Shields, Melee Weapons,
                    Ranged Weapons, Scholar Recipes, etc.
| third-category  = Boots, One-Handed Swords, Two-handed axes, Dye Recipes,
                    Tool Recipes,  etc.
| fourth-category = Crafted Items, Looted Items, Quest Reward Items,
                    Vendor Items, Quest Items
| quality         = legendary    (gold text) 
                    incomparable (teal text) 
                    rare         (purple text) 
                    uncommon     (yellow text) 
                    common       (whitish text)
| image           = Item Image
| dye             = name of dye
| unique          = Says Unique
| bind            = Acquire or Use  aka 'Bind on Acquire' or 'Bind on Use'
| indestructible  = Says Indestructible
| type            = One-handed Sword, Two-handed Axe, etc
| slot            = Tool, Main hand, etc  Use <br> to separate multiple slots
| off-hand        = Off-hand
| armour          = Armour Value:....
| damage          = Damage:   value and type
| speed           = Weapon Speed:
| dps             = Damage Per Second
| ability         = (green text) Hit chance increases, adds to Might, etc
| characteristic  = Required Characteristic: Lute Use
| profession      = Requires the <?> profession
| proficiency     = Required proficiency: <?>
| no-combat       = 'Cannot use in combat'
| level           = Minimum Level: value...... 
| cooldown        = Cooldown: 10 s...
| range-damage    = 17 - 24 common damage
| max-range       = Max Range: 20
| durability      = Durability: "100 / 100" 
| durability-rank = Durability: Brittle, Normal (normally light blue text)  
| worth-g         = Gold   \
| worth-s         = Silver - Sell Price of an Item 
| worth-c         = Copper /
| vendor-g         = Gold   \
| vendor-s         = Silver - Price of an Item at Vendor
| vendor-c         = Copper /
| minus-ability   = Subtracts XX from XX Value (green text)
| description     = Description: yada yada yada (white text after worth)
| crafted         = Recipe name or crafted item name
}}


All fields, except 'name' are optional. You can use <br> to force a line break on a field.

{{Infobox Item
| name            =
| main-category   =
| second-category =
| third-category  =
| fourth-category = 
| dye             = 
| quality         = 
| image           =
| unique          = 
| bind            =
| indestructible  = 
| type            = 
| slot            = 
| off-hand        = 
| armour          = 
| damage          = 
| speed           = 
| dps             = 
| ability         = 
| characteristic  = 
| profession      = 
| proficiency     = 
| no-combat       = 
| level           = 
| cooldown        = 
| range-damage    = 
| max-range       = 
| durability      = 
| durability-rank = 
| worth-g         = 
| worth-s         = 
| worth-c         = 
| vendor-g        = 
| vendor-s        = 
| vendor-c        = 
| minus-ability   = 
| description     = 
| crafted         = 
| class-item      =
}}