Difference between revisions of "Template:AI War 2 Icon"

From Arcen Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> {{AI_War_2_Icon|name=V-Wing|icon=Fighter}} {{AI_War_2_Icon|name=Fusion Bomber|icon=Bomber}} {{AI_War_2_Icon|name=Vicious Metabolizing Gangsaw|icon=VorticularCutlas...")
(No difference)

Revision as of 01:00, 5 August 2019


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.

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}}}]]