Template:ShopFromCategory

From Inkipedia, the Splatoon wiki

Prints out the Shop that sells the items of a specific category.

Parameters

{{ShopFromCategory|<game>|<category>}}

game Unnamed, required. The game that the ability and brand belong to. Must be one of the following:
  • S for Splatoon
  • S2 for Splatoon 2
  • S3 for Splatoon 3
category Unnamed, required. The category of items sold by the shop - if an invalid value is given, the template will evaluate empty. Has to be one of the following:
  • Headgear
  • Clothing
  • Shoes
  • Weapons

Examples

Markup

{{ShopFromCategory|S|Headgear}}<br />
{{ShopFromCategory|S2|Clothing}}<br />
{{Shop|game=S2|{{ShopFromCategory|S2|Weapons}}}}<br />
"{{ShopFromCategory|S2|Legwear}}"

Output

Cooler Heads
Ye Olde Cloth Shoppe
Lua error in Module:Shop at line 47: bad argument #3 to 'format' (string expected, got nil).
""