Difference between revisions of "Template:Ink"
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.) |
ink>GuyPerfect (Trying out a spiffy overlay. If it's too ugly, go ahead and revert it.) |
||
| Line 12: | Line 12: | ||
| "snot" = #c5ff20 <!-- Alias for "neon green". Yes, this is an easter egg. --> | | "snot" = #c5ff20 <!-- Alias for "neon green". Yes, this is an easter egg. --> | ||
| default clear; border: 1px solid #000000; width: {{#expr: {{{2|24}}} - 2}}px; height: {{#expr: {{{2|24}}} - 2}}px | | default clear; border: 1px solid #000000; width: {{#expr: {{{2|24}}} - 2}}px; height: {{#expr: {{{2|24}}} - 2}}px | ||
| − | }}; vertical-align: middle;"></div></includeonly><noinclude>__NOTOC__ | + | }}; vertical-align: middle; position: relative; line-height: 0px;"><div style="position: absolute; top: 0px; left: 0px;">[[File:InkBlobMask.png|{{{2|24}}}px|link=Ink|Ink]]</div></div></includeonly><noinclude>__NOTOC__ |
Creates a box of color according to the available colors of ink in the game. | Creates a box of color according to the available colors of ink in the game. | ||
Revision as of 23:55, 24 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: