Difference between revisions of "Template:Quest Item"

From Fallen Sword Wiki
Jump to: navigation, search
 
(18 intermediate revisions by 5 users not shown)
Line 7: Line 7:
 
| valign="top" |
 
| valign="top" |
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
'''Type:''' {{Quest Item}}<br>
+
'''Type:''' [[:Category:Quest Items|Quest Item]]<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>
+
 
'''Craftable:''' {{{craftable|No}}}
 
'''Craftable:''' {{{craftable|No}}}
 
|-
 
|-
Line 23: Line 14:
 
|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-gained|No}}} | No || '''Gained in quest:'''<br>'''&bull;''' [[{{{quest-gained|}}}]]<br>}}{{#ifeq: {{{quest-used|No}}} | No || '''Used in quest:'''<br>'''&bull;''' [[{{{quest-used|}}}]]<br>}}{{#ifeq: {{{quest-rewarded|No}}} | No || '''Obtained from quest:'''<br>'''&bull;''' [[{{{quest-rewarded|}}}]]<br>}}{{#ifeq: {{{won|No}}} | No || '''Won in:'''<br>'''&bull;''' [[{{{won|}}}]]<br>}}{{#ifeq: {{{recipe|No}}} | No || '''Made from Recipe:'''<br>'''&bull;''' [[{{{recipe|}}}]]<br>}}{{#ifeq: {{{recipe-used|No}}} | No || '''Used in Recipe:'''<br>'''&bull;''' [[{{{recipe-used|}}}]]<br>}}
+
{{#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: {{{shop-6|No}}} | No || '''&bull;''' [[{{{shop-6|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#ifeq: {{{shop-7|No}}} | No || '''&bull;''' [[{{{shop-7|}}}]]: {{formatnum:{{{shop-price}}}}}&nbsp;{{gold}}<br>}}{{#ifeq: {{{quest-rewarded|No}}} | No || '''Obtained from quest:'''<br>'''&bull;''' [[{{{quest-rewarded|}}}]]<br>}}{{#ifeq: {{{quest-gained|No}}} | No || '''Gained in quest:'''<br>'''&bull;''' [[{{{quest-gained|}}}]]<br>}}{{#ifeq: {{{quest-gained-2|No}}} | No || '''&bull;''' [[{{{quest-gained-2|}}}]]<br>}}{{#ifeq: {{{quest-gained-3|No}}} | No || '''&bull;''' [[{{{quest-gained-3|}}}]]<br>}}{{#ifeq: {{{quest-gained-4|No}}} | No || '''&bull;''' [[{{{quest-gained-4|}}}]]<br>}}{{#ifeq: {{{quest-gained-5|No}}} | No || '''&bull;''' [[{{{quest-gained-5|}}}]]<br>}}{{#ifeq: {{{quest-used|No}}} | No || '''Used in quest(s):'''<br>'''&bull;''' [[{{{quest-used|}}}]]<br>}}{{#ifeq: {{{quest-used-2|No}}} | No || '''&bull;''' [[{{{quest-used-2|}}}]]<br>}}{{#ifeq: {{{quest-used-3|No}}} | No || '''&bull;''' [[{{{quest-used-3|}}}]]<br>}}{{#ifeq: {{{chest-used|No}}} | No || '''Opens the following chests:'''<br>'''&bull;''' [[{{{chest-used|}}}]]<br>}}{{#ifeq: {{{chest-used-2|No}}} | No || '''&bull;''' [[{{{chest-used-2|}}}]]<br>}}{{#ifeq: {{{chest-used-3|No}}} | No || '''&bull;''' [[{{{chest-used-3|}}}]]<br>}}{{#ifeq: {{{chest-used-4|No}}} | No || '''&bull;''' [[{{{chest-used-4|}}}]]<br>}}{{#ifeq: {{{chest-used-5|No}}} | No || '''&bull;''' [[{{{chest-used-5|}}}]]<br>}}{{#ifeq: {{{won|No}}} | No || '''Won in:'''<br>'''&bull;''' [[{{{won|}}}]]<br>}}{{#ifeq: {{{recipe|No}}} | No || '''Made from Recipe:'''<br>'''&bull;''' [[{{{recipe|}}}]]<br>}}{{#ifeq: {{{recipe-used|No}}} | No || <br>'''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: {{{recipe-used-5|No}}} | No || '''&bull;''' [[{{{recipe-used-5|}}}]]<br>}}{{#ifeq: {{{recipe-used-6|No}}} | No || '''&bull;''' [[{{{recipe-used-6|}}}]]<br>}}{{#ifeq: {{{recipe-used-7|No}}} | No || '''&bull;''' [[{{{recipe-used-7|}}}]]<br>}}{{#ifeq: {{{recipe-used-8|No}}} | No || '''&bull;''' [[{{{recipe-used-8|}}}]]<br>}}{{#ifeq: {{{recipe-used-9|No}}} | No || '''&bull;''' [[{{{recipe-used-9|}}}]]<br>}}{{#ifeq: {{{recipe-used-10|No}}} | No || '''&bull;''' [[{{{recipe-used-10|}}}]]<br>}}{{#ifeq: {{{recipe-used-11|No}}} | No || '''&bull;''' [[{{{recipe-used-11|}}}]]<br>}}{{#ifeq: {{{recipe-used-12|No}}} | No || '''&bull;''' [[{{{recipe-used-12|}}}]]<br>}}{{#ifeq: {{{recipe-used-13|No}}} | No || '''&bull;''' [[{{{recipe-used-13|}}}]]<br>}}{{#ifeq: {{{recipe-used-14|No}}} | No || '''&bull;''' [[{{{recipe-used-14|}}}]]<br>}}{{#ifeq: {{{recipe-used-15|No}}} | No || '''&bull;''' [[{{{recipe-used-15|}}}]]<br>}}{{#ifeq: {{{recipe-used-16|No}}} | No || '''&bull;''' [[{{{recipe-used-16|}}}]]<br>}}{{#ifeq: {{{recipe-used-17|No}}} | No || '''&bull;''' [[{{{recipe-used-17|}}}]]<br>}}{{#ifeq: {{{recipe-used-18|No}}} | No || '''&bull;''' [[{{{recipe-used-18|}}}]]<br>}}{{#ifeq: {{{recipe-used-19|No}}} | No || '''&bull;''' [[{{{recipe-used-19|}}}]]<br>}}{{#ifeq: {{{recipe-used-20|No}}} | No || '''&bull;''' [[{{{recipe-used-20|}}}]]<br>}}
=== Actions ===
+
{{#ifeq: {{{player-bound|No}}} | No | === Actions === |}}
* {{AHlong|{{PAGENAME}}|Search Auction House}}
+
{{#ifeq: {{{player-bound|No}}} | No | '''&bull;''' {{AHlong|{{{name|{{PAGENAME}}}}}|Search Auction House}} |}}
 
|}
 
|}
  
 
{{#ifeq: {{{player-bound|No}}} | No || {{BoundNoTrade}} }}
 
{{#ifeq: {{{player-bound|No}}} | No || {{BoundNoTrade}} }}
 
+
__NOEDITSECTION__
 
[[Category:Items]]
 
[[Category:Items]]
 
[[Category:Quest Items]]
 
[[Category:Quest Items]]
Line 54: Line 45:
 
This template allows easy adding of quest item pages. To use, copy the following code to the quest item's page and fill in the banks. Remove anything that is extra. If a quest item cannot be completely represented by this template, please use the [[User:Belgrave/Quest Item Template|Quest Item Template]].
 
This template allows easy adding of quest item pages. To use, copy the following code to the quest item's page and fill in the banks. Remove anything that is extra. If a quest item cannot be completely represented by this template, please use the [[User:Belgrave/Quest Item Template|Quest Item Template]].
 
<pre>
 
<pre>
{{QuestItem
+
{{Quest Item
 
|image=
 
|image=
 
|name=
 
|name=
 
|rarity=
 
|rarity=
|craftable=
 
 
|drops=
 
|drops=
 
|shop=
 
|shop=
 
|shop-price=
 
|shop-price=
|quest-gained=
 
 
|quest-rewarded=
 
|quest-rewarded=
 +
|quest-gained=
 
|quest-used=
 
|quest-used=
 +
|chest-used=
 
|won=
 
|won=
 
|recipe=
 
|recipe=
Line 74: Line 65:
 
If there is a <tt>\'</tt> in the quest item name, then include the parameter <tt>|ah-name=</tt> with the quest item's name without the <tt>\</tt>.
 
If there is a <tt>\'</tt> in the quest item name, then include the parameter <tt>|ah-name=</tt> with the quest item's name without the <tt>\</tt>.
  
There are also parameters for drops-2 through drops-10 and shop-2 through shop-5. Since shop prices remain constant, there are no alternate shop-price parameters.
+
There are also parameters for drops-2 through drops-10 and shop-2 through shop-5. Since shop prices remain constant, there are no alternate shop-price parameters. For items used in recipes, there are also recipe-used-2 through recipe-used-5 and more can be added as needed. Also, you can use quest-used-2 through quest-used-3 and chest-used-2 through chest-used-5.
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:52, 4 December 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 quest item pages. To use, copy the following code to the quest item's page and fill in the banks. Remove anything that is extra. If a quest item cannot be completely represented by this template, please use the Quest Item Template.

{{Quest Item
|image=
|name=
|rarity=
|drops=
|shop=
|shop-price=
|quest-rewarded=
|quest-gained=
|quest-used=
|chest-used=
|won=
|recipe=
|recipe-used=
|player-bound=
}}

If there is a \' in the quest item name, then include the parameter |ah-name= with the quest item's name without the \.

There are also parameters for drops-2 through drops-10 and shop-2 through shop-5. Since shop prices remain constant, there are no alternate shop-price parameters. For items used in recipes, there are also recipe-used-2 through recipe-used-5 and more can be added as needed. Also, you can use quest-used-2 through quest-used-3 and chest-used-2 through chest-used-5.