Difference between revisions of "Template:Ink"
ink>Superjustinbros |
ink>Superjustinbros (Undo revision 15918 by Superjustinbros (talk) For some reason my edit is broken.) |
||
| 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 |
| − | | " | + | | "cyan" = #0fc3b8 |
| − | | " | + | | "green" = #56b83f |
| − | | " | + | | "magenta" = #ef41b5 |
| − | | " | + | | "mint" = #6cee60 |
| − | + | | "neon green" = #c5ff20 | |
| − | | " | + | | "pale cyan" = #a8f4d2 |
| − | + | | "orange" = #f38834 | |
| − | | " | + | | "violet" = #8f00b9 |
| − | + | | "yellow" = #f7d61b | |
| − | | " | + | | "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; 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__ | }}; 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__ | ||
| Line 30: | Line 20: | ||
*''color'' - The name of the ink color to use. Must be one of the following: | *''color'' - The name of the ink color to use. Must be one of the following: | ||
| − | :*{{ | + | :*{{Ink|blue|16}} blue |
| − | :*{{ | + | :*{{Ink|cyan|16}} cyan |
| − | + | :*{{Ink|green|16}} green | |
| − | :*{{ | + | :*{{Ink|magenta|16}} magenta |
| − | + | :*{{Ink|mint|16}} mint | |
| − | :*{{ | + | :*{{Ink|neon green|16}} neon green |
| − | :*{{ | + | :*{{Ink|orange|16}} orange |
| − | + | :*{{Ink|pale cyan|16}} pale cyan | |
| − | + | :*{{Ink|violet|16}} violet | |
| − | + | :*{{Ink|yellow|16}} yellow | |
| − | |||
| − | :*{{ | ||
| − | |||
| − | :*{{ | ||
| − | :*{{ | ||
| − | |||
| − | |||
| − | |||
| − | :*{{ | ||
| − | :*{{ | ||
| − | |||
*''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 00:32, 8 July 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: