Template:Ink: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Adding support for a custom color value)
No edit summary
Line 56: Line 56:
:*{{Ink|tan|16}} tan
:*{{Ink|tan|16}} tan
:*{{Ink|dark orange|16}} dark orange
:*{{Ink|dark orange|16}} dark orange
:*{{Ink|custom|16|#ec0b68}} magenta
:*{{Ink|custom|16|#461362}} dark violet
:*{{Ink|custom|16}} custom (see below)
:*{{Ink|custom|16}} custom (see below)
*''size'' - If present, the number of pixels for the dimensions of the box. Do not append "px" to the number.
*''size'' - If present, the number of pixels for the dimensions of the box. Do not append "px" to the number.

Revision as of 13:06, 30 August 2015

For ink colors and the modes they appear in, see Ink.

Creates a box of color according to the available colors of ink in the game.

Usage:

{{Ink|color}}
{{Ink|color|size}}
{{Ink|color|size|custom}}
  • color - The name of the ink color to use. Must be one of the following:
  • size - If present, the number of pixels for the dimensions of the box. Do not append "px" to the number.
  • custom - If color is set to "custom", then this parameter must be present and specifies the CSS color value to use.

Examples

Color only

Markup:

{{Ink|blue}}

Output:

Color and size

Markup:

 {{Ink|orange|48}}

Output:

Invalid color

Markup:

{{Ink|scarlet}}

Output: