Difference between revisions of "Template:Item"

From Fallen Sword Wiki
Jump to: navigation, search
 
(27 intermediate revisions by 5 users not shown)
Line 8: Line 8:
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''Type:''' {{#switch: {{lc:{{{type}}}}}
 
'''Type:''' {{#switch: {{lc:{{{type}}}}}
| armor = {{Armor}}
+
| armor = [[:Category:Armor|Armor]]
| amulet = {{Amulet}}
+
| amulet = [[:Category:Amulets|Amulet]]
| boots = {{Boots}}
+
| boots = [[:Category:Boots|Boots]]
| gloves = {{Gloves}}
+
| gloves = [[:Category:Gloves|Gloves]]
| helmet = {{Helmet}}
+
| helmet = [[:Category:Helmets|Helmet]]
| ring = {{Ring}}
+
| ring = [[:Category:Rings|Ring]]
| shield = {{Shield}}
+
| shield = [[:Category:Shields|Shield]]
| rune = {{Rune}}
+
| rune = [[:Category:Runes|Rune]]
| weapon = {{Weapon}}
+
| weapon = [[:Category:Weapons|Weapon]]
 
|
 
|
 
}}<br>
 
}}<br>
'''Rarity:''' {{#switch: {{lc:{{{rarity}}}}}
+
'''Rarity:''' {{ItemRarity|{{{rarity}}}}}<br>
| common = {{Common Item}}
+
| rare = {{Rare Item}}
+
| unique = {{Unique Item}}
+
| legendary = {{Legendary Item}}
+
| super elite = {{Super Elite Item}}
+
| crystalline = {{Crystalline Item}}
+
|
+
}}<br>
+
 
'''Craftable:''' {{{craftable|No}}}
 
'''Craftable:''' {{{craftable|No}}}
 
|-
 
|-
 
|}
 
|}
 
== Information ==
 
== Information ==
{{#ifeq: {{{drops|No}}} | No || '''Dropped by:'''<br>'''&bull;''' [[{{{drops|}}}]]<br>}}
+
{{#ifeq: {{{drops|No}}} | No || '''Dropped by:'''<br>'''&bull;''' [[{{{drops|}}}]]<br>}}{{#ifeq: {{{drops-2|No}}} | No || '''&bull;''' [[{{{drops-2|}}}]]<br>}}{{#ifeq: {{{drops-3|No}}} | No || '''&bull;''' [[{{{drops-3|}}}]]<br>}}{{#ifeq: {{{drops-4|No}}} | No || '''&bull;''' [[{{{drops-4|}}}]]<br>}}{{#ifeq: {{{drops-5|No}}} | No || '''&bull;''' [[{{{drops-5|}}}]]<br>}}{{#ifeq: {{{drops-6|No}}} | No || '''&bull;''' [[{{{drops-6|}}}]]<br>}}{{#ifeq: {{{drops-7|No}}} | No || '''&bull;''' [[{{{drops-7|}}}]]<br>}}{{#ifeq: {{{drops-8|No}}} | No || '''&bull;''' [[{{{drops-8|}}}]]<br>}}{{#ifeq: {{{drops-9|No}}} | No || '''&bull;''' [[{{{drops-9|}}}]]<br>}}{{#ifeq: {{{drops-10|No}}} | No || '''&bull;''' [[{{{drops-10|}}}]]<br>}}{{#ifeq: {{{shop|No}}} | No || '''Purchased at:'''<br>'''&bull;''' [[{{{shop|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#ifeq: {{{shop-2|No}}} | No || '''&bull;''' [[{{{shop-2|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#ifeq: {{{shop-3|No}}} | No || '''&bull;''' [[{{{shop-3|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#ifeq: {{{shop-4|No}}} | No || '''&bull;''' [[{{{shop-4|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#ifeq: {{{shop-5|No}}} | No || '''&bull;''' [[{{{shop-5|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#ifeq: {{{titan-rewards-price|No}}} | No || '''Purchased at:'''<br>'''&bull;''' [[Titan Rewards]] for {{formatnum:{{{titan-rewards-price|}}}}}&nbsp;TKP<br>}}{{#ifeq: {{{quest-rewarded|No}}} | No || '''Obtained from quest:'''<br>'''&bull;''' [[{{{quest-rewarded|}}}]]<br>}}{{#ifeq: {{{quest-used|No}}} | No || '''Used in quest:'''<br>'''&bull;''' [[{{{quest-used|}}}]]<br>}}{{#ifeq: {{{won|No}}} | No || '''Won in:'''<br>'''&bull;''' [[{{{won|}}}]]<br>}}{{#ifeq: {{{chest|No}}} | No || '''Found in:'''<br>'''&bull;''' [[{{{chest|}}}]]<br>}}{{#ifeq: {{{recipe|No}}} | No || '''Made from Recipe:'''<br>'''&bull;''' [[{{{recipe|}}}]]<br>}}{{#ifeq: {{{recipe-used|No}}} | No || '''Used in Recipe(s):'''<br>'''&bull;''' [[{{{recipe-used|}}}]]<br>}}{{#ifeq: {{{recipe-used-2|No}}} | No || '''&bull;''' [[{{{recipe-used-2|}}}]]<br>}}{{#ifeq: {{{recipe-used-3|No}}} | No || '''&bull;''' [[{{{recipe-used-3|}}}]]<br>}}{{#ifeq: {{{recipe-used-4|No}}} | No || '''&bull;''' [[{{{recipe-used-4|}}}]]<br>}}
{{#ifeq: {{{shop|No}}} | No || '''Purchased at:'''<br>'''&bull;''' [[{{{shop|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}
+
{{#ifeq: {{{quest-rewarded|No}}} | No || '''Obtained from quest:'''<br>'''&bull;''' [[{{{quest-rewarded|}}}]]<br>}}
+
{{#ifeq: {{{quest-used|No}}} | No || '''Used in quest:'''<br>'''&bull;''' [[{{{quest-used|}}}]]<br>}}
+
 
=== Actions ===
 
=== Actions ===
 
'''&bull;''' [[{{PAGENAME}}/Hellforged|Check Hellforged Stats]]<br>
 
'''&bull;''' [[{{PAGENAME}}/Hellforged|Check Hellforged Stats]]<br>
Line 50: Line 39:
 
|
 
|
 
}}<br>
 
}}<br>
'''&bull;''' {{AHlong|{{urlencode:{{{ah-name|{{PAGENAME}}}}}}}|Search Auction House}}
+
'''&bull;''' {{AHlong|{{{ah-name|{{PAGENAME}}}}}|Search Auction House}}
 
|width="33%" valign="top" align="left"|
 
|width="33%" valign="top" align="left"|
 
== Statistics ==
 
== Statistics ==
Line 61: Line 50:
 
| '''Durability:'''
 
| '''Durability:'''
 
| align="right" | <tt>{{formatnum:{{{durability|}}}}}</tt>
 
| align="right" | <tt>{{formatnum:{{{durability|}}}}}</tt>
{{#ifeq: {{{stat-1|0}}} | 0 || {{IStat|bg=eeeeff|stat={{{stat-1|}}}|value={{{stat-1-value|0}}}}}
+
{{#ifeq: {{{stat-1|0}}} | 0 |{{!end}} | {{IStat|bg=eeeeff|stat={{{stat-1|}}}|value={{{stat-1-value|0}}}}}
 
{{#ifeq: {{{stat-2|0}}} | 0 | {{#ifeq: {{{stat-1|0}}} | 0 ||{{!end}}}} | {{IStat|stat={{{stat-2|}}}|value={{{stat-2-value|0}}}}}
 
{{#ifeq: {{{stat-2|0}}} | 0 | {{#ifeq: {{{stat-1|0}}} | 0 ||{{!end}}}} | {{IStat|stat={{{stat-2|}}}|value={{{stat-2-value|0}}}}}
 
{{#ifeq: {{{stat-3|0}}} | 0 | {{#ifeq: {{{stat-2|0}}} | 0 ||{{!end}}}} | {{IStat|bg=eeeeff|stat={{{stat-3|}}}|value={{{stat-3-value|0}}}}}
 
{{#ifeq: {{{stat-3|0}}} | 0 | {{#ifeq: {{{stat-2|0}}} | 0 ||{{!end}}}} | {{IStat|bg=eeeeff|stat={{{stat-3|}}}|value={{{stat-3-value|0}}}}}
Line 225: Line 214:
 
| super elite = [[Category:Super Elite Items]]
 
| super elite = [[Category:Super Elite Items]]
 
| crystalline = [[Category:Crystalline Items]]
 
| crystalline = [[Category:Crystalline Items]]
 +
| epic = [[Category:Epic Items]]
 
|  
 
|  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Line 242: Line 232:
 
|image=
 
|image=
 
|name=
 
|name=
|ah-name=
 
 
|type=
 
|type=
 
|rarity=
 
|rarity=
Line 251: Line 240:
 
|shop=
 
|shop=
 
|shop-price=
 
|shop-price=
 +
|titan-rewards-price=
 
|quest-rewarded=
 
|quest-rewarded=
 
|quest-used=
 
|quest-used=
 +
|won=
 +
|chest=
 +
|recipe=
 +
|recipe-used=
 
|stat-1=
 
|stat-1=
 
|stat-1-value=
 
|stat-1-value=
Line 451: Line 445:
 
</pre>
 
</pre>
  
 +
If there is a <tt>\'</tt> in the item name, then include the parameter <tt>|ah-name=</tt> with the item's name without the <tt>\</tt>.
 +
 +
There are also parameters for drops-2 through drops-10 and shop-2 through shop-5. Since shop prices remain constant, there are no alternate shop-price parameters.
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:43, 29 March 2022

Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working properly for other pages currently using this template.

This template allows easy adding of item pages. To use, copy the following code to the item's page and fill in the banks. Remove anything that is extra. If an item cannot be completely represented by this template, please use the Item Template.

{{Item
|image=
|name=
|type=
|rarity=
|craftable=
|level=
|durability=
|drops=
|shop=
|shop-price=
|titan-rewards-price=
|quest-rewarded=
|quest-used=
|won=
|chest=
|recipe=
|recipe-used=
|stat-1=
|stat-1-value=
|stat-2=
|stat-2-value=
|stat-3=
|stat-3-value=
|stat-4=
|stat-4-value=
|stat-5=
|stat-5-value=
|stat-6=
|stat-6-value=
|stat-7=
|stat-7-value=
|stat-8=
|stat-8-value=
|stat-9=
|stat-9-value=
|enhancement-1=
|enhancement-1-value=
|enhancement-2=
|enhancement-2-value=
|enhancement-3=
|enhancement-3-value=
|enhancement-4=
|enhancement-4-value=
|enhancement-5=
|enhancement-5-value=
|enhancement-6=
|enhancement-6-value=
|enhancement-7=
|enhancement-7-value=
|enhancement-8=
|enhancement-8-value=
|enhancement-9=
|enhancement-9-value=
|enhancement-10=
|enhancement-10-value=
|enhancement-11=
|enhancement-11-value=
|enhancement-12=
|enhancement-12-value=
|enhancement-13=
|enhancement-13-value=
|enhancement-14=
|enhancement-14-value=
|enhancement-15=
|enhancement-15-value=
|enhancement-16=
|enhancement-16-value=
|enhancement-17=
|enhancement-17-value=
|enhancement-18=
|enhancement-18-value=
|enhancement-19=
|enhancement-19-value=
|enhancement-20=
|enhancement-20-value=
|enhancement-21=
|enhancement-21-value=
|enhancement-22=
|enhancement-22-value=
|enhancement-23=
|enhancement-23-value=
|enhancement-24=
|enhancement-24-value=
|enhancement-25=
|enhancement-25-value=
|set=
|set-item-1=
|set-item-2=
|set-item-3=
|set-item-4=
|set-item-5=
|set-item-6=
|set-item-7=
|set-item-8=
|set-item-9=
|very-poor-attack-min=
|very-poor-attack-max=
|very-poor-defense-min=
|very-poor-defense-max=
|very-poor-armor-min=
|very-poor-armor-max=
|very-poor-hp-min=
|very-poor-hp-max=
|very-poor-damage-min=
|very-poor-damage-max=
|very-poor-stamina-min=
|very-poor-stamina-max=
|very-poor-stamina-gain-min=
|very-poor-stamina-gain-max=
|very-poor-gold-gain-min=
|very-poor-gold-gain-max=
|very-poor-xp-gain-min=
|very-poor-xp-gain-max=
|poor-attack-min=
|poor-attack-max=
|poor-defense-min=
|poor-defense-max=
|poor-armor-min=
|poor-armor-max=
|poor-hp-min=
|poor-hp-max=
|poor-damage-min=
|poor-damage-max=
|poor-stamina-min=
|poor-stamina-max=
|poor-stamina-gain-min=
|poor-stamina-gain-max=
|poor-gold-gain-min=
|poor-gold-gain-max=
|poor-xp-gain-min=
|poor-xp-gain-max=
|average-attack-min=
|average-attack-max=
|average-defense-min=
|average-defense-max=
|average-armor-min=
|average-armor-max=
|average-hp-min=
|average-hp-max=
|average-damage-min=
|average-damage-max=
|average-stamina-min=
|average-stamina-max=
|average-stamina-gain-min=
|average-stamina-gain-max=
|average-gold-gain-min=
|average-gold-gain-max=
|average-xp-gain-min=
|average-xp-gain-max=
|good-attack-min=
|good-attack-max=
|good-defense-min=
|good-defense-max=
|good-armor-min=
|good-armor-max=
|good-hp-min=
|good-hp-max=
|good-damage-min=
|good-damage-max=
|good-stamina-min=
|good-stamina-max=
|good-stamina-gain-min=
|good-stamina-gain-max=
|good-gold-gain-min=
|good-gold-gain-max=
|good-xp-gain-min=
|good-xp-gain-max=
|very-good-attack-min=
|very-good-attack-max=
|very-good-defense-min=
|very-good-defense-max=
|very-good-armor-min=
|very-good-armor-max=
|very-good-hp-min=
|very-good-hp-max=
|very-good-damage-min=
|very-good-damage-max=
|very-good-stamina-min=
|very-good-stamina-max=
|very-good-stamina-gain-min=
|very-good-stamina-gain-max=
|very-good-gold-gain-min=
|very-good-gold-gain-max=
|very-good-xp-gain-min=
|very-good-xp-gain-max=
|excellent-attack-min=
|excellent-attack-max=
|excellent-defense-min=
|excellent-defense-max=
|excellent-armor-min=
|excellent-armor-max=
|excellent-hp-min=
|excellent-hp-max=
|excellent-damage-min=
|excellent-damage-max=
|excellent-stamina-min=
|excellent-stamina-max=
|excellent-stamina-gain-min=
|excellent-stamina-gain-max=
|excellent-gold-gain-min=
|excellent-gold-gain-max=
|excellent-xp-gain-min=
|excellent-xp-gain-max=
|perfect-attack=
|perfect-defense=
|perfect-armor=
|perfect-hp=
|perfect-damage=
|perfect-stamina=
|perfect-stamina-gain=
|perfect-gold-gain=
|perfect-xp-gain=
}}

If there is a \' in the item name, then include the parameter |ah-name= with the item's name without the \.

There are also parameters for drops-2 through drops-10 and shop-2 through shop-5. Since shop prices remain constant, there are no alternate shop-price parameters.