Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Character Label/doc: Difference between revisions

Template page
dustloop:Template:Character Label>Triplicity
m →‎Arguments: override cases
dustloop:Template:Character Label>Kaiokek
Line 7: Line 7:
  "label" = text override (optional)
  "label" = text override (optional)
  "linkOverride" = link override (optional)
  "linkOverride" = link override (optional)
"format" = none/italic/bold (optional). Default to bold
</pre>
</pre>



Revision as of 14:54, 26 November 2022

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

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

MediaWiki Appliance - Powered by TurnKey Linux