Difference between revisions of "Template:Potion"

From Fallen Sword Wiki
Jump to: navigation, search
 
(18 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|No}}}| {{{PAGENAME}}} || {{{name|}}<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 17: Line 17:
  
 
=== 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}}}}
  

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