Template:Pigment: Difference between revisions

From The Blockheads Wiki
>Abcboy
mNo edit summary
>Abcboy
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 3: Line 3:
| [[File:{{#switch: {{{1}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}} Icon.png|40px|link={{#switch: {{{1}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}}]]{{#switch: {{{2|X}}}|X=|{{!}}{{!}} [[File:{{#switch: {{{2}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}} Icon.png{{!}}40px{{!}}link={{#switch: {{{2}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}}]]}}{{#switch: {{{3|X}}}|X=|{{!}}{{!}} [[File:{{#switch: {{{3}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}} Icon.png{{!}}40px{{!}}link={{#switch: {{{3}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}}]]}}
| [[File:{{#switch: {{{1}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}} Icon.png|40px|link={{#switch: {{{1}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}}]]{{#switch: {{{2|X}}}|X=|{{!}}{{!}} [[File:{{#switch: {{{2}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}} Icon.png{{!}}40px{{!}}link={{#switch: {{{2}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}}]]}}{{#switch: {{{3|X}}}|X=|{{!}}{{!}} [[File:{{#switch: {{{3}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}} Icon.png{{!}}40px{{!}}link={{#switch: {{{3}}}|B=Carbon Black|W=Marble White|R=Red Ochre|Y=Indian Yellow|L=Ultramarine Blue|C=Copper Blue|G=Emerald Green|P=Tyrian Purple}}]]}}
|=
|=
| style="background-color: rgb({{#if: {{{3|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}} + {{#switch: {{{2}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}} + {{#switch: {{{3}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}}) / 3)) * 255 round 0}}|{{#if: {{{2|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}} + {{#switch: {{{2}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}}) / 2)) * 255 round 0}}|{{#if: {{{1|}}} | {{#expr: (1 - {{#switch: {{{1}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}}) * 255 round 0}}}}}}}},{{#if: {{{3|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}} + {{#switch: {{{2}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}} + {{#switch: {{{3}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}}) / 3)) * 255 round 0}}|{{#if: {{{2|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}} + {{#switch: {{{2}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}}) / 2)) * 255 round 0}}|{{#if: {{{1|}}} | {{#expr: (1 - {{#switch: {{{1}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}}) * 255 round 0}}}}}}}},{{#if: {{{3|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}} + {{#switch: {{{2}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}} + {{#switch: {{{3}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}}) / 3)) * 255 round 0}}|{{#if: {{{2|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}} + {{#switch: {{{2}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}}) / 2)) * 255 round 0}}|{{#if: {{{1|}}} | {{#expr: (1 - {{#switch: {{{1}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}}) * 255 round 0}}}}}}}}); color: {{#ifexpr: ({{#if: {{{3|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}} + {{#switch: {{{2}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}} + {{#switch: {{{3}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}}) / 3)) * 255 round 0}}|{{#if: {{{2|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}} + {{#switch: {{{2}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}}) / 2)) * 255 round 0}}|{{#if: {{{1|}}} | {{#expr: (1 - {{#switch: {{{1}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}}) * 255 round 0}}}}}}}} + {{#if: {{{3|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}} + {{#switch: {{{2}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}} + {{#switch: {{{3}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}}) / 3)) * 255 round 0}}|{{#if: {{{2|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}} + {{#switch: {{{2}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}}) / 2)) * 255 round 0}}|{{#if: {{{1|}}} | {{#expr: (1 - {{#switch: {{{1}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}}) * 255 round 0}}}}}}}} + {{#if: {{{3|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}} + {{#switch: {{{2}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}} + {{#switch: {{{3}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}}) / 3)) * 255 round 0}}|{{#if: {{{2|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}} + {{#switch: {{{2}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}}) / 2)) * 255 round 0}}|{{#if: {{{1|}}} | {{#expr: (1 - {{#switch: {{{1}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}}) * 255 round 0}}}}}}}}) / 3 round 0 > 85 |black|white}};" | ({{#if: {{{3|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}} + {{#switch: {{{2}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}} + {{#switch: {{{3}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}}) / 3)) * 255 round 0}}|{{#if: {{{2|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}} + {{#switch: {{{2}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}}) / 2)) * 255 round 0}}|{{#if: {{{1|}}} | {{#expr: (1 - {{#switch: {{{1}}}|B=1|W=0|R=0.24|Y=0.09|L=0.99|C=1|G=0.99|P=0.53}}) * 255 round 0}}}}}}}}, {{#if: {{{3|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}} + {{#switch: {{{2}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}} + {{#switch: {{{3}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}}) / 3)) * 255 round 0}}|{{#if: {{{2|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}} + {{#switch: {{{2}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}}) / 2)) * 255 round 0}}|{{#if: {{{1|}}} | {{#expr: (1 - {{#switch: {{{1}}}|B=1|W=0|R=0.89|Y=0.17|L=0.74|C=0.13|G=0.1|P=0.94}}) * 255 round 0}}}}}}}}, {{#if: {{{3|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}} + {{#switch: {{{2}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}} + {{#switch: {{{3}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}}) / 3)) * 255 round 0}}|{{#if: {{{2|}}} | {{#expr: (1 - (({{#switch: {{{1}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}} + {{#switch: {{{2}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}}) / 2)) * 255 round 0}}|{{#if: {{{1|}}} | {{#expr: (1 - {{#switch: {{{1}}}|B=1|W=0|R=0.99|Y=0.85|L=0.29|C=0.05|G=0.6|P=0.39}}) * 255 round 0}}}}}}}})
|[[File:Paint {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
|[[File:Paint {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
|[[File:Linen Shirt {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
|[[File:Linen Shirt {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
Line 12: Line 13:
|[[File:Leather Boots {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
|[[File:Leather Boots {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
|[[File:Fur Coat {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
|[[File:Fur Coat {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
|[[File:Fur Boots {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]</includeonly><noinclude>
|[[File:Fur Boots {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
|[[File:Soft Bed {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]
|[[File:Golden Bed {{{1}}}{{{2|X}}}{{{3|X}}}.png|40px]]</includeonly><noinclude>
{| class="wikitable" style="margin:auto; text-align:center"
{{Pigment|B|W|W}}
|}
 
How to use:
How to use:
<pre>{{Pigment|1|2|3}}</pre>
<pre>{{Pigment|1|2|3}}</pre>


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 10:28, 17 May 2015

= (170, 170, 170)

How to use:

{{Pigment|1|2|3}}