Jump to content

User:Daedalus969/sandbox2: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
better width control; save progress
more testing for better grads
Line 6: Line 6:
<div style="border: 1px solid transparent; position: relative; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px;">
<div style="border: 1px solid transparent; position: relative; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px;">
<div style="background: {{{background2|#2222EE}}}; width: {{#ifexpr:{{#expr:({{{1|{{{current|0}}}}}}/{{{2|{{{goal|100}}}}}})*100}}>=100|100|{{#expr:({{{1|{{{current|0}}}}}}/{{{2|{{{goal|100}}}}}})*100}}}}%; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px; {{#ifeq:{{{moz}}}|yes| {{border-radius|{{{mozsize|110}}}px}}}} position: absolute;"></div>
<div style="background: {{{background2|#2222EE}}}; width: {{#ifexpr:{{#expr:({{{1|{{{current|0}}}}}}/{{{2|{{{goal|100}}}}}})*100}}>=100|100|{{#expr:({{{1|{{{current|0}}}}}}/{{{2|{{{goal|100}}}}}})*100}}}}%; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px; {{#ifeq:{{{moz}}}|yes| {{border-radius|{{{mozsize|110}}}px}}}} position: absolute;"></div>
<div style="width: 100%; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px; position: absolute;"><noinclude>
<div style="text-align: justify; -ms-text-justify: distribute-all-lines; text-justify: distribute-all-lines; width: 100%; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px; position: absolute;"><noinclude>
</noinclude>{{#ifeq:{{{grad}}}|yes|<div style="float: left; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}}; margin-left: 9.5%;"></div>}}<noinclude>
</noinclude>{{loop|8|{{#ifeq:{{{grad}}}|yes|<div style="vertical-align: top; display: inline-block; *display: inline; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}};"></div>}}}}<noinclude>
</noinclude><span style="width: 100%; display: inline-block; font-size: 0; line-height: 0;"></span><!--<div id="goal_value_marker" style="line-height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px;">{{#ifeq:{{{display}}}|yes|{{#ifexpr:{{{1|{{{current|0}}}}}}>={{{2|{{{goal|100}}}}}}||{{#ifexpr:{{{1|{{{current|0}}}}}}>={{#expr:({{{2|{{{goal|100}}}}}}*.99) round 0}}||<div style="color: {{{fontcolor2|red}}}; display: inline-block">'''{{{2|{{{goal|100}}}}}}'''</div>}}}}}}</div>-->
</noinclude>{{#ifeq:{{{grad}}}|yes|<div style="float: left; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}}; margin-left: 9.5%;"></div>}}<noinclude>
</noinclude>{{#ifeq:{{{grad}}}|yes|<div style="float: left; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}}; margin-left: 9.5%;"></div>}}<noinclude>
</noinclude>{{#ifeq:{{{grad}}}|yes|<div style="float: left; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}}; margin-left: 9.5%;"></div>}}<noinclude>
</noinclude>{{#ifeq:{{{grad}}}|yes|<div style="float: left; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}}; margin-left: 9.5%;"></div>}}<noinclude>
</noinclude>{{#ifeq:{{{grad}}}|yes|<div style="float: left; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}}; margin-left: 9.5%;"></div>}}<noinclude>
</noinclude>{{#ifeq:{{{grad}}}|yes|<div style="float: left; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}}; margin-left: 9.5%;"></div>}}<noinclude>
</noinclude>{{#ifeq:{{{grad}}}|yes|<div style="float: left; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}}; margin-left: 9.5%;"></div>}}<noinclude>
</noinclude>{{#ifeq:{{{grad}}}|yes|<div style="float: left; width: {{{gradwidth|10}}}px; height: 98%; background-color: {{{gradcolor|black}}}; margin-left: 9.5%;"></div>}}<noinclude>
</noinclude><div id="goal_value_marker" style="float: right; margin-right: 10px; line-height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px;">{{#ifeq:{{{display}}}|yes|{{#ifexpr:{{{1|{{{current|0}}}}}}>={{{2|{{{goal|100}}}}}}||{{#ifexpr:{{{1|{{{current|0}}}}}}>={{#expr:({{{2|{{{goal|100}}}}}}*.99) round 0}}||<div style="color: {{{fontcolor2|red}}}; display: inline-block">'''{{{2|{{{goal|100}}}}}}'''</div>}}}}}}</div>
</div>
</div>
<div style="background: transparent; width: {{#ifexpr:{{#expr:({{{1|{{{current|0}}}}}}/{{{2|{{{goal|100}}}}}})*100}}>=100|100|{{#expr:({{{1|{{{current|0}}}}}}/{{{2|{{{goal|100}}}}}})*100}}}}%; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px; line-height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px; {{#ifeq:{{{moz}}}|yes| {{border-radius|{{{mozsize|110}}}px}}}} position: absolute;"><span style="color: {{{fontcolor1|red}}}; position: relative; margin-right: 10px; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px;">{{{1|{{{current|0}}}}}}</span></div>
<div style="background: transparent; width: {{#ifexpr:{{#expr:({{{1|{{{current|0}}}}}}/{{{2|{{{goal|100}}}}}})*100}}>=100|100|{{#expr:({{{1|{{{current|0}}}}}}/{{{2|{{{goal|100}}}}}})*100}}}}%; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px; line-height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px; {{#ifeq:{{{moz}}}|yes| {{border-radius|{{{mozsize|110}}}px}}}} position: absolute;"><span style="color: {{{fontcolor1|red}}}; position: relative; margin-right: 10px; height: {{#if:{{{1|{{{current|0}}}}}}|{{{height|50}}}|{{#expr:{{{height|50}}}+1}}}}px;">{{{1|{{{current|0}}}}}}</span></div>
Line 26: Line 18:
</div>
</div>
</includeonly>
</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>
<nowiki>{{Progress meter|current=52|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=100%}}</nowiki>


Gets:


{{User:Daedalus969/sandbox2|current=52|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=100%}}
<noinclude>

{{User:Daedalus969/sandbox2|current=52|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2}}

{{User:Daedalus969/sandbox2|current=598 |goal=702 |comment1=Plan A, Strata 950 |width=100% |height=20 |display=yes |background2=yellow| bordercolor=black |fontcolor1=red|percent=yes}}

{{User:Daedalus969/sandbox2|current=624 |goal=624 |comment1=Plan B, Schramm T130 |width=100% |height=20 |display=yes |background2=green| bordercolor=black |fontcolor1=white|percent=yes}}

{{User:Daedalus969/sandbox2|current=372 |goal=597|comment1=Plan C, RIG-421 |width=100% |height=20 |display=yes |background2=yellow| bordercolor=black |fontcolor1=red|percent=yes}}

{{User:Daedalus969/sandbox2|current=2 |goal=65 |comment1=Rescue plans suspended, after no more than 2 bodies were found |width=100%|height=20 |display=yes |background2=red| bordercolor=black |fontcolor1=black|percent=yes}}
<nowiki>{{Progress meter|current=52|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=50%}}</nowiki>
{{User:Daedalus969/sandbox2|current=598 |goal=702 |comment1=Plan A, Strata 950 |width=100% |height=20 |display=yes |background2=green| bordercolor=black |fontcolor1=white|percent=yes}}

{{User:Daedalus969/sandbox2|current=624 |goal=624 |comment1='''Plan B, Schramm T130''' |width=100% |height=20 |display=yes |background2=green| bordercolor=black |fontcolor1=white|percent=yes}}
Gets:
{{User:Daedalus969/sandbox2|current=372 |goal=597|comment1=Plan C, RIG-421 |width=100% |height=20 |display=yes |background2=green| bordercolor=black |fontcolor1=white|percent=yes}}

{{User:Daedalus969/sandbox2
{{User:Daedalus969/sandbox2|current=52|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=50%}}
|current={{NUMBEROF|ARTICLES|en}}

|goal=4000000

|height=35

|width=300

|comment1={{Purge}} Help us reach 4,000,000 articles.

|display=yes
<nowiki>{{Progress meter|current=10|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=100%}}</nowiki>
|align=left

|fontcolor1=black
Gets:
|fontcolor2=black

|background2=#0015FF
{{User:Daedalus969/sandbox2|current=10|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=100%}}
|percent=yes

|percentdec=2}}


{{User:Daedalus969/sandbox2

|current={{NUMBEROF|ADMINS|en}}

|goal=2000
<nowiki>{{Progress meter|current=10|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=50%}}</nowiki>
|height=35

|width=300
Gets:
|comment1={{Purge}} 2,000 administrators

|display=yes
{{User:Daedalus969/sandbox2|current=10|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=50%}}
|align=left

|fontcolor1=black
{{clear}}
|fontcolor2=black
|background2=#00FFFF
|percent=yes
|percentdec=2}}
{{User:Daedalus969/sandbox2
|current={{NUMBEROF|USERS|en}}
|goal=20000000
|height=35
|width=300
|comment1={{Purge}} 20 million users
|display=yes
|align=left
|fontcolor1=black
|fontcolor2=black
|background2=#0072FF
|percent=yes
|percentdec=2}}
{{User:Daedalus969/sandbox2
|current={{NUMBEROF|EDITS|en}}
|goal=700000000
|height=35
|width=300
|comment1={{Purge}} All users contribute 700 million times.
|display=yes
|align=left
|fontcolor1=black
|fontcolor2=black
|background2=#00EEFF
|percent=yes
|percentdec=2}}
{{User:Daedalus969/sandbox2
|current={{NUMBEROF|ACTIVEUSERS|en}}
|goal=150000
|height=35
|width=300
|comment1={{Purge}} 150000 active users
|display=yes
|align=left
|fontcolor1=black
|fontcolor2=black
|background2=#0011FF
|percent=yes
|percentdec=2}}
</noinclude>
</noinclude>

Revision as of 03:20, 8 July 2018


{{Progress meter|current=52|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=100%}}

Gets:


comment 1  
52
comment 2




{{Progress meter|current=52|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=50%}}

Gets:


comment 1  
52
comment 2




{{Progress meter|current=10|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=100%}}

Gets:


comment 1  
10
comment 2




{{Progress meter|current=10|moz=yes|grad=yes|display=yes|comment1=comment 1|comment2=comment 2|width=50%}}

Gets:


comment 1  
10
comment 2