Template:F: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
N (talk | contribs)
No edit summary
Updating to use a language-aware setup
Line 2: Line 2:
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.
   
   
These are sized to work inline: "creatures of the {{F|Temple}} faction".
These are sized to work inline:  
 
<pre><nowiki>"creatures of the {{F|Temple}} faction".</nowiki></pre>
 
"creatures of the {{F|Temple}} faction".
 
 
<pre><nowiki>"creatures of the {{F|Temple|pl}} faction".</nowiki></pre>
 
"creatures of the {{F|Temple|pl}} faction".
 
 
</noinclude><includeonly>{{#switch: {{lc:{{{1}}}}}
</noinclude><includeonly>{{#switch: {{lc:{{{1}}}}}
  | human
  | human
  | temple = <span style="white-space: nowrap;">[[File:Temple_icon.png|x30px|link=Temple]]'''[[Temple]]'''</span>
  | temple = {{LinkIcon|type=faction|id=human|suffix=_icon.png|lang={{{2|en}}}}}
  | undead
  | undead
  | necro
  | necro
  | necropolis = <span style="white-space: nowrap;">[[File:Necropolis_icon.png|x30px|link=Necropolis]]'''[[Necropolis]]'''</span>
  | necropolis = {{LinkIcon|type=faction|id=undead|suffix=_icon.png|lang={{{2|en}}}}}
  | nature
  | nature
  | grove = <span style="white-space: nowrap;">[[File:Grove_icon.png|x30px|link=Grove]]'''[[Grove]]'''</span>
  | grove = {{LinkIcon|type=faction|id=nature|suffix=_icon.png|lang={{{2|en}}}}}
  | demon
  | demon
  | hive = <span style="white-space: nowrap;">[[File:Hive_icon.png|x30px|link=Hive]]'''[[Hive]]'''</span>
  | hive = {{LinkIcon|type=faction|id=demon|suffix=_icon.png|lang={{{2|en}}}}}
  | unfrozen
  | unfrozen
  | schism = <span style="white-space: nowrap;">[[File:Schism_icon.png|x30px|link=Schism]]'''[[Schism]]'''</span>
  | schism = {{LinkIcon|type=faction|id=unfrozen|suffix=_icon.png|lang={{{2|en}}}}}
  | dungeon = <span style="white-space: nowrap;">[[File:Dungeon_icon.png|x30px|link=Dungeon]]'''[[Dungeon]]'''</span>
  | dungeon = {{LinkIcon|type=faction|id=dungeon|suffix=_icon.png|lang={{{2|en}}}}}
  | <span style="white-space: nowrap;">[[File:{{{1}}}_icon.png|x30px|link={{{1}}}]]'''[[{{{1}}}]]'''</span>
  | {{LinkIcon|type=faction|id={{{1}}}|suffix=_icon.png|lang={{{2|en}}}}}
}}</includeonly>
}}</includeonly>

Revision as of 16:54, 17 May 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".