Template:Character Label

From BerserkerLoop
Revision as of 18:20, 18 December 2022 by Crimsongaia (talk | contribs) (Created page with "<includeonly><!-- -->{{#vardefine:LabelChara|{{{2}}}}}<!--name of the character -->{{#vardefine:LabelGame|{{{1}}}}}<!-- game for the character --><span class="charaLabel"><!-- -->[[File:{{#var:LabelGame}}_{{#var:LabelChara}}_Icon.png|link={{{linkOverride|{{#var:LabelGame}}/{{#var:LabelChara}}}}}|{{#if:{{{3|}}}|x{{{3|}}}|x24px}}|alt=]]<!-- --></span> <span>{{#switch: {{{format}}} | none = {{#if: {{{linkOverride|}}}|[[{{{linkOverride|}}}|{{{label|{{#var:LabelChara}}}}}]] |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Arguments

 1st arg = Game Code
 2nd arg = Character Name
 3rd arg = icon size (optional)
 "label" = text override (optional)
 "linkOverride" = link override (optional)
 "format" = none/italic/bold (optional). Default to bold

Usage

  • Icon default size is 24px.
   {{character Label|GGACR|Slayer}}
   {{character Label|GGACR|Venom|120px}}
  • Does not work within section headers.
   ===={{character Label|GGACR|Venom}}====

{{character Label|GGACR|Venom|120px|OverrideIconToUse|OverrideNameToShow|OverrideLink}}

  • Can also be used with CLabel shorthand.
   {{CLabel|GGACR|Ky Kiske}}

Example

File:GGACR Venom Icon.png Venom Lorem ipsum dolor sit amet, consectetur adipiscing elit.
File:GGST Goldlewis Dickinson Icon.png Goldlewis Dickinson Maecenas quis felis volutpat, cursus dolor vel, bibendum urna.
File:GGACR Testament Icon.png Testament Duis dignissim posuere justo, vitae sodales felis aliquam sit amet.
File:GGST Happy Chaos Icon.png Happy Chaos Donec efficitur ante ac dolor convallis volutpat.

Example without size value

File:GGACR Venom Icon.png Venom

Example with size value

File:GGACR Ky Kiske Icon.png Ky Kiske

Example with size, and name override values

This links to Ky's page

File:GGACR Ky Kiske Icon.png JOHNNY ARCSYS

Example with rectangular size

default size

File:GGST Nagoriyuki Icon.png Nagoriyuki

larger size

File:GGST Nagoriyuki Icon.png Nagoriyuki