Template:BadgeDifferentNames: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Eabrace (historical)
m (alignment before body type (alignment badge name differences are more pronounced))
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The {{BadgeLink|{{{2}}}}} badge is awarded to characters of the {{#switch: {{lc:{{{1}}}}}
<p><!--
| h
-->This badge displays different names, depending on a character's current <!--
| hero = hero and vigilante
    -->{{#switch:<!--
| v
        -->{{#if:{{#pos:{{lc:{{{1|}}}{{{3|}}}{{{5|}}}}}|h}}|Alignment}}<!--
| villain = villain and rogue
        -->{{#if:{{#pos:{{lc:{{{1|}}}{{{3|}}}{{{5|}}}}}|m}}|Body}}<!--
| #default = {{red|unknown}}}} alignments. The same badge on {{#switch: {{lc:{{{3}}}}}
    -->| Alignment    = alignment<!--
| h
    -->| Body          = body type<!--
| hero = heroes and vigilantes
    -->| AlignmentBody = alignment and body type<!--
| v
    -->}}<!--
| villain = villains and rogues
-->.
| #default = {{red|unknown}}}} is called {{BadgeLink|{{{4}}}}}.
</p>
<noinclude>
 
<ul><!--
 
--><li><!--
    --><b>{{{2}}}</b> on <!--
    -->{{#switch:<!--
        -->{{#if:{{#pos:{{lc:{{{1}}}}}|m}}|M}}<!--
        -->{{#if:{{#pos:{{lc:{{{1}}}}}|f}}|F}}<!--
        -->{{#if:{{#pos:{{lc:{{{1}}}}}|h}}|H}}<!--
        -->{{#if:{{#pos:{{lc:{{{1}}}}}|v}}|V}}<!--
    -->| M  = male and huge characters<!--
    -->| F  = female characters<!--
    -->| H  = heroes and vigilantes<!--
    -->| V  = villains and rogues<!--
    -->| MH = male and huge heroes and vigilantes<!--
    -->| MV = male and huge villains and rogues<!--
    -->| FH = female heroes and vigilantes<!--
    -->| FV = female villains and rogues<!--
    -->}}<!--
--></li><!--
 
--><li><!--
    --><b>{{{4}}}</b> on <!--
    -->{{#switch:<!--
        -->{{#if:{{#pos:{{lc:{{{3}}}}}|m}}|M}}<!--
        -->{{#if:{{#pos:{{lc:{{{3}}}}}|f}}|F}}<!--
        -->{{#if:{{#pos:{{lc:{{{3}}}}}|h}}|H}}<!--
        -->{{#if:{{#pos:{{lc:{{{3}}}}}|v}}|V}}<!--
    -->| M  = male and huge characters<!--
    -->| F  = female characters<!--
    -->| H  = heroes and vigilantes<!--
    -->| V  = villains and rogues<!--
    -->| MH = male and huge heroes and vigilantes<!--
    -->| MV = male and huge villains and rogues<!--
    -->| FH = female heroes and vigilantes<!--
    -->| FV = female villains and rogues<!--
    -->}}<!--
--></li><!--
 
-->{{#if:{{{5|}}}|<li><!--
    --><b>{{{6}}}</b> on <!--
    -->{{#switch:<!--
        -->{{#if:{{#pos:{{lc:{{{5}}}}}|m}}|M}}<!--
        -->{{#if:{{#pos:{{lc:{{{5}}}}}|f}}|F}}<!--
        -->{{#if:{{#pos:{{lc:{{{5}}}}}|h}}|H}}<!--
        -->{{#if:{{#pos:{{lc:{{{5}}}}}|v}}|V}}<!--
    -->| M  = male and huge characters<!--
    -->| F  = female characters<!--
    -->| H  = heroes and vigilantes<!--
    -->| V  = villains and rogues<!--
    -->| MH = male and huge heroes and vigilantes<!--
    -->| MV = male and huge villains and rogues<!--
    -->| FH = female heroes and vigilantes<!--
    -->| FV = female villains and rogues<!--
    -->}}<!--
--></li>}}
 
</ul><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

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