Template:Character Label/doc: Difference between revisions

Template page
Line 18: Line 18:


==Example==
==Example==
{{Test|GGACR|Venom}} Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br>
{{character Label|GGACR|Venom}} Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br>
{{Test|GGST|Goldlewis Dickinson}} Maecenas quis felis volutpat, cursus dolor vel, bibendum urna.<br>
{{character Label|GGST|Goldlewis Dickinson}} Maecenas quis felis volutpat, cursus dolor vel, bibendum urna.<br>
{{Test|GGACR|Testament}} Duis dignissim posuere justo, vitae sodales felis aliquam sit amet.<br>
{{character Label|GGACR|Testament}} Duis dignissim posuere justo, vitae sodales felis aliquam sit amet.<br>
{{Test|GGST|Happy Chaos}} Donec efficitur ante ac dolor convallis volutpat.<br>
{{character Label|GGST|Happy Chaos}} Donec efficitur ante ac dolor convallis volutpat.<br>
===Example without size value===
===Example without size value===
{{character Label|GGACR|Venom}}
{{character Label|GGACR|Venom}}

Revision as of 03:08, 25 March 2022

Arguments

 1st arg = Game Code
 2nd arg = Character Name
 3rd arg = icon size (optional)
 "Label" = text override (optional)

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

Example

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

Example without size value

 Venom

Example with size value

 Ky Kiske

Example with size, and name override values

This links to Ky's page

 JOHNNY ARCSYS

Example with rectangular size

default size

 Nagoriyuki

larger size

 Nagoriyuki

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