Template:BadgeAlignedTourist: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
(No, its the carriage return)
imported>Konoko (historical)
(if then attempt 1)
Line 1: Line 1:
<includeonly>The '''{{BadgeLink|{{{2}}}}}''' badge is awarded to {{#switch: {{lc:{{{1}}}}}
<includeonly>The '''{{BadgeLink|{{{2}}}}}''' badge is awarded to {{#switch: {{lc:{{{1}}}}}
| hero = [[Hero (Alignment)|heroes]] and [[Vigilante (Alignment)|vigilantes]] {{orange|if {{{tourist|y}}} then}} "and [[Rogue (Alignment)|rogues]]" {{orange|else}} "only. [[Rogue (Alignment)|Rogues]] can complete the requirements while teamed with a hero or vigilante, but will not be awarded until have completely switched to hero."
| hero = [[Hero (Alignment)|heroes]] and [[Vigilante (Alignment)|vigilantes]] {{#if: {{{tourist|n}}}=y | <esc>and [[Rogue (Alignment)|rogues]]</esc> | <esc> only. [[Rogue (Alignment)|Rogues]] can complete the requirements while teamed with a hero or vigilante, but will not be awarded until have completely switched to hero.</esc>}}
| villain = [[Villain (Alignment)|villains]] and  [[Rogue (Alignment)|rogues]] {{orange|if {{{tourist|y}}} then}} "and [[Vigilante (Alignment)|vigilantes]]." {{orange|else }} "[[Vigilante (Alignment)|Vigilantes]] can complete the requirements while teamed with a villain or rogue, but will not be awarded until have completely switched to villain."
| villain = [[Villain (Alignment)|villains]] and  [[Rogue (Alignment)|rogues]] {{#if: {{{tourist|n}}}=y | and [[Vigilante (Alignment)|vigilantes]]. | <esc>only. [[Vigilante (Alignment)|Vigilantes]] can complete the requirements while teamed with a villain or rogue, but will not be awarded until have completely switched to villain.</esc>}}
| #default = {{red|unknown}}}}</includeonly><noinclude>
| #default = {{red|unknown}}}}</includeonly><noinclude>
;DO NOT CREATE DOCUMENTATION UNTIL NAME OF TEMPLATE IS FINALIZED
;DO NOT CREATE DOCUMENTATION UNTIL NAME OF TEMPLATE IS FINALIZED

Revision as of 15:43, 25 August 2010

DO NOT CREATE DOCUMENTATION UNTIL NAME OF TEMPLATE IS FINALIZED
The intent is to create a template that is easy to remember when dealing with badges that can only be obtained by a particular alignment and/or tourist.
See User:GuyPerfect/Alignment Exclusive Badges

This template requires two variables with a third optional:

  1. hero or villain = originating alignment
  2. Badge exclusive to that alignment
  3. tourist=y or tourist=n or if left off will default to tourist=n
Input Result
{{BadgeAlignedTourist
|hero
|Archmage
|tourist=n}}
On the Archmage page: indicating Archmage can be awarded to Vigilantes

The Archmage badge is awarded to heroes and vigilantes <esc>and rogues</esc>

{{BadgeAlignedTourist
|hero
|Dark Mystic
|tourist=n}}
On the Archmage page: indicating Archmage can be awarded to Vigilantes

The Dark Mystic badge is awarded to villains and rogues and vigilantes.

[create] [purge] Documentation