Template:Character Label

Template page
Revision as of 17:25, 1 January 2023 by DarthPhallus (talk | contribs)

Arguments

1st arg / game = Game code. Default: Current page's game
2nd arg / chara = Character name. Default: Current page's character
size = Icon size. Default: 24px in height
icon = Override icon's image
label = Override the text. Leave blank or input "none" to disable label display
link = Override the link. Leave blank or input "none" to disable link
format = none/italic/bold/italicbold/bolditalic. Default: bold

Usage

  • Can be called in 4 ways:
{{Character Label}} (assumes current game and character)
{{Character Label|Venom}} (assumes current game)
{{Character Label|GGACR|Venom}}
{{Character Label|game=GGACR|chara=Venom}}
  • Does not work within section headers.
   ===={{Character Label|GGACR|Venom}}====

Full Args

{{Character Label|GGACR|Venom|size=120px|icon=OverrideIconToUse.png|label=OverrideNameToShow|link=OverrideLink|format=TextFormat}}
  • Can also be used with CLabel shorthand.
   {{CLabel|GGACR|Ky Kiske}}

Examples

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

Desired Behaviors

Line break

The Icon should stick to the first word of the Label, while the rest of the Label can break into new lines.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas pulvinar facilisis condimentum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum facilisis sit amet mi non ornare. Morbi eget efficitur ipsum. Quisque viverra arcu venenatis, bibendum libero nec, pretium lectus. Nullam laoreet dictum auctor.

Copy paste compatibility

These examples can be copy pasted while still producing the same text:

It's me, {{Character Label|DBFZ|Goku}} from DBFZ!
It's me, {{Character Label|DBFZ|Goku|link=none}} from DBFZ!
It's me, {{Character Label|DBFZ|Goku|label=}} from DBFZ!
It's me, {{Character Label|DBFZ|Goku|link=|label=none|icon=DBFZ_SS_Goku_Icon.png}} from DBFZ!
It's me,  Goku from DBFZ!
It's me,  Goku from DBFZ!
It's me,  ' from DBFZ!
It's me,  none from DBFZ!

It's me, Goku from DBFZ!