Difference between revisions of "Template:Ink"

From WikiMe @ iroiro.io
Jump to: navigation, search
ink>GuyPerfect
m (Adding turquoise variant. It's so similar to cyan, I thought maybe I was just seeing things yesterday, but it's definitely its own color.)
ink>GuyPerfect
m (I see what's going on now. Different maps have slightly different shades, even in the UI. Turquoise is just a bluer-looking cyan when used on Walleye Warehouse and maybe a couple other maps.)
Line 1: Line 1:
 
<includeonly><div style="width: {{{2|24}}}px; height: {{{2|24}}}px; display: inline-block; background-color: {{#switch: "{{{1}}}"
 
<includeonly><div style="width: {{{2|24}}}px; height: {{{2|24}}}px; display: inline-block; background-color: {{#switch: "{{{1}}}"
 
| "blue"      = #392bd4
 
| "blue"      = #392bd4
| "cyan"      = #3bc8ad
+
| "cyan"      = #0fc3b8
 
| "green"      = #56b83f
 
| "green"      = #56b83f
 
| "magenta"    = #ef41b5
 
| "magenta"    = #ef41b5
Line 8: Line 8:
 
| "pale cyan"  = #a8f4d2
 
| "pale cyan"  = #a8f4d2
 
| "orange"    = #f38834
 
| "orange"    = #f38834
| "turquoise"  = #0fc3b8
 
 
| "violet"    = #8f00b9
 
| "violet"    = #8f00b9
 
| "yellow"    = #f7d61b
 
| "yellow"    = #f7d61b
Line 29: Line 28:
 
:*{{Ink|orange|16}} orange
 
:*{{Ink|orange|16}} orange
 
:*{{Ink|pale cyan|16}} pale cyan
 
:*{{Ink|pale cyan|16}} pale cyan
:*{{Ink|turquoise|16}} turquoise
 
 
:*{{Ink|violet|16}} violet
 
:*{{Ink|violet|16}} violet
 
:*{{Ink|yellow|16}} yellow
 
:*{{Ink|yellow|16}} yellow

Revision as of 16:58, 19 June 2015

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

Usage:

{{Ink|color}}
{{Ink|color|size}}
  • color - The name of the ink color to use. Must be one of the following:
  •   blue
  •   cyan
  •   green
  •   magenta
  •   mint
  •   neon green
  •   orange
  •   pale cyan
  •   violet
  •   yellow
  • size - If present, the number of pixels for the dimensions of the box. Do not append "px" to the number.

Examples

Color only

Markup:

{{Ink|blue}}

Output:

 

Color and size

Markup:

 {{Ink|pale cyan|48}}

Output:

  

Invalid color

Markup:

{{Ink|scarlet}}

Output: