Template:Sandbox/Aurelain/F: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#switch: {{lc:{{{1}}}}} | -->{{#switch: {{lc:{{{1}}}}} | ||
| human | |||
| temple = {{LinkIcon|type=faction|id=human|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}} | |||
| undead | |||
| necro | |||
| necropolis = {{LinkIcon|type=faction|id=undead|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}} | |||
| nature | |||
| grove = {{LinkIcon|type=faction|id=nature|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}} | |||
| demon | |||
| hive = {{LinkIcon|type=faction|id=demon|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}} | |||
| unfrozen | |||
| 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|}}}}} | |||
| neutral | |||
| #default = {{LinkIcon | |||
| id = wiki_units_neutral | |||
| filename = Primordial_Chaos.png | |||
| size = 24px | |||
| link = Neutral_Units | |||
| lang = {{{2|en}}} | |||
| color = {{{color|}}} | |||
}} | |||
}}</includeonly><!-- | }}</includeonly><!-- | ||
#################################################################### | #################################################################### | ||
| Line 25: | Line 32: | ||
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 33: | 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 41: | 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 49: | 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:}} {{F|neutral}} | {{Color|lime|Output:}} {{Sandbox/Aurelain/F|neutral}} | ||
---- | ---- | ||
| Line 57: | Line 64: | ||
5. Unknown faction: | 5. Unknown faction: | ||
{{Color|yellow|Input:}} <code><nowiki>{{F|foo}}</nowiki></code> | {{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/F|foo}}</nowiki></code> | ||
{{Color|lime|Output:}} {{F|foo}} | {{Color|lime|Output:}} {{Sandbox/Aurelain/F|foo}} | ||
---- | ---- | ||
| Line 65: | Line 72: | ||
6. With custom {{b|color}}: | 6. With custom {{b|color}}: | ||
{{Color|yellow|Input:}} <code><nowiki>{{F|demon|color=magenta}}</nowiki></code> | {{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/F|demon|color=magenta}}</nowiki></code> | ||
{{Color|lime|Output:}} {{F|demon|color=magenta}} | {{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


