Difference between revisions of "Template:Ink"
ink>GuyPerfect (Trying out a spiffy overlay. If it's too ugly, go ahead and revert it.) |
ink>Superjustinbros |
||
| 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}}}" | ||
| − | | " | + | | "pink” = #fe447d |
| − | | " | + | | "orange” = #f78f2e |
| − | | " | + | | "yellow orange” = #fdc41d |
| − | | " | + | | "lime green” = #d1f20a |
| − | | " | + | | "emerald green” = #5cd05b |
| − | | " | + | | "teal” = #03c1cd |
| − | | " | + | | "blue” = #0e10e6 |
| − | | " | + | | "violet“ = #9208e7 |
| − | | " | + | | "red orange” = #f84c00 |
| − | | " | + | | "yellow” = #f3f354 |
| − | | " | + | | "mint” = #bff1e5 |
| + | | "green” = #3bc335 | ||
| + | | "sea green” = #7af5ca | ||
| + | | "light blue” = #448bff | ||
| + | | "dark blue” = #252d9c | ||
| + | | "fuscha” = #d645c8 | ||
| + | | "neon green” = #0afe15 | ||
| + | | "cyan” = #0acdfe | ||
| + | | "neon orange” = #ff9600 | ||
| + | | "dark fuscha” = #932286 | ||
| + | |||
| 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 20: | Line 30: | ||
*''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|pink|16}} |
| − | :*{{ | + | :*{{ink|orange|16}} |
| − | :*{{ | + | :*{{ink|yellow orange|16}} |
| − | :*{{ | + | :*{{ink|lime green|16}} |
| − | :*{{ | + | :*{{ink|emerald green|16}} |
| − | :*{{ | + | :*{{ink|teal|16}} |
| − | :*{{ | + | :*{{ink|blue|16}} |
| − | :*{{ | + | :*{{ink|violet|16}} |
| − | :*{{ | + | :*{{ink|red orange|16}} |
| − | :*{{ | + | :*{{ink|yellow|16}} |
| + | :*{{ink|mint|16}} | ||
| + | :*{{ink|green|16}} | ||
| + | :*{{ink|sea green|16}} | ||
| + | :*{{ink|light blue|16}} | ||
| + | :*{{ink|dark blue|16}} | ||
| + | :*{{ink|fuscha|16}} | ||
| + | :*{{ink|neon green|16}} | ||
| + | :*{{ink|cyan|16}} | ||
| + | :*{{ink|neon orange|16}} | ||
| + | :*{{ink|dark fuscha|16}} | ||
| + | |||
*''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:31, 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:
- 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: