Difference between revisions of "Template:Potion"

From Fallen Sword Wiki
Jump to: navigation, search
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''Type:''' [[:Category:Potions|Potion]]<br>
 
'''Type:''' [[:Category:Potions|Potion]]<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}}
+
| epic = {{Epic 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: {{{quest-rewarded|No}}} | No || '''Obtained from quest:'''<br>'''&bull;''' [[{{{quest-rewarded|}}}]]<br>}}{{#ifeq: {{{game-gift|No}}} | No || '''Game Gift from:'''<br>'''&bull;''' [[{{{game-gift|}}}]]<br>{{#ifeq: {{{allegiance-token-amount|No}}} | No || '''-''' {{{allegiance-token-amount|}}} {{AT}} }} {{#ifeq: {{{gold-amount|No}}} | No || '''or''' {{{gold-amount|}}} {{Gold}} }}<br>}}{{#ifeq: {{{won|No}}} | No || '''Won in:'''<br>'''&bull;''' [[{{{won|}}}]]<br>}}{{#ifeq: {{{won-2|No}}} | No || '''&bull;''' [[{{{won-2|}}}]]<br>}}{{#ifeq: {{{chest|No}}} | No || '''Found in:'''<br>'''&bull;''' [[{{{chest|}}}]]<br>}}{{#ifeq: {{{chest-2|No}}} | No || '''&bull;''' [[{{{chest-2|}}}]]<br>}}{{#ifeq: {{{chest-3|No}}} | No || '''&bull;''' [[{{{chest-3|}}}]]<br>}}{{#ifeq: {{{chest-4|No}}} | No || '''&bull;''' [[{{{chest-4|}}}]]<br>}}{{#ifeq: {{{chest-5|No}}} | No || '''&bull;''' [[{{{chest-5|}}}]]<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 || '''&bull;''' [[{{{chest-4|}}}]]<br>}}{{#ifeq: {{{shopprice|No}}} | No || '''&bull;''' [[{{{chest-5|}}}]]<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: {{{drops-2|No}}} | No || '''&bull;''' [[{{{drops-2|}}}]]<br>}}
+
{{#ifeq: {{{quest-rewarded|No}}} | No || '''Obtained from quest:'''<br>'''&bull;''' [[{{{quest-rewarded|}}}]]<br>}}
+
{{#ifeq: {{{game-gift|No}}} | No || '''Game Gift from:'''<br>'''&bull;''' [[{{{game-gift|}}}]] {{#ifeq: {{{allegiance-token-amount|No}}} | No || '''-''' {{{allegiance-token-amount|}}} {{AT}} }} {{#ifeq: {{{gold-amount|No}}} | No || '''or''' {{{gold-amount|}}} {{Gold}} }}<br>}}
+
{{#ifeq: {{{won|No}}} | No || '''Won in:'''<br>'''&bull;''' [[{{{won|}}}]]<br>}}
+
{{#ifeq: {{{won-2|No}}} | No || '''&bull;''' [[{{{won-2|}}}]]<br>}}
+
{{#ifeq: {{{chest|No}}} | No || '''Found in:'''<br>'''&bull;''' [[{{{chest|}}}]]<br>}}
+
{{#ifeq: {{{chest-2|No}}} | No || '''&bull;''' [[{{{chest-2|}}}]]<br>}}
+
{{#ifeq: {{{chest-3|No}}} | No || '''&bull;''' [[{{{chest-3|}}}]]<br>}}
+
{{#ifeq: {{{chest-4|No}}} | No || '''&bull;''' [[{{{chest-4|}}}]]<br>}}
+
{{#ifeq: {{{chest-5|No}}} | No || '''&bull;''' [[{{{chest-5|}}}]]<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 || '''&bull;''' [[{{{chest-4|}}}]]<br>}}
+
{{#ifeq: {{{shopprice|No}}} | No || '''&bull;''' [[{{{chest-5|}}}]]<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>}}
+
  
 
=== Actions ===
 
=== Actions ===
Line 133: Line 106:
 
|recipe=
 
|recipe=
 
|recipe-used=
 
|recipe-used=
 +
|shop=
 +
|shop-price=
 
|player-bound=
 
|player-bound=
 
}}
 
}}

Revision as of 13:52, 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 potion pages. To use, copy the following code to the potion's page and fill in the banks. Remove anything that is extra. If a potion cannot be completely represented by this template, please use the talk page to request a change to this template.

{{Potion
|image=
|name=
|rarity=
|level=
|buff-name=
|buff-level=
|duration=
|buff-name-2=
|buff-level-2=
|duration-2=
|buff-name-3=
|buff-level-3=
|duration-3=
|buff-name-4=
|buff-level-4=
|duration-4=
|buff-name-5=
|buff-level-5=
|duration-5=
|buff-name-6=
|buff-level-6=
|duration-6=
|buff-name-7=
|buff-level-7=
|duration-7=
|buff-name-8=
|buff-level-8=
|duration-8=
|buff-name-9=
|buff-level-9=
|duration-9=
|buff-name-10=
|buff-level-10=
|duration-10=
|drops=
|quest-rewarded=
|game-gift=
|allegiance-token-amount=
|gold-amount=
|won=
|won-2=
|chest=
|chest-2=
|chest-3=
|chest-4=
|chest-5=
|recipe=
|recipe-used=
|shop=
|shop-price=
|player-bound=
}}