User:Tub/Sandbox/Infobox campaign row

Description
This is a sub-template used in infoboxes. It inserts a row based on the catch-all "campaign" parameter, splitting into campaigns, events etc.

Parameters

 * 1 : campaign. See source code for a list of detected values.
 * 2 : background-color. Optional, defaults to none.
 * beyondcat : Optional category suffix. If the campaign is a Beyond chapter, the page will be added to "Category:Beyond "