Template:Dots: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>Leviathan
No edit summary
1d4chan>Leviathan
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if: {{{2}}} |
{{#switch: {{{1}}}
 
{{#iferror: {{#expr:{{{2}}}-{{{1}}}}}
    | <span style="color:red;">Malformed <nowiki>{{dots}}</nowiki> usage! (It looks like something in there wasn't a number.)</span>
    | {{#if: {{#expr:({{{2}}}-{{{1}}}) < 0}}
        | <span style="color:red;">Malformed <nowiki>{{dots}}</nowiki> usage! (It looks like the second number was smaller than the first.)</span>
        | {{#switch: {{{1}}}
            | 1 = ●
            | 2 = ●●
            | 3 = ●●●
            | 4 = ●●●●
            | 5 = ●●●●●
            | 6 = ●●●●●●
            | 7 = ●●●●●●●
            | 8 = ●●●●●●●●
            | 9 = ●●●●●●●●●
            | 10 = ●●●●●●●●●●
          }}
        | {{#switch: {{{2}}}-{{{1}}}
            | 1 = ❍
            | 2 = ❍❍
            | 3 = ❍❍❍
            | 4 = ❍❍❍❍
            | 5 = ❍❍❍❍❍
            | 6 = ❍❍❍❍❍❍
            | 7 = ❍❍❍❍❍❍❍
            | 8 = ❍❍❍❍❍❍❍❍
            | 9 = ❍❍❍❍❍❍❍❍❍
            | 10 = ❍❍❍❍❍❍❍❍❍❍
          }}
      }}
}}
 
| {{#switch: {{{1}}}
     | 1 = ●
     | 1 = ●
     | 2 = ●●
     | 2 = ●●
Line 44: Line 11:
     | 9 = ●●●●●●●●●
     | 9 = ●●●●●●●●●
     | 10 = ●●●●●●●●●●
     | 10 = ●●●●●●●●●●
}}{{#if: {{{2}}}
    | {{#switch: {{{2}}}-{{{1}}}
        | 1 = ❍
        | 2 = ❍❍
        | 3 = ❍❍❍
        | 4 = ❍❍❍❍
        | 5 = ❍❍❍❍❍
        | 6 = ❍❍❍❍❍❍
        | 7 = ❍❍❍❍❍❍❍
        | 8 = ❍❍❍❍❍❍❍❍
        | 9 = ❍❍❍❍❍❍❍❍❍
        | 10 = ❍❍❍❍❍❍❍❍❍❍
      }}
   }}
   }}
}}
</includeonly><noinclude><pre>{{dots|#}}
</includeonly><noinclude><pre>{{dots|#}}
{{dots|#|#}}</pre>
{{dots|#|#}}</pre>

Revision as of 01:45, 20 February 2009

{{dots|#}}
{{dots|#|#}}


●●●●●


●●●●●