Template:Play Nintendo colors

From the Super Mario Wiki, the Mario encyclopedia
Revision as of 18:39, September 8, 2023 by Koopa con Carne (talk | contribs) (Created page with "{|width=100% |- {{#if:{{{color1|}}}|<nowiki/> {{!}}style="padding-bottom:.5em; padding-top:.5em" width=10%{{!}}<span style="background:rgb({{{color1}}}); border:2px solid black; border-radius:1em; color:black; margin-bottom:5px; padding-bottom:.5em; padding-left:1em; padding-right:1em; padding-top:.5em; text-shadow:1px 1px white, -1px 1px white, -1px -1px white, 1px -1px white">'''1'''</span> {{!}}width=40%{{!}}RGB ({{{color1}}})}}{{#if:{{{color2|}}}|<nowiki/> {{!}}style...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Code

{{Play Nintendo colors
|color1=
|color2=
|color3=
|color4=
|color5=
|color6=
|color7=
|color8=
|color9=
|color10=
|color11=
|color12=
|color13=
|color14=
|color15=
|color16=
}}

Usage

This template is intended for use on the List of Play Nintendo paint-by-number activities page. It recreates the color palette in a particular paint-by-number activity when given RGB triplets of these colors.

For instance, entering the triplet 255, 241, 0 in the "color1" parameter results in the following:

1 RGB (255, 241, 0)

If you fill in multiple parameters with RGB triplets, you get a chart displaying multiple color samples. For example:

|color1=255, 241, 0
|color2=230, 0, 19
|color3=0, 128, 204
|color4=251, 216, 182

results in:

1 RGB (255, 241, 0) 2 RGB (230, 0, 19)
3 RGB (0, 128, 204) 4 RGB (251, 216, 182)