Difference between revisions of "Template:Potion"

From Fallen Sword Wiki
Jump to: navigation, search
 
(23 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<includeonly>__NOTOC__
 
<includeonly>__NOTOC__
{{#ifeq: {{{player-bound|Yes}}} | Yes | {{BoundNoTrade}}|}}
+
{{#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"|
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: {{{pvpArenaReward|No}}} | No || '''Purchased from PvP Arena Token Shop:''' {{{pvptokenCost}}} {{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>}}
+
{{#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 ===
{{#ifeq: {{{player-bound|No}}} | No | {{AHlong|{{{name|{{PAGENAME}}}}}|Search Auction House for {{PAGENAME}}}}<br>|}}
+
{{#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}}}}
 
{{SearchUFSG|{{PAGENAME}}|Search '''UFSG''' for {{PAGENAME}}}}
  
Line 23: Line 23:
 
== Information ==
 
== 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 35: Line 35:
  
 
__NOEDITSECTION__
 
__NOEDITSECTION__
[[Category:Items]][[Category:Potions]]
+
[[Category:Items]][[Category:Potions]]{{#if: {{{pvpTokenPrice|}}}| [[Category:PvP Arena Rewards]]|}}
 
{{#switch: {{lc:{{{rarity}}}}}
 
{{#switch: {{lc:{{{rarity}}}}}
 
| common = [[Category:Common Items]]
 
| common = [[Category:Common Items]]
Line 96: Line 96:
 
|drops=
 
|drops=
 
|quest-rewarded=
 
|quest-rewarded=
|pvpArenaReward=
+
|pvpTokenPrice=
|pvptokenCost=
+
 
|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=
}}