Template:AI War 2 Icon

From Arcen Wiki
Jump to navigation Jump to search

Examples:

V-Wing Fusion Bomber Vicious Metabolizing Gangsaw Concussion Corvette Assault Frigate

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 BomberFusion Bomber as an example.

It's possible to ignore the icon argument for entries like SpiderSpider, where the icon name is the same as the actual name.

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_{{{name}}}.png|{{{va=middle}}}|{{{ha=none}}}|32px|link=AI_War_2:{{{name}}}|{{{name}}}]]