Template:AI War 2 Icon
Jump to navigation
Jump to search
Usage
This AI War 2 template loads an image with a link to the CSV exports done by Dominus. The default behaviour is in-line, showing the Fusion Bomber as an example.
Passing anything to the optional label argument adds a label to the image after the text using name.
The size argument is optional, and defaults to 32px.
The alignment arguments are va and ha. This defaults to in-line, but can be set to things like middle and center as a standard image.
The icon for a basic ship type is:
- The same name without spaces if it is a strikecraft, or the parent type that it has been templated from in the XML.
- Corvette if it ends with corvette. These are distinguished in game by a sub-icon.
- Starship if frigate. These are distinguished in game by a sub-icon.
For future users, it will be useful to remove the Ships prefix in all images to enable this to work for every icon upload.
[[File:AIW2_Ships_{{{icon}}}.png|{{{va=middle}}}|{{{ha=none}}}|32px|link=AI_War_2:{{{name}}}|{{{name}}}]]