User:Mtew/templates/Formats/Format require

{{ #switch: {{lc:{{defs|nationality|{{{nationality|{{lookup|product nationals|{{defs|campaign|{{{campaign|}}} }} }} }}} }} }} }}
 * all | base      = *  Tyrian (Prophecies},  Canthan (Factions), or  Elonian (Nightfall) character
 * tyria | tyrian  = *  Tyrian (Prophecies) character
 * non-tyrian      = *  Canthan (Factions) or  Elonian (Nightfall) character
 * cantha | canthan = * Canthan (Factions) character
 * non-canthan     = *  Tyrian (Prophecies) or  Elonian (Nightfall) character
 * elona | elonian = *  Elonian (Nightfall) character
 * non-elonian     = *  Tyrian (Prophecies) or  Canthan (Factions) character

Description
Produce a list of the standard requirements for a quest in a particular campaign. Will not always be applicable to every quest, but should improve consistency (and reduce tedium) for those for which it is appropriate.

Parameters

 * campaign
 * The identity of the campaign.
 * Prophecies, pre-Searing. (default)
 * Prophecies, post-Searing.
 * Factions.
 * Nightfall.
 * (or ) Eye of the North.
 * (or ) Bonus Mission Pack


 * test
 * Optional (requires campaign = pre or the default value). Whether or not the primary profession test must be complete.
 * The primary profession test must be complete. (default)
 * The primary profession test need not be complete.


 * installed
 * Optional. Another campaign, expansion or bonus mission product that must be installed on the account.


 * nationality
 * Optional. Required character nationality.  (default: by campaign)


 * transfer
 * Optional, The identity of the campaign being transferred to.
 * (or ).
 * (or ).
 * (or ).
 * (or ).
 * (or ).


 * hero
 * Optional. Hero required in party.  (default: unset)


 * profession
 * Optional. Profession (either in full, or abbreviated).  (default: unset)


 * primary
 * Optional (requires profession =). Whether or not the profession must be the primary profession.  Possible values:
 * Either primary or secondary permitted. (default)
 * Only primary permitted.


 * secondary
 * Optional (requires profession =). Whether or not a secondary profession disqualifies.  Possible values:
 * Characters with a secondary profession are disqualified. (default)
 * Characters with no secondary profession also permitted.


 * locked
 * Optional. Link(s) to areas which must not be accessible.


 * unlocked
 * Optional. Link(s) to areas which must be accessible.


 * active
 * Optional. Link(s) to quests or missions which must be active


 * inactive
 * Optional. Link(s) to quests or missions which must not be active (but may be completed).


 * complete
 * Optional. Link(s) to quests or missions which must be completed.


 * incomplete
 * Optional. Link(s) to quests or missions which must not be completed.
 * started
 * Optional. Link(s) to quests or missions which must be active or completed.


 * unstarted
 * Optional. Link(s) to quests or missions which must be neither active nor completed (but may be abandoned or failed)


 * minimum
 * Optional. Minimum level


 * maximum
 * Optional. Maximum level

Examples
While the following examples are quite simplistic, they also serve as unit tests to verify this templates implementation.