Difference between revisions of "Template:BazaarVendor"

From SpiralKnights

Jump to: navigation, search
m (add location for convenience)
m (actually, it might be easier to include the icon in vendor templates instead of the Item/Acquisition system)
 
Line 1: Line 1:
<includeonly>[[{{{1}}}]] - {{#switch:{{{2|}}}|always=Always|randomly=Randomly}} in stock for {{#switch:{{{1|}}}|#default={{#switch:{{{3|}}}
+
<includeonly>{{#switch:{{{1}}}|#default={{Arsenal/Icon}}|Vatel={{Recipe/Icon}}}}: [[{{{1}}}]] - {{#switch:{{{2|}}}|always=Always|randomly=Randomly}} in stock for {{#switch:{{{1|}}}|#default={{#switch:{{{3|}}}
 
|0=150
 
|0=150
 
|1=3,000
 
|1=3,000

Latest revision as of 22:45, 28 December 2015

[edit] [purge] Template documentation

Usage

This template should only be used in junction with the Acquisition template system for equipment and recipes for equipment (such as Template:Sword/Acquisition). It is not currently concerned with other ware types such as usables or rarities, because the format of these items do not currently have a complex acquisition section.

Code

{{BazaarVendor|1|2|3}}

Parameters

  • 1
vendor name (Greave, Kragen, Ricasso, Quillion, or Vatel)
  • 2
randomly or always
  • 3
star level

Notes

Template switches rely on status quo for many defaults, but can be adjusted as needed to refer to item type instead of incorporating vendors (as it currently does with Vatel) if the game changes significantly in the future.

Personal tools