Template:Dec2hex: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Toomai moved page Dec2hex to Template:Dec2hex without leaving a redirect: new move system of using dropdown for namespace is bad)
mNo edit summary
Line 1: Line 1:
{{#switch:{{{digits|{{#expr:ceil(ln {{{1|0}}}/ln 16)}}}}}
{{#switch:{{{digits|{{#expr:ceil(ln {{{1|0}}}/ln 16)}}}}}
|1
|1={{dec2hex/sub|{{{1}}}}}
|2={{dec2hex/sub|{{{1}}}|16}}{{dec2hex/sub|{{{1}}}}}
|2={{dec2hex/sub|{{{1}}}|16}}{{dec2hex/sub|{{{1}}}}}
|3={{dec2hex/sub|{{{1}}}|256}}{{dec2hex/sub|{{{1}}}|16}}{{dec2hex/sub|{{{1}}}}}
|3={{dec2hex/sub|{{{1}}}|256}}{{dec2hex/sub|{{{1}}}|16}}{{dec2hex/sub|{{{1}}}}}

Revision as of 15:17, August 11, 2012

00