Template:F: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
Updating to use a language-aware setup
N (talk | contribs)
No edit summary
Line 12: Line 12:


"creatures of the {{F|Temple|pl}} faction".
"creatures of the {{F|Temple|pl}} faction".
Custom link colors are supported:
<pre><nowiki>"creatures of the {{F|Temple|color=yellow}} faction".</nowiki></pre>
"creatures of the {{F|Temple|color=yellow}} faction".




</noinclude><includeonly>{{#switch: {{lc:{{{1}}}}}
</noinclude><includeonly>{{#switch: {{lc:{{{1}}}}}
  | human
  | human
  | temple = {{LinkIcon|type=faction|id=human|suffix=_icon.png|lang={{{2|en}}}}}
  | 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}}}}}
  | 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}}}}}
  | 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}}}}}
  | 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}}}}}
  | 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}}}}}
  | dungeon = {{LinkIcon|type=faction|id=dungeon|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
  | {{LinkIcon|type=faction|id={{{1}}}|suffix=_icon.png|lang={{{2|en}}}}}
  | {{LinkIcon|type=faction|id={{{1}}}|suffix=_icon.png|lang={{{2|en}}}|color={{{color|}}}}}
}}</includeonly>
}}</includeonly>

Revision as of 11:27, 21 June 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.

These are sized to work inline:

"creatures of the {{F|Temple}} faction".

"creatures of the Temple faction".


"creatures of the {{F|Temple|pl}} faction".

"creatures of the Świątynia faction".

Custom link colors are supported:

"creatures of the {{F|Temple|color=yellow}} faction".

"creatures of the Temple faction".