Template:AbilitySubordinate: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Category:{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}</includeonly><noinclude>
<includeonly><div class="mw-collapsible mw-collapsed"><div >{{#ifexist: File:{{{1}}}.png|[[File:{{{1}}}.png|30px|{{{1}}}|link=[[:Category:{{{1}}}]]]]<b>&nbsp;{{{1}}}:</b>|[[:Category:{{{1}}}|{{{1}}}]]}}</div>
<div class="mw-collapsible-content">{{Category:{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}<br>{{#ifexist: Category:Errata-{{{1}}}|{{Category:Errata-{{{1}}}}}|No errata for {{{1}}} ([[:Category:Errata-{{{1}}}|Create]]) }}
</div></div>
[[Category:{{{1}}}]]
</includeonly>
 
<noinclude>
==What does it do?==
==What does it do?==
This template calls a category and supplies it up to 4 variables. This is useful for companion models, or models that have leadership abilities. The leadership ability can have a variable for the model it supports, and for the distance. Refer to the category for documentation on what numbers/letters need to be supplied in a particular order.  
Same thing as AbilitySingle, but it is called inside something like "Granted" ... which needs to name an ability in its description text and also call out that ability as a rule. Without this extra template, the ability would get caught in a loop.  
 
===Text used in block===
===Text used in block===
<nowiki>{{AbilitySubordinate|Example Ability Subordinate|Steve the Summoner}}
 
</nowiki>
===Result===
===Result===
{{AbilitySubordinate|Example Ability Subordinate|Steve the Summoner}}
{{AbilitySubordinate|ExampleAdvantage}}
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:07, 17 February 2024


What does it do?

Same thing as AbilitySingle, but it is called inside something like "Granted" ... which needs to name an ability in its description text and also call out that ability as a rule. Without this extra template, the ability would get caught in a loop.

Text used in block

Result

This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.
No errata for ExampleAdvantage (Create)