Jump to content

Template:Character Icon

From UNIVER.SYS Wiki
Revision as of 16:05, 5 April 2025 by Rizzonen (talk | contribs) (Created page with "<includeonly><onlyinclude><div class="character-icon"><div>[[File:{{#if:{{{icon|}}}|{{{icon}}}|{{#ifexist:File:{{{link}}} Icon.svg|{{{link}}} Icon.svg|{{#ifexist:File:{{{link}}} Icon.png|{{{link}}} Icon.png|Placeholder Character Icon.svg}}}}}}|{{{size}}}px|link={{#if:{{{link|}}}|{{{link}}}|}}]]</div><div style="font-size: 0.8em;">{{#if:{{{link|}}}|[[{{{link}}}|{{{name}}}]]|{{{name}}}}}</div></div></onlyinclude></includeonly> Template for Character Icons, useful in many c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template for Character Icons, useful in many contexts, can be grouped with Template:Character Icon Group.

If the Icon is not provided, it will fall back in the following order to:

  • {{{link}}} Icon.svg if the link is provided and the appropriately named SVG icon exists,
  • {{{link}}} Icon.png if the link is provided and the appropriately named PNG icon exists,
  • Placeholder Character Icon.svg

Icons should only be made in SVG or PNG and not in JPG.

Examples

{{Character Icon|name=Nix|link=Nix Bellevue|icon=Nix Icon.png|size=80}}
{{Character Icon|name=Nix|link=Nix Bellevue|size=80}}
{{Character Icon|name=Wip-tan|icon=Placeholder Character Icon.svg|size=80}}
{{Character Icon|name=Wip-tan|size=80}}
Wip-tan