Template:BadgeDifferentNames: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (b tags to solve parser glitches)
Line 14: Line 14:


  --><li><!--
  --><li><!--
     -->'''{{{2}}}''' on <!--
     --><b>{{{2}}}</b> on <!--
     -->{{#switch:<!--
     -->{{#switch:<!--
         -->{{#if:{{#pos:{{lc:{{{1}}}}}|m}}|M}}<!--
         -->{{#if:{{#pos:{{lc:{{{1}}}}}|m}}|M}}<!--
Line 32: Line 32:


  --><li><!--
  --><li><!--
     -->'''{{{4}}}''' on <!--
     --><b>{{{4}}}</b> on <!--
     -->{{#switch:<!--
     -->{{#switch:<!--
         -->{{#if:{{#pos:{{lc:{{{3}}}}}|m}}|M}}<!--
         -->{{#if:{{#pos:{{lc:{{{3}}}}}|m}}|M}}<!--
Line 50: Line 50:


  -->{{#if:{{{5|}}}|<li><!--
  -->{{#if:{{{5|}}}|<li><!--
     -->'''{{{6}}}''' on <!--
     --><b>{{{6}}}</b> on <!--
     -->{{#switch:<!--
     -->{{#switch:<!--
         -->{{#if:{{#pos:{{lc:{{{5}}}}}|m}}|M}}<!--
         -->{{#if:{{#pos:{{lc:{{{5}}}}}|m}}|M}}<!--

Revision as of 16:37, 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 body type and alignment.

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

See also