Template:ToColor: Difference between revisions
Jump to navigation
Jump to search
imported>David Yamakuchi mNo edit summary |
imported>David Yamakuchi mNo edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#switch: {{{1|}}} | ||
|9=f | |||
|8=e | |||
|7=d | |||
|6=c | |||
|5=b | |||
|4=a | |||
|3=9 | |||
|2=8 | |||
|1=7 | |||
|0=6 | |||
|48 | |||
}}{{#switch: {{{1|}}} | |||
|9=f | |||
|8=e | |||
|7=d | |||
|6=c | |||
|5=b | |||
|4=a | |||
|3=9 | |||
|2=8 | |||
|1=7 | |||
|0=6 | |||
|bb | |||
}}{{#switch: {{{1|}}} | |||
|9=f | |||
|8=e | |||
|7=d | |||
|6=c | |||
|5=b | |||
|4=a | |||
|3=9 | |||
|2=8 | |||
|1=7 | |||
|0=6 | |||
|f7 | |||
}}</includeonly><noinclude>{{TlDoc}}</noinclude> |
Latest revision as of 11:00, 23 June 2008
This template takes an input integer (range 0-9), and returns a color value.