Difference between revisions of "Template:HoHVendor"

From SpiralKnights

Jump to: navigation, search
m (seeing how this consistency feels)
m (actually, it might be easier to include the icon in vendor templates instead of the Item/Acquisition system)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{name|}}}
+
<includeonly>{{Recipe/Icon}}: {{#switch:{{{1|}}}
|#default =[[{{{name}}}]] - Always in [[Hall of Heroes]] if the player is [[Player Rank|rank]] {{#switch:{{{star|3}}}
+
|#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
}}{{#switch:{{{star|}}}|#default=&nbsp;or higher|5=}} (bound)
+
}}  
|Zebulon =[[Zebulon]] - Always in [[Hall of Heroes]] if the player is [[Player Rank|rank]] {{#switch:{{{star|3}}}
+
|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
}}{{#switch:{{{star|}}}|#default=&nbsp;or higher|5=}} (bound)
+
}}
}}</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