Template:BadgeDifferentNames: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
m (includeonly)
(rewrite to clarify it's not different badges, and it's based on current alignment)
Line 1: Line 1:
<includeonly>The '''{{BadgeLink|{{{2}}}}}''' badge is awarded to characters of the {{#switch: {{lc:{{{1}}}}}
<includeonly>This badge displays different names, depending on a character's current alignment.<br>'''{{BadgeLink|{{{2}}}}}''' is the name on {{#switch: {{lc:{{{1}}}}}
| h
| h
| hero = [[Hero (Alignment)|hero]] and [[Vigilante (Alignment)|vigilante]]
| hero = [[Hero (Alignment)|hero]] or [[Vigilante (Alignment)|vigilante]]
| v
| v
| villain = [[Villain (Alignment)|villain]] and [[Rogue (Alignment)|rogue]]
| villain = [[Villain (Alignment)|villain]] and [[Rogue (Alignment)|rogue]]
| #default = {{red|unknown}}}} alignments. The same badge on {{#switch: {{lc:{{{3}}}}}
| #default = {{red|unknown}}
}} characters.<br>'''{{BadgeLink|{{{4}}}}}''' is the name on {{#switch: {{lc:{{{3}}}}}
| h
| h
| hero = [[Hero (Alignment)|heroes]] and [[Vigilante (Alignment)|vigilantes]]
| hero = [[Hero (Alignment)|hero]] or [[Vigilante (Alignment)|vigilante]]
| v
| v
| villain = [[Villain (Alignment)|villains]] and [[Rogue (Alignment)|rogues]]
| villain = [[Villain (Alignment)|villain]] or [[Rogue (Alignment)|rogue]]
| #default = {{red|unknown}}}} is called '''{{BadgeLink|{{{4}}}}}'''.</includeonly><noinclude>
| #default = {{red|unknown}}
}} characters.</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 21:17, 1 May 2022

[edit] [purge] Documentation

Usage

Requires four or six parameters. The parameters must be entered in the following order:

condition 1
Characters who display the first name of the badge
name 1
The first name of the badge
condition 2
Characters who display the second name of the badge
name 2
The second name of the badge
condition 3
Characters who display the third name of the badge (optional)
name 3
The third name of the badge (optional)

Conditions may be one of the following values, or combine two of the following values in any order:

  • m - male and huge characters
  • f - female characters
  • h or hero - heroes and vigilantes
  • v or villain - villains and rogues

Examples

{{BadgeDifferentNames
| m | Mystic King
| f | Mystic Queen
}}

This badge displays different names, depending on a character's current alignment.
[[ Mystic King

Badge | Mystic King

]] is the name on unknown characters.
[[ Mystic Queen

Badge | Mystic Queen

]] is the name on unknown characters.

{{BadgeDifferentNames
| villain | Marshal
| hero    | Ex-Marshal
}}

This badge displays different names, depending on a character's current alignment.
[[ Marshal

Badge | Marshal

]] is the name on villain and rogue characters.
[[ Ex-Marshal

Badge | Ex-Marshal

]] is the name on hero or vigilante characters.

{{BadgeDifferentNames
| h  | Adamant
| mv | Ironman
| fv | Ironwoman
}}

This badge displays different names, depending on a character's current alignment.
[[ Adamant

Badge | Adamant

]] is the name on hero or vigilante characters.
[[ Ironman

Badge | Ironman

]] is the name on unknown characters.

See also