User:Mtew/templates/Formats/Format require

From Guild Wars Wiki
Jump to navigationJump to search
  General Talk Characters Diaries Projects   My templates   Special Pages  


  Page Navigation Quest Progress   Standard Formats    
LocLegend Cat all values Five Rows of Four 100 Rows of Four For all 1's Digits For all 10's Digits For all 100's Digits  
        

For all Guideline Items  


  sample /defs Format Rewards Format Environment Changes   Format Requirements    

Description[edit]

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.

{{ Standard prerequisites
| campaign = 
|  test = 
| installed =
| nationality = 
| hero = 
| profession = 
|  primary = 
|  secondary = 
| transfer = 
| locked =
| unlocked =
| active =
| inactive = 
| complete =
| incomplete = 
| started =
| unstarted = 
| minimum =
| maximum = 
}}

Parameters[edit]

campaign
The identity of the campaign.
  • pre Prophecies, pre-Searing. (default)
  • prophecies Prophecies, post-Searing.
  • factions Factions.
  • nightfall Nightfall.
  • eotn (or gwen) Eye of the North.
  • bonus (or bmp) Bonus Mission Pack
test
Optional (requires campaign = pre or the default value). Whether or not the primary profession test must be complete.
  • y The primary profession test must be complete. (default)
  • n 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)
  • Tyrian
  • Canthan
  • Elonian
  • non-Tyrian
  • non-Canthan
  • non-Elonian
  • all
transfer
Optional, The identity of the campaign being transferred to.
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:
  • n Either primary or secondary permitted. (default)
  • y Only primary permitted.
secondary
Optional (requires profession =). Whether or not a secondary profession disqualifies. Possible values:
  • y Characters with a secondary profession are disqualified. (default)
  • n 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

Local Definitions[edit]

Examples[edit]

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

{{ Format require }}
{{ Format require
| active = a quest
}}
{{ Format require
| active2 = a quest
| active1 = another quest
| active = a third quest
}}
{{ Format require
| campaign = core
}}
{{ Format require
| campaign = factions
}}
{{ Format require
| campaign = nightfall
}}
{{ Format require
| campaign = prophecies
}}
{{ Format require
| complete = a quest
}}
{{ Format require
| hero = [[Gwen (Eye of the North)|Gwen]]
}}
{{ Format require
| inactive = a quest
}}
{{ Format require
| incomplete = a quest
}}
{{ Format require
| locked = an area
}}
{{ Format require
| locked2 = an area
| locked1 = another area
| locked = a third area
}}
{{ Format require
| max lvl = 3
}}
{{ Format require
| min lvl = 2
}}
{{ Format require
| nationality = all
}}
{{ Format require
| nationality = any
}}
{{ Format require
| nationality = canthan
}}
{{ Format require
| nationality = elonian
}}
{{ Format require
| nationality = non-canthan
}}
{{ Format require
| nationality = non-elonian
}}
{{ Format require
| nationality = non-tyrian
}}
{{ Format require
| nationality = tyrian
}}
{{ Format require
| other product = core
}}
{{ Format require
| other product = gwen
}}
{{ Format require
| started = a quest
}}
{{ Format require
| unlocked = an area
}}
{{ Format require
| unstarted = a quest
}}
{{ Format require
| active = quest 1
| campaign = bonus
| complete = quest 2
| hero = [[Gwen (Eye of the North)|Gwen]]
| inactive = quest 3
| incomplete = quest 4
| locked = an area
| max lvl = 3
| min lvl = 2
| nationality = canthian
| other product = gwen
| started = quest 5
| unlocked = another area
| unstarted = quest 6
}}

See Also[edit]

  • Template:defs — Access to local definitions.
  • Usage report — A by region report on where this template is used and where it should be used and is not.