Difference between revisions of "QBWiki:WikiProject Missing articles/Progress row"

From QBWiki
Jump to navigation Jump to search
(Created page with "<noinclude>{|class="wikitable" </noinclude>|- {{#ifeq:{{{missing|}}}|0|style="background:silver}} | {{ucfirst:{{{type|<strong class="error">You must provide the <nowiki>{{{typ...")
 
 
(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}}
| {{ucfirst:{{{type|<strong class="error">You must provide the <nowiki>{{{type}}}</nowiki> parameter.</strong>}}}}}
 
 
| {{#if:{{{name|}}}<!--
 
| {{#if:{{{name|}}}<!--
 
-->| [[{{{link|{{{name}}}}}}|{{{name}}}]]<!--
 
-->| [[{{{link|{{{name}}}}}}|{{{name}}}]]<!--
Line 7: Line 6:
 
-->}}
 
-->}}
 
| {{#if:{{{total|}}}<!--  
 
| {{#if:{{{total|}}}<!--  
  -->| {{nts|{{formatnum:{{{total}}}|R}}}}<!--  
+
  -->| {{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|}}}<!--  
  -->| {{nts|{{formatnum:{{{missing}}}|R}}}}<!--  
+
  -->| {{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