Difference between revisions of "Template:HoHVendor"

From SpiralKnights

Jump to: navigation, search
m (test less wordy appearance)
m (restore pricing information for convenience, because the information display in acquisition pages has been visually simplified (no longer using blanket statement)
Line 1: Line 1:
 
<includeonly>{{#switch:{{{1|}}}
 
<includeonly>{{#switch:{{{1|}}}
|#default =[[{{{1}}}]] - 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 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]] - 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 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
+
}}
}} (bound).</includeonly><noinclude>
+
}} or higher (bound).</includeonly><noinclude>
 
{{documentation}} [[Category:Linking Templates|Vendor]]</noinclude>
 
{{documentation}} [[Category:Linking Templates|Vendor]]</noinclude>

Revision as of 21:41, 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