Difference between revisions of "Template:Item"

From Fallen Sword Wiki
Jump to: navigation, search
(Updated rarity colors to meet WCAG AA standards.)
(Changed rarity switch to use templates)
Line 20: Line 20:
 
}}<br>
 
}}<br>
 
'''Rarity:''' {{#switch: {{lc:{{{rarity}}}}}
 
'''Rarity:''' {{#switch: {{lc:{{{rarity}}}}}
| common = [[:Category:Common Items|<span style="color:#000000;">Common</span>]]
+
| common = {{Common Item}}
| rare = [[:Category:Rare Items|<span style="color:#008575;">Rare</span>]]
+
| rare = {{Rare Item}}
| unique = [[:Category:Unique Items|<span style="color:#DB00AC;">Unique</span>]]
+
| unique = {{Unique Item}}
| legendary = [[:Category:Legendary Items|<span style="color:#787A00;">Legendary</span>]]
+
| legendary = {{Legendary Item}}
| super elite = [[:Category:Super Elite Items|<span style="color:#EB0000;">Super Elite</span>]]
+
| super elite = {{Super Elite Item}}
| crystalline = [[:Category:Crystalline Items|<span style="color:#9C45F2;">Crystalline</span>]]
+
| crystalline = {{Crystalline Item}}
| epic = [[:Category:Epic Items|<span style="color:#118906;">Epic</span>]]
+
| epic = {{Epic Item}}
 
|  
 
|  
 
}}<br>
 
}}<br>

Revision as of 13:34, 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.