User:Tub/Sandbox/Infobox requirements row

Description
This is a sub-template used in infoboxes. It displays the required account upgrades/campaigns to access a specific piece of content.

Parameters

 * color: background color, defaults to none.
 * campaign : campaign, the same parameter passed to Infobox campaign row. Used for auto-detection.
 * multicategory : optional, a category for all articles with multi-campaign requirements.
 * required_all : required_all: y if all the following account upgrades are required, n otherwise. Defaults to y.
 * 1,2,3 : names of each required account upgrade. Can be Prophecies, Factions, Nightfall, Eye of the North or Bonus Mission Pack

Auto Detection
If requirement are given, they will be displayed as is. If parameter 1 is empty, the campaign parameter is checked:
 * War in Kryta: requires Prophecies and Nightfall
 * Hearts of the North: requires Prophecies and Nightfall
 * Winds of Change: requires Factions

Usage
For example, for Zinn's Task: