Difference between revisions of "Template:Potion"

From Fallen Sword Wiki
Jump to: navigation, search
(New page: Potion <noinclude> {{PAGENAME}} </noinclude>)
 
 
(163 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[:Category:Potions|Potion]]
+
<includeonly>__NOTOC__
<noinclude>
+
{{#if: {{{player-bound|}}}| {{#ifeq: {{{player-bound|Yes}}} | Yes | {{BoundNoTrade}}|}}| }}
 +
{|cellpadding="5" width="100%"
 +
|width="50%" valign="top" align="left"|
 +
== Item ==
 +
{|
 +
| {{ItemBox|{{{image|}}}}}
 +
| valign="top" |
 +
'''Name:''' {{#if: {{{name|}}}| {{{name|}}}<br> | {{PAGENAME}}<br>}}
 +
'''Type:''' [[:Category:Potions|Potion]]<br>
 +
'''Rarity:''' {{ItemRarity|{{{rarity}}}}}<br>
 +
'''Craftable:''' {{{craftable|No}}}
 +
|}
 +
 
 +
== 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: {{{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 ===
 +
{{#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"|
 +
== Information ==
 +
'''Min. Level:''' {{{level|}}}<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-3|No}}} | No || '''&bull;''' [[{{{buff-name-3|}}}]] {{{buff-level-3|}}} ({{{duration-3|}}} minutes)<br>}}
 +
{{#ifeq: {{{buff-name-4|No}}} | No || '''&bull;''' [[{{{buff-name-4|}}}]] {{{buff-level-4|}}} ({{{duration-4|}}} minutes)<br>}}
 +
{{#ifeq: {{{buff-name-5|No}}} | No || '''&bull;''' [[{{{buff-name-5|}}}]] {{{buff-level-5|}}} ({{{duration-5|}}} minutes)<br>}}
 +
{{#ifeq: {{{buff-name-6|No}}} | No || '''&bull;''' [[{{{buff-name-6|}}}]] {{{buff-level-6|}}} ({{{duration-6|}}} 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-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-10|}}} ({{{duration-10|}}} minutes)<br>}}
 +
 
 +
__NOEDITSECTION__
 +
[[Category:Items]][[Category:Potions]]{{#if: {{{pvpTokenPrice|}}}| [[Category:PvP Arena Rewards]]|}}
 +
{{#switch: {{lc:{{{rarity}}}}}
 +
| common = [[Category:Common Items]]
 +
| rare = [[Category:Rare Items]]
 +
| unique = [[Category:Unique Items]]
 +
| legendary = [[Category:Legendary Items]]
 +
| super elite = [[Category:Super Elite Items]]
 +
| crystalline = [[Category:Crystalline 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>
 +
<center>
 +
{| width="100%" style="border:3px dashed #f00;"
 +
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Do not edit this page!
 +
|-
 +
| align="center" valign="middle" style="font-family:Verdana;font-weight:normal;" |
 +
<small>If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.</small>
 +
|-
 +
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Editing this page may cause the template to stop working properly for other pages currently using this template.
 +
|}
 +
</center>
 +
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.
 +
<pre>
 +
{{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=
 +
}}
 +
</pre>
 +
 
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

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