Difference between revisions of "Template:Potion"

From Fallen Sword Wiki
Jump to: navigation, search
(Undo revision 159435 by MrSuave (talk) Last change was NOT an improvement.)
 
(52 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>__NOTOC__
 
<includeonly>__NOTOC__
 +
{{#if: {{{player-bound|}}}| {{#ifeq: {{{player-bound|Yes}}} | Yes | {{BoundNoTrade}}|}}| }}
 
{|cellpadding="5" width="100%"
 
{|cellpadding="5" width="100%"
 
 
|width="50%" valign="top" align="left"|
 
|width="50%" valign="top" align="left"|
 
== Item ==
 
== Item ==
Line 7: Line 7:
 
| {{ItemBox|{{{image|}}}}}
 
| {{ItemBox|{{{image|}}}}}
 
| valign="top" |
 
| valign="top" |
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
+
'''Name:''' {{#if: {{{name|}}}| {{{name|}}}<br> | {{PAGENAME}}<br>}}
 
'''Type:''' [[:Category:Potions|Potion]]<br>
 
'''Type:''' [[:Category:Potions|Potion]]<br>
 
'''Rarity:''' {{ItemRarity|{{{rarity}}}}}<br>
 
'''Rarity:''' {{ItemRarity|{{{rarity}}}}}<br>
Line 14: Line 14:
  
 
== Information ==
 
== Information ==
{{#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|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: {{{pvpTokenPrice|No}}} | No || '''Purchased at:'''<br>'''&bull;''' '''[[PvP Arena Token Shop]]:''' {{formatnum:{{{pvpTokenPrice}}}}}&nbsp;{{PAT}}<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>}}
  
 
=== Actions ===
 
=== Actions ===
'''&bull;''' {{AHlong|{{{name|{{PAGENAME}}}}}|Search Auction House}}
+
{{#if: {{{player-bound|}}}| {{#ifeq: {{{player-bound|No}}} | No | {{AHlong|{{{name|{{PAGENAME}}}}}|Search Auction House <br>}} | }}| {{AHlong|{{{name|{{PAGENAME}}}}}|Search Auction House <br>}} }}
 +
{{SearchUFSG|{{PAGENAME}}|Search '''UFSG''' for {{PAGENAME}}}}
  
 
|width="50%" valign="top" align="left"|
 
|width="50%" valign="top" align="left"|
== Statistics ==
+
== Information ==
 
'''Min. Level:''' {{{level|}}}<br>
 
'''Min. Level:''' {{{level|}}}<br>
{{#ifeq: {{{buff-name|No}}} | No || '''Buffs: '''<br>'''&bull;''' [[{{{buff-name|}}}]] {{{buff-level|}}} ({{{duration|}}} minutes)<br>}}
+
{{#ifeq: {{{buff-name|No}}} | No || '''Buff(s): '''<br>'''&bull;''' [[{{{buff-name|}}}]] {{{buff-level|}}} ({{{duration|}}} minutes)<br>}}
 
{{#ifeq: {{{buff-name-2|No}}} | No || '''&bull;''' [[{{{buff-name-2|}}}]] {{{buff-level-2|}}} ({{{duration-2|}}} minutes)<br>}}
 
{{#ifeq: {{{buff-name-2|No}}} | No || '''&bull;''' [[{{{buff-name-2|}}}]] {{{buff-level-2|}}} ({{{duration-2|}}} minutes)<br>}}
 
{{#ifeq: {{{buff-name-3|No}}} | No || '''&bull;''' [[{{{buff-name-3|}}}]] {{{buff-level-3|}}} ({{{duration-3|}}} minutes)<br>}}
 
{{#ifeq: {{{buff-name-3|No}}} | No || '''&bull;''' [[{{{buff-name-3|}}}]] {{{buff-level-3|}}} ({{{duration-3|}}} minutes)<br>}}
Line 30: Line 31:
 
{{#ifeq: {{{buff-name-7|No}}} | No || '''&bull;''' [[{{{buff-name-7|}}}]] {{{buff-level-7|}}} ({{{duration-7|}}} minutes)<br>}}
 
{{#ifeq: {{{buff-name-7|No}}} | No || '''&bull;''' [[{{{buff-name-7|}}}]] {{{buff-level-7|}}} ({{{duration-7|}}} minutes)<br>}}
 
{{#ifeq: {{{buff-name-8|No}}} | No || '''&bull;''' [[{{{buff-name-8|}}}]] {{{buff-level-8|}}} ({{{duration-8|}}} minutes)<br>}}
 
{{#ifeq: {{{buff-name-8|No}}} | No || '''&bull;''' [[{{{buff-name-8|}}}]] {{{buff-level-8|}}} ({{{duration-8|}}} minutes)<br>}}
{{#ifeq: {{{buff-name-9|No}}} | No || '''&bull;''' [[{{{buff-name-9|}}}]] {{{buff-level-8|}}} ({{{duration-9|}}} minutes)<br>}}
+
{{#ifeq: {{{buff-name-9|No}}} | No || '''&bull;''' [[{{{buff-name-9|}}}]] {{{buff-level-9|}}} ({{{duration-9|}}} minutes)<br>}}
{{#ifeq: {{{buff-name-10|No}}} | No || '''&bull;''' [[{{{buff-name-10|}}}]] {{{buff-level-8|}}} ({{{duration-10|}}} minutes)<br>}}
+
{{#ifeq: {{{buff-name-10|No}}} | No || '''&bull;''' [[{{{buff-name-10|}}}]] {{{buff-level-10|}}} ({{{duration-10|}}} minutes)<br>}}
  
 
__NOEDITSECTION__
 
__NOEDITSECTION__
[[Category:Items]][[Category:Potions]]{{#switch: {{lc:{{{rarity}}}}}
+
[[Category:Items]][[Category:Potions]]{{#if: {{{pvpTokenPrice|}}}| [[Category:PvP Arena Rewards]]|}}
 +
{{#switch: {{lc:{{{rarity}}}}}
 
| common = [[Category:Common Items]]
 
| common = [[Category:Common Items]]
 
| rare = [[Category:Rare Items]]
 
| rare = [[Category:Rare Items]]
Line 43: Line 45:
 
| epic = [[Category:Epic Items]]
 
| epic = [[Category:Epic Items]]
 
|  
 
|  
}}
+
}}{{#if: {{{buff-name|}}}| {{PotSort|{{{buff-name}}}}}|}}{{#if: {{{buff-name-2|}}}| {{PotSort|{{{buff-name-2}}}}}|}}{{#if: {{{buff-name-3|}}}| {{PotSort|{{{buff-name-3}}}}}|}}{{#if: {{{buff-name-4|}}}| {{PotSort|{{{buff-name-4}}}}}|}}{{#if: {{{buff-name-5|}}}| {{PotSort|{{{buff-name-5}}}}}|}}{{#if: {{{buff-name-6|}}}| {{PotSort|{{{buff-name-6}}}}}|}}{{#if: {{{buff-name-7|}}}| {{PotSort|{{{buff-name-7}}}}}|}}{{#if: {{{buff-name-8|}}}| {{PotSort|{{{buff-name-8}}}}}|}}{{#if: {{{buff-name-9|}}}| {{PotSort|{{{buff-name-9}}}}}|}}{{#if: {{{buff-name-10|}}}| {{PotSort|{{{buff-name-10}}}}}|}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
<center>
 
<center>
Line 94: Line 96:
 
|drops=
 
|drops=
 
|quest-rewarded=
 
|quest-rewarded=
 +
|pvpTokenPrice=
 
|game-gift=
 
|game-gift=
 
|allegiance-token-amount=
 
|allegiance-token-amount=

Latest revision as of 11:27, 12 November 2023

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=
|pvpTokenPrice=
|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=
}}