Difference between revisions of "Template:Progressbar"
From Game Logs
m (missed one) |
m (better symbol) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifexpr: {{{Length|0}}} > 0 |{{#ifexpr: {{{Marks|0}}} > 0 |{{{Mark|⬛}}}|{{{Segment| | + | <includeonly>{{#ifexpr: {{{Length|0}}} > 0 |{{#ifexpr: {{{Marks|0}}} > 0 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 1 |{{#ifexpr: {{{Marks|0}}} > 1 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 2 |{{#ifexpr: {{{Marks|0}}} > 2 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 3 |{{#ifexpr: {{{Marks|0}}} > 3 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 4 |{{#ifexpr: {{{Marks|0}}} > 4 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 5 |{{#ifexpr: {{{Marks|0}}} > 5 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 6 |{{#ifexpr: {{{Marks|0}}} > 6 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 7 |{{#ifexpr: {{{Marks|0}}} > 7 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 8 |{{#ifexpr: {{{Marks|0}}} > 8 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 9 |{{#ifexpr: {{{Marks|0}}} > 9 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 10 |{{#ifexpr: {{{Marks|0}}} > 10 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 11 |{{#ifexpr: {{{Marks|0}}} > 11 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 12 |{{#ifexpr: {{{Marks|0}}} > 12 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 13 |{{#ifexpr: {{{Marks|0}}} > 13 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 14 |{{#ifexpr: {{{Marks|0}}} > 14 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 15 |{{#ifexpr: {{{Marks|0}}} > 15 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 16 |{{#ifexpr: {{{Marks|0}}} > 16 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 17 |{{#ifexpr: {{{Marks|0}}} > 17 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 18 |{{#ifexpr: {{{Marks|0}}} > 18 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}{{#ifexpr: {{{Length|0}}} > 19 |{{#ifexpr: {{{Marks|0}}} > 19 |{{{Mark|⬛}}}|{{{Segment|⬜}}}}}}}</includeonly> |
<noinclude> | <noinclude> | ||
[[Category:Appearance]] | [[Category:Appearance]] |
Revision as of 14:32, 25 February 2018
Bar of marks to note your progress/skills/whatever...
Usage:
{{Progressbar| Length=total length (max 20)| Marks=marked length| Segment=unmarked segment| Mark=marked segment}}
Examples:
{{Progressbar|Length=5|Marks=3}}
⬛ ⬛ ⬛ ⬜ ⬜
{{Progressbar|Length=8|Marks=6|Segment=0|Mark=1}}
1 1 1 1 1 1 0 0
{{Progressbar| Length=15| Marks=10| Segment=<div style="float:left; margin:-3px; border-style: solid; border-width: 1px; border-color: #111; border-radius: 50%; background:#fff; padding: 0px; width: 10px; height: 10px;"> </div>| Mark=<div style="float:left; margin:-3px; border-style: solid; border-width: 1px; border-color: #111; border-radius: 50%; background:#b73; padding: 0px; width: 10px; height: 10px;"> </div>}}