Template:ColorDet4: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(credit to [http://uncyclopedia.org/wiki/Template:Color10 this], don't ask, going to be used in my next template)
 
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#{{#switch:{{{1}}}|4={{#switch:{{#expr:{{{2}}} round 0}}
#{{#switch:{{#expr:{{{1}}} round 1}}
|4=00C
|4=4682B4
|3=6C0
|3.5=38AB8B
|2=CC0
|3=32CD32
|1=C60
|2.5=9ACD32
|0=C00
|2=EED700
|DDD}}
|1.5=FFA500
|20={{#switch:{{#expr:{{{2}}} round 0}}
|1=FF8C00
|20|19|18|17=00C
|0.5|.5=FF4500
|16|15|14|13=6C0
|0=B22
|12|11|10|9=CC0
|DDD}}<noinclude>
|8|7|6|5=C60
|4|3|2|1=C00
|DDD}}
<noinclude>
== Usage ==
== Usage ==
First, variable 1 determines how many variants of colors there are. Then, variable 2 corresponds to a different shade of color from red to green.
First, variable 1 determines how many variants of colors there are. Then, variable 2 corresponds to a different shade of color from red to green, in 4 shades. Also see {{tem|ColorDet20}}


[[Category:Formatting Templates|{{PAGENAME}}]]</noinclude>
[[Category:Project templates]]</noinclude>

Latest revision as of 11:17, May 31, 2024

#DDD

Usage

First, variable 1 determines how many variants of colors there are. Then, variable 2 corresponds to a different shade of color from red to green, in 4 shades. Also see {{ColorDet20}}