Template:Ability: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
GKP light (talk | contribs)
Created page with "<onlyinclude>{{#switch:{{{1|}}} |Flying = <span style="color: #b88a2e; font-weight: 500;" title="Movement ignores obstacles and traps">24px Flying{{#if:{{{text|}}}| ∶ Movement ignores obstacles and traps|}}</span> |Magic immunity V = <span style="color: #b88a2e; font-weight: 500;" title="Immune to tier-5 or lower spells and creature's abilities.">24px Magic immunity V{{#if:{{{text|}}}|..."
 
GKP light (talk | contribs)
No edit summary
Line 5: Line 5:
Warning, the "∶" use in this template is not a normal ":" (it is the "ratio" math symbol), to not interfere with the code of the template. to add things, you need to copy-past it.
Warning, the "∶" use in this template is not a normal ":" (it is the "ratio" math symbol), to not interfere with the code of the template. to add things, you need to copy-past it.


<code>some text ; <code>{{Ability|Flying}}</code> ; some text</code> <br>
<code><nowiki>some text ; {{Ability|Flying}} ; some text</nowiki></code> <br>
some text ; {{Ability|Flying}} ; some text
some text ; {{Ability|Flying}} ; some text


<code><nowiki>aaaa {{Ability|Magic immunity V|text=true}} cccc</nowiki></code> <br>
<code><nowiki>text {{Ability|Magic immunity V|text=true}} text</nowiki></code> <br>
aaaa {{Ability|Magic immunity V|text=true}} cccc
aaaa {{Ability|Magic immunity V|text=true}} cccc
</noinclude>
</noinclude>

Revision as of 16:08, 16 October 2025

Warning, the "∶" use in this template is not a normal ":" (it is the "ratio" math symbol), to not interfere with the code of the template. to add things, you need to copy-past it.

some text ; {{Ability|Flying}} ; some text
some text ; Flying ; some text

text {{Ability|Magic immunity V|text=true}} text
aaaa Magic immunity V∶ Immune to tier-5 or lower spells and creature's abilities. cccc