Difference between revisions of "Template:Recipe"

From Fallen Sword Wiki
Jump to: navigation, search
 
(13 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''Type:''' [[:Category:Recipes|Recipe]]<br>
 
'''Type:''' [[:Category:Recipes|Recipe]]<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>
+
 
'''Success:''' {{{success|}}}<br>
 
'''Success:''' {{{success|}}}<br>
'''Requires Level:''' {{#if: {{{level|}}} | {{{level}}} | 1}}
+
{{#if: {{{level|}}} | '''Requires Level:''' {{{level}}}}}
 
|}
 
|}
 
| width="50%" valign="top" align="left" |
 
| width="50%" valign="top" align="left" |
 
== Information ==
 
== Information ==
{{#ifeq: {{{drops|No}}} | No || '''Dropped by:'''<br>'''&bull;''' [[{{{drops|}}}]]<br>}}{{#ifeq: {{{drops-2|No}}} | No || '''&bull;''' [[{{{drops-2|}}}]]<br>}}{{#ifeq: {{{drops-3|No}}} | No || '''&bull;''' [[{{{drops-3|}}}]]<br>}}{{#ifeq: {{{drops-4|No}}} | No || '''&bull;''' [[{{{drops-4|}}}]]<br>}}{{#ifeq: {{{drops-5|No}}} | No || '''&bull;''' [[{{{drops-5|}}}]]<br>}}{{#ifeq: {{{drops-6|No}}} | No || '''&bull;''' [[{{{drops-6|}}}]]<br>}}{{#ifeq: {{{drops-7|No}}} | No || '''&bull;''' [[{{{drops-7|}}}]]<br>}}{{#ifeq: {{{drops-8|No}}} | No || '''&bull;''' [[{{{drops-8|}}}]]<br>}}{{#ifeq: {{{drops-9|No}}} | No || '''&bull;''' [[{{{drops-9|}}}]]<br>}}{{#ifeq: {{{drops-10|No}}} | No || '''&bull;''' [[{{{drops-10|}}}]]<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: {{{quest-rewarded|No}}} | No || '''Obtained from quest:'''<br>'''&bull;''' [[{{{quest-rewarded|}}}]]<br>}}{{#ifeq: {{{won|No}}} | No || '''Won in:'''<br>'''&bull;''' [[{{{won|}}}]]<br>}}
+
{{#if: {{{drops|}}}| '''Dropped by:'''<br>'''&bull;''' [[{{{drops|}}}]]<br>}}{{#if: {{{drops-2|}}}| '''&bull;''' [[{{{drops-2|}}}]]<br>}}{{#if: {{{drops-3|}}}| '''&bull;''' [[{{{drops-3|}}}]]<br>}}{{#if: {{{drops-4|}}}| '''&bull;''' [[{{{drops-4|}}}]]<br>}}{{#if: {{{drops-5|}}}| '''&bull;''' [[{{{drops-5|}}}]]<br>}}{{#if: {{{drops-6|}}}| '''&bull;''' [[{{{drops-6|}}}]]<br>}}{{#if: {{{drops-7|}}}| '''&bull;''' [[{{{drops-7|}}}]]<br>}}{{#if: {{{drops-8|}}}| '''&bull;''' [[{{{drops-8|}}}]]<br>}}{{#if: {{{drops-9|}}}| '''&bull;''' [[{{{drops-9|}}}]]<br>}}{{#if: {{{drops-10|}}}| '''&bull;''' [[{{{drops-10|}}}]]<br>}}{{#if: {{{shop|}}}| '''Purchased at:'''<br>'''&bull;''' [[{{{shop|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#if: {{{shop-2|}}}| '''&bull;''' [[{{{shop-2|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#if: {{{shop-3|}}}| '''&bull;''' [[{{{shop-3|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#if: {{{shop-4|}}}| '''&bull;''' [[{{{shop-4|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#if: {{{shop-5|}}}| '''&bull;''' [[{{{shop-5|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#if: {{{quest-rewarded|}}}| '''Obtained from quest:'''<br>'''&bull;''' [[{{{quest-rewarded|}}}]]<br>}}{{#if: {{{won|}}}| '''Won in:'''<br>'''&bull;''' [[{{{won|}}}]]<br>}}
 
=== Actions ===
 
=== Actions ===
 
'''&bull;''' {{AHlong|{{PAGENAME}}|Search Auction House}}
 
'''&bull;''' {{AHlong|{{PAGENAME}}|Search Auction House}}
Line 125: Line 116:
 
|component-4-name=
 
|component-4-name=
 
|component-4-amount=
 
|component-4-amount=
 +
|component-5-image=
 +
|component-5-name=
 +
|component-5-amount=
 
|result-name=
 
|result-name=
 
|result-image=
 
|result-image=

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

{{Recipe
|image=
|name=
|rarity=
|success=
|level=
|drops=
|drops-2=
|drops-3=
|drops-4=
|drops-5=
|shop=
|shop-2=
|shop-3=
|shop-4=
|shop-5=
|shop-price=
|quest-rewarded=
|won=
|item-1-image=
|item-1-name=
|item-1-amount=
|item-2-image=
|item-2-name=
|item-2-amount=
|item-3-image=
|item-3-name=
|item-3-amount=
|component-1-image=
|component-1-name=
|component-1-amount=
|component-2-image=
|component-2-name=
|component-2-amount=
|component-3-image=
|component-3-name=
|component-3-amount=
|component-4-image=
|component-4-name=
|component-4-amount=
|component-5-image=
|component-5-name=
|component-5-amount=
|result-name=
|result-image=
}}

There are parameters for up to 10 items and components. Since shop prices remain constant, there are no alternate shop-price parameters.