Template:Sandbox/Aurelain/F: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#switch: {{lc:{{{1}}}}}
-->{{#switch: {{lc:{{{1}}}}}
| human
| human
| temple = {{LinkIcon|type=faction|id=human|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| temple = {{LinkIcon|type=faction|id=human|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| undead
| undead
| necro
| necro
| necropolis = {{LinkIcon|type=faction|id=undead|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| necropolis = {{LinkIcon|type=faction|id=undead|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| nature
| nature
| grove = {{LinkIcon|type=faction|id=nature|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| grove = {{LinkIcon|type=faction|id=nature|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| demon
| demon
| hive = {{LinkIcon|type=faction|id=demon|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| hive = {{LinkIcon|type=faction|id=demon|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| unfrozen
| unfrozen
| schism = {{LinkIcon|type=faction|id=unfrozen|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| schism = {{LinkIcon|type=faction|id=unfrozen|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| dungeon = {{LinkIcon|type=faction|id=dungeon|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| dungeon = {{LinkIcon|type=faction|id=dungeon|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
| neutral
| neutral
| #default = {{LinkIcon|type=faction|id=wiki_units_neutral|filename=Primordial_Chaos.png|lang={{{2|en}}}|color={{{color|}}}}}
| #default = {{LinkIcon
    | id = wiki_units_neutral
    | filename = Primordial_Chaos.png
    | size = 24px
    | link = Neutral_Units
    | lang = {{{2|en}}}
    | color = {{{color|}}}
    }}
}}</includeonly><!--
}}</includeonly><!--
####################################################################
####################################################################
Line 20: Line 27:
Use this template to get a quick and easy reference to any faction, using either the internal or in-game names for those factions.
Use this template to get a quick and easy reference to any faction, using either the internal or in-game names for those factions.
The icon is sized to work inline.
The icon is sized to work inline.
==Usage==


1. Using the internal id:
1. Using the internal id:


{{Color|yellow|Input:}} <code><nowiki>{{F|human}}</nowiki></code>
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/F|human}}</nowiki></code>


{{Color|lime|Output:}} {{F|human}}
{{Color|lime|Output:}} {{Sandbox/Aurelain/F|human}}


----
----
Line 31: Line 40:
2. Using the in-game name:
2. Using the in-game name:


{{Color|yellow|Input:}} <code><nowiki>{{F|Temple}}</nowiki></code>
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/F|Temple}}</nowiki></code>


{{Color|lime|Output:}} {{F|Temple}}
{{Color|lime|Output:}} {{Sandbox/Aurelain/F|Temple}}


----
----
Line 39: Line 48:
3. Japanese:
3. Japanese:


{{Color|yellow|Input:}} <code><nowiki>{{F|human|ja}}</nowiki></code>
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/F|human|ja}}</nowiki></code>


{{Color|lime|Output:}} {{F|human|ja}}
{{Color|lime|Output:}} {{Sandbox/Aurelain/F|human|ja}}


----
----
Line 47: Line 56:
4. Neutral:
4. Neutral:


{{Color|yellow|Input:}} <code><nowiki>{{F|neutral}}</nowiki></code>
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/F|neutral}}</nowiki></code>
 
{{Color|lime|Output:}} {{Sandbox/Aurelain/F|neutral}}
 
----
 
5. Unknown faction:
 
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/F|foo}}</nowiki></code>


{{Color|lime|Output:}} {{F|neutral}}
{{Color|lime|Output:}} {{Sandbox/Aurelain/F|foo}}


----
----


5. With custom {{b|color}}:
6. With custom {{b|color}}:


{{Color|yellow|Input:}} <code><nowiki>{{F|demon|orange}}</nowiki></code>
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/F|demon|color=magenta}}</nowiki></code>


{{Color|lime|Output:}} {{F|demon|orange}}
{{Color|lime|Output:}} {{Sandbox/Aurelain/F|demon|color=magenta}}


</noinclude>
</noinclude>

Latest revision as of 05:03, 17 July 2026

Use this template to get a quick and easy reference to any faction, using either the internal or in-game names for those factions. The icon is sized to work inline.

Usage

1. Using the internal id:

Input: {{Sandbox/Aurelain/F|human}}

Output: Temple


2. Using the in-game name:

Input: {{Sandbox/Aurelain/F|Temple}}

Output: Temple


3. Japanese:

Input: {{Sandbox/Aurelain/F|human|ja}}

Output: テンプル


4. Neutral:

Input: {{Sandbox/Aurelain/F|neutral}}

Output: Neutral


5. Unknown faction:

Input: {{Sandbox/Aurelain/F|foo}}

Output: Neutral


6. With custom color:

Input: {{Sandbox/Aurelain/F|demon|color=magenta}}

Output: Hive