Template:AbilityAttach: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
(Created page with "<includeonly><tr><td style="text-align:center; width: 20%;"> [[:Category:{{{main}}}|{{{main}}}]]</td> <td> {{Category:{{{main}}}}} * {{#ifeq:{{{sub1a}}}|page| [[{{{sub1}}}]] | [[:Category:{{{sub1}}}|{{{sub1}}}]] }} * {{#ifeq:{{{sub2a}}}|page| [[{{{sub2}}}]] | [[:Category:{{{sub2}}}|{{{sub2}}}]] }} * {{#ifeq:{{{sub3a}}}|page| [[{{{sub3}}}]] | [[:Category:{{{sub3}}}|{{{sub3}}}]] }} * {{#ifeq:{{{sub4a}}}|page| [[{{{sub4}}}]] | [[:Category:{{{sub4}}}|{{{sub4}}}]] }} * {{#ife...")
 
mNo edit summary
Line 15: Line 15:
==How to use this template==
==How to use this template==
* This template calls out to another simple ability category, like "Command Attachment" or "Weapon Attachment".  
* This template calls out to another simple ability category, like "Command Attachment" or "Weapon Attachment".  
* The format is: <nowiki>
* The format is: <nowiki>{{AbilityAttach|main=ABILITY|sub1=UNIT1|sub1a=PAGE_OR_CAT|sub2=UNIT2|sub2a=PAGE_OR_CAT}}</nowiki>
<table class="wikitable">{{AbilityAttach|main=ABILITY|sub1=UNIT1|sub1a=PAGE_OR_CAT|sub2=UNIT2|sub2a=PAGE_OR_CAT}}</nowiki>
** ABILITY: This will usually be "Command Attachment" or "Weapon Attachment" without quotes.  
** ABILITY: This will usually be "Command Attachment" or "Weapon Attachment" without quotes.  
** UNIT1: This is the first unit or group of models that this can attach to. We can have up to 5.  
** UNIT1: This is the first unit or group of models that this can attach to. We can have up to 5.  
** PAGE_OR_CAT: If you type "page" for sub1a, sub2a, sub3a, etc., the link to the unit will be presented in a way that takes the user directly to the page. Otherwise, if "cat" is entered, or if this is left blank, or ommitted, the link will present as a Category. This is useful for when a model is allowed to attach to a group of models, like "Northkin".  
** PAGE_OR_CAT: If you type "page" for sub1a, sub2a, sub3a, etc., the link to the unit will be presented in a way that takes the user directly to the page. Otherwise, if "cat" is entered, or if this is left blank, or ommitted, the link will present as a Category. This is useful for when a model is allowed to attach to a group of models, like "Northkin".  
<table class="wikitable">{{AbilityAttach|main=ABILITY|sub1=UNIT1|sub1a=PAGE_OR_CAT|sub2=UNIT2|sub2a=PAGE_OR_CAT}}</nowiki>
{{AbilityAttach|main = Command Attachment | sub1 = Example Unit | sub1a = exact |sub2=Example Group}}
{{AbilityAttach|main = Command Attachment | sub1 = Example Unit | sub1a = exact |sub2=Example Group}}
{{AbilityAttach|main = Weapon Attachment | sub1 = Example Unit | sub1a = exact |sub2=Example Group}}
{{AbilityAttach|main = Weapon Attachment | sub1 = Example Unit | sub1a = exact |sub2=Example Group}}
</table>
</table>
</noinclude>
</noinclude>

Revision as of 19:15, 7 February 2024


How to use this template

  • This template calls out to another simple ability category, like "Command Attachment" or "Weapon Attachment".
  • The format is: {{AbilityAttach|main=ABILITY|sub1=UNIT1|sub1a=PAGE_OR_CAT|sub2=UNIT2|sub2a=PAGE_OR_CAT}}
    • ABILITY: This will usually be "Command Attachment" or "Weapon Attachment" without quotes.
    • UNIT1: This is the first unit or group of models that this can attach to. We can have up to 5.
    • PAGE_OR_CAT: If you type "page" for sub1a, sub2a, sub3a, etc., the link to the unit will be presented in a way that takes the user directly to the page. Otherwise, if "cat" is entered, or if this is left blank, or ommitted, the link will present as a Category. This is useful for when a model is allowed to attach to a group of models, like "Northkin".
</nowiki>
ABILITY

Category:ABILITY

  • UNIT1
  • UNIT2
  • [[:Category:{{{sub3}}}|{{{sub3}}}]]
  • [[:Category:{{{sub4}}}|{{{sub4}}}]]
  • [[:Category:{{{sub5}}}|{{{sub5}}}]]
Command Attachment

This model is a Command Attachment. It can be added to the following:

  • Example Unit
  • Example Group
  • [[:Category:{{{sub3}}}|{{{sub3}}}]]
  • [[:Category:{{{sub4}}}|{{{sub4}}}]]
  • [[:Category:{{{sub5}}}|{{{sub5}}}]]
Weapon Attachment

This model is a weapon attachment. Units may have up to three weapon attachments added to it. For each weapon attachment added, reduce the number of Grunt models in the unit by one. When added to a unit, this model is considered to be a Trooper in that unit. This weapon attachment can be added to the following unit(s):

  • Example Unit
  • Example Group
  • [[:Category:{{{sub3}}}|{{{sub3}}}]]
  • [[:Category:{{{sub4}}}|{{{sub4}}}]]
  • [[:Category:{{{sub5}}}|{{{sub5}}}]]