Template:Sandbox/Aurelain/F: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| 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|}}}}} | ||
| Line 27: | Line 25: | ||
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 35: | Line 33: | ||
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 43: | Line 41: | ||
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 51: | Line 49: | ||
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 59: | Line 57: | ||
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 67: | Line 65: | ||
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> | ||
Revision as of 04:59, 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


