Template:BadgeDifferentNames: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (b tags to solve parser glitches)
m (alignment before body type (alignment badge name differences are more pronounced))
 
Line 2: Line 2:
  -->This badge displays different names, depending on a character's current <!--
  -->This badge displays different names, depending on a character's current <!--
     -->{{#switch:<!--
     -->{{#switch:<!--
        -->{{#if:{{#pos:{{lc:{{{1|}}}{{{3|}}}{{{5|}}}}}|h}}|Alignment}}<!--
         -->{{#if:{{#pos:{{lc:{{{1|}}}{{{3|}}}{{{5|}}}}}|m}}|Body}}<!--
         -->{{#if:{{#pos:{{lc:{{{1|}}}{{{3|}}}{{{5|}}}}}|m}}|Body}}<!--
        -->{{#if:{{#pos:{{lc:{{{1|}}}{{{3|}}}{{{5|}}}}}|h}}|Alignment}}<!--
    -->| Alignment     = alignment<!--
     -->| Body          = body type<!--
     -->| Body          = body type<!--
     -->| Alignment    = alignment<!--
     -->| AlignmentBody = alignment and body type<!--
    -->| BodyAlignment = body type and alignment<!--
     -->}}<!--
     -->}}<!--
  -->.
  -->.

Latest revision as of 16:42, 3 May 2022

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

  • {{{2}}} on
  • {{{4}}} on
[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 body type.

  • Mystic King on male and huge characters
  • Mystic Queen on female characters
{{BadgeDifferentNames
| villain | Marshal
| hero    | Ex-Marshal
}}

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

  • Marshal on villains and rogues
  • Ex-Marshal on heroes and vigilantes
{{BadgeDifferentNames
| h  | Adamant
| mv | Ironman
| fv | Ironwoman
}}

This badge displays different names, depending on a character's current alignment and body type.

  • Adamant on heroes and vigilantes
  • Ironman on male and huge villains and rogues
  • Ironwoman on female villains and rogues

See also