Difference between revisions of "Template:HoHVendor"

From SpiralKnights

Jump to: navigation, search
m (that darn sneaky Zebulon switch)
m (actually, it might be easier to include the icon in vendor templates instead of the Item/Acquisition system)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
+
<includeonly>{{Recipe/Icon}}: {{#switch:{{{1|}}}
|#default =[[{{{1}}}]] - All recipes purchased from this vendor are acquired bound. The recipe for this item is always in stock if the player is [[Player Rank|rank]] {{#switch:{{{2}}}
+
|#default =[[{{{1}}}]] - Always in stock for {{#switch:{{{2}}}
|0 =  
+
|0 = N/A
|1 =
+
|1 = N/A
 +
|2 = 1,000
 +
|3 = 4,000
 +
|4 = 10,000
 +
|5 = 25,000
 +
}} crowns in the [[Hall of Heroes]] if the player is [[Player Rank|rank]] {{#switch:{{{2}}}
 +
|0 = N/A
 +
|1 = N/A
 
|2 = 4-1
 
|2 = 4-1
 
|3 = 5-2
 
|3 = 5-2
 
|4 = 6-2
 
|4 = 6-2
 
|5 = 8-2
 
|5 = 8-2
}} or higher
+
}}  
|Zebulon = [[Zebulon]] - All recipes purchased from this vendor are acquired bound. Always in stock if the player is [[Player Rank|rank]] {{#switch:{{{2}}}
+
|Zebulon =[[Zebulon]] - Always in stock for {{#switch:{{{2}}}
 +
|0 = N/A
 +
|1 = N/A
 +
|2 = 1,000
 +
|3 = 4,000
 +
|4 = 10,000
 +
|5 = 25,000
 +
}} crowns in the [[Hall of Heroes]] if the player is [[Player Rank|rank]] {{#switch:{{{2}}}
 
|0 =  
 
|0 =  
 
|1 =
 
|1 =
Line 15: Line 29:
 
|4 = 6-2
 
|4 = 6-2
 
|5 = 8-2
 
|5 = 8-2
}} or higher
+
}}
}}.</includeonly><noinclude>
+
}} or higher (bound).</includeonly><noinclude>
 
{{documentation}} [[Category:Linking Templates|Vendor]]</noinclude>
 
{{documentation}} [[Category:Linking Templates|Vendor]]</noinclude>

Latest revision as of 22:43, 28 December 2015

[edit] [purge] Template documentation

Usage

To consistently place information about Hall of Heroes vendors on pages, emphasizing the bound state of the recipes available.

Code

{{HoHVendor|NAME|STARLEVEL}}

Parameters

Required

1
The name of the vendor
2
The star level of the item

Notes

Forum Discussion about this template.

Zebulon breaks the pattern. This exception is easily taken care of with switches in template.

If we encounter more special exceptions in the future, this template should reduce editor workload.

Personal tools