Template:Dectobin
Expression error: Unrecognized punctuation character "{".{{ Expression error: Unrecognized punctuation character "{".|{{{1}}}}}Expression error: Unrecognized punctuation character "{".{{ Expression error: Unrecognized punctuation character "{".|{{{1}}}}}Expression error: Unrecognized punctuation character "{".{{ Expression error: Unrecognized punctuation character "{".|{{{1}}}}}Expression error: Unrecognized punctuation character "{".{{ Expression error: Unrecognized punctuation character "{".|{{{1}}}}}Expression error: Unrecognized punctuation character "{".{{ Expression error: Unrecognized punctuation character "{".|{{{1}}}}}Expression error: Unrecognized punctuation character "{".{{ Expression error: Unrecognized punctuation character "{".|{{{1}}}}}Expression error: Unrecognized punctuation character "{".
This templates has as first parameter a separator and as second parameter an integer of which the binary representation in reverse order forms the Boolean array determining which of the parameters 3-9 are returned.
Examples
edit-Thu Sat Sun-
-Thu Sat Sun-
-Tue Wed Thu Fri Sat Sun-
-Tue Wed Thu Fri Sat Sun-
-Wed Thu Fri Sat Sun-
--