Difference between revisions of "QBWiki:WikiProject Missing articles/Progress row"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) (Created page with "<noinclude>{|class="wikitable" </noinclude>|- {{#ifeq:{{{missing|}}}|0|style="background:silver}} | {{ucfirst:{{{type|<strong class="error">You must provide the <nowiki>{{{typ...") |
Kevin Wang (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{|class="wikitable" | <noinclude>{|class="wikitable" | ||
</noinclude>|- {{#ifeq:{{{missing|}}}|0|style="background:silver}} | </noinclude>|- {{#ifeq:{{{missing|}}}|0|style="background:silver}} | ||
− | |||
| {{#if:{{{name|}}}<!-- | | {{#if:{{{name|}}}<!-- | ||
-->| [[{{{link|{{{name}}}}}}|{{{name}}}]]<!-- | -->| [[{{{link|{{{name}}}}}}|{{{name}}}]]<!-- | ||
Line 7: | Line 6: | ||
-->}} | -->}} | ||
| {{#if:{{{total|}}}<!-- | | {{#if:{{{total|}}}<!-- | ||
− | --> | + | -->| {{formatnum:{{{total}}}|R}}<!-- |
-->| <strong class="error">You must provide the <nowiki>{{{total}}}</nowiki> parameter.</strong><!-- | -->| <strong class="error">You must provide the <nowiki>{{{total}}}</nowiki> parameter.</strong><!-- | ||
-->}} | -->}} | ||
| {{#if:{{{missing|}}}<!-- | | {{#if:{{{missing|}}}<!-- | ||
− | --> | + | -->| {{formatnum:{{{missing}}}|R}}<!-- |
-->| <strong class="error">You must provide the <nowiki>{{{missing}}}</nowiki> parameter.</strong><!-- | -->| <strong class="error">You must provide the <nowiki>{{{missing}}}</nowiki> parameter.</strong><!-- | ||
-->}} | -->}} | ||
+ | | {{#ifeq:{{{missing|}}}|0<!-- | ||
+ | -->| style="background-color: hsl( 120, 100%, 75%);" {{!}} 100%<!-- | ||
+ | -->| style="background-color: hsl( {{#expr:(( {{{total|1}}} - {{{missing|1}}} ) / {{{total|1}}}) * 120}}, 100%, 75%);"<!-- | ||
+ | -->{{!}} {{#expr: ( {{{total|1}}} - {{{missing|1}}} ) / {{{total|1}}} * 100 round 2 }}%<!-- | ||
+ | -->}} | ||
+ | | {{{start|n/a}}} | ||
+ | | {{{stop|n/a}}} | ||
|- | |- | ||
<noinclude>|}</noinclude> | <noinclude>|}</noinclude> |
Latest revision as of 09:22, 7 October 2021
You must provide the {{{name}}} parameter. | You must provide the {{{total}}} parameter. | You must provide the {{{missing}}} parameter. | 0% | n/a | n/a |