Template:Unit Type

From Phantasy Star Universe Clementine
Revision as of 18:10, 28 December 2023 by Mika (talk | contribs) (Created page with "<includeonly>{{#switch: {{lc:{{{1|}}}}} |01 |head unit |head = {{EnumImage|image={{#if: {{{text only|}}}||Head_unit.gif}}|name=Head Unit|options={{{options|}}}}} |02 |arm uni...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Purpose

Shortcut template for all unit types.

Parameter List

{{Unit Type
|          <!-- Anonymous parameter. The desired unit type name or ID, case insensitive. Invalid strings will render nothing. -->
|options   <!-- The desired image options. If options aren't provided, the link to the image is disabled. -->
|text only <!-- Whether only the text should appear. -->
}}

For unit types; the valid list of strings, case insensitive, are:

Head Units
  • 01
  • head unit
  • head
Arm Units
  • 02
  • arm unit
  • arm
Body Units
  • 03
  • body unit
  • body
Extra Units
  • 04
  • extra unit
  • extra

For image options, a guide on syntax can be found here: [1]

Examples

Icon for "01"

{{Unit Type|01}}

Head Unit

Icon for "01", text only

{{Unit Type|01|text only=1}}

Head Unit

Icon for "01", Options="16px"

{{Unit Type|01|options=16px}}

Head Unit

Icon for "asdasd"

{{Unit Type|asdasd}}