Elemental Colors and Icons

From HorizonXI Wiki

Main Templates

The main templates to generate colored text and Icons like Wind are

They all function in exactly the same way and output certain premade texts (Crystal, Cluster, Element, ...) as colored links. See any of these templates for a documentation of their use.

Skillchains

Template:Property takes the input of the name of a skillchain and outputs a link in the colors of the elements, which make up the skillchain, e.g.:

Li­que­fac­tion, Gra­vi­ta­tion, Dark­ness, ...

This template uses Template:Color to color the letters in the respective elements' colors.

Basic Templates

Template:Color is the basic template which outputs colored text. It is used to generate the main templates described on this page. This template uses colors provided by css classes defined in Mediawiki:colors.css. This ensures, that all elemental colored text have the same color palette across all pages and allows making changes to the color palette which will take effect on all pages.

Template:Colorlink is a variation and uses Template:Color to output a colored link.

Outdated Templates

Resist Templates

These templates were used to generate a non-clickable icon of the element, which displays the tooltip "Resist vs. ..." on hover.

Instead, use the main templates with the argument "resist", e.g. {{Fire|resist}} instead of {{Resist Fire}}.

Template Element

Used to generate icons with a link to the respective element page.

Template:Element

Instead, use the main template with the argument "icon" (for a clickable link to the element's page) or "resist" (for non-clickable and "Resistance vs ..." on hover), e.g. {{Fire|Icon}} instead of {{Element|Fire}}.