Difference between revisions of "Template:FactionFlag"

From UCGO-WIKI
Jump to navigation Jump to search
(Created page with "<includeonly>[[File:{{#switch: {{{1}}} | EFF = EFF | Zeon = Zeon | #default = INPUT_ERROR}}_flag.png|{{{2|16}}}px]]</includeonly><noinclude><code><nowiki>{{FactionFlag}}</nowi...")
 
(No difference)

Latest revision as of 22:11, 17 February 2023

{{FactionFlag}} provides a small inline identifier to differentiate quickly between things in a list that includes items from both factions, or for anywhere else that needs or benefits from the visual indicator.

Usage

The template has two unnamed parameters, first is for faction, second is to modify the image size (default 16px).

* {{FactionFlag|EFF}} EFF normal
* {{FactionFlag|Zeon}} Zeon normal
* {{FactionFlag|EFF|8}} EFF 8px
* {{FactionFlag|Zeon|64}} Zeon 64px

Results:

  • EFF flag.png EFF normal
  • Zeon flag.png Zeon normal
  • EFF flag.png EFF 8px
  • Zeon flag.png Zeon 64px