Template:AbilityAttach

From Warma-wiki
Revision as of 19:26, 7 February 2024 by Disgruntled-tom (talk | contribs)
Jump to navigation Jump to search


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".

EXAMPLE

Command Attachment

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



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 CODE

<table class="wikitable"> {{AbilityAttach|main = Command Attachment | sub1 = Example Unit | sub1a = page|sub2=Example Group}} {{AbilityAttach|main = Weapon Attachment | sub1 = Example Unit | sub1a = cat |sub2=Example Group|sub2a=page}} </table>