v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Main page progress bar"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m
Line 20: Line 20:
 
  float:right; -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px;padding:0; margin:0; text-align:left;">&nbsp;</span></span></p></div></center>
 
  float:right; -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px;padding:0; margin:0; text-align:left;">&nbsp;</span></span></p></div></center>
 
<noinclude>
 
<noinclude>
{{#expr: ({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}}/({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}})) * 100 round 1}}% Fine articles ({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}})<br />
+
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Tattered}}% Tattered articles ({{PAGESINCAT:{{{1|DF2010}}}:Tattered Quality Articles|R}})<br />
{{#expr: ({{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}}/({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}})) * 100 round 1}}% Exceptional articles ({{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}})<br />
+
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Fine}}% Fine articles ({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}})<br />
{{#expr: ({{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}}/({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}})) * 100 round 1}}% Masterwork articles ({{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}})<br />
+
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Exceptional}}% Exceptional articles ({{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}})<br />
{{#expr: (({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}}))}} Total rated articles
+
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Masterwork}}% Masterwork articles ({{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}})<br />
 +
{{NUMBEROFARTICLES|DF2010}} Total rated articles
  
<p>'''{{#expr:({{#expr: ((({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}} * 0) +({{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}} * 50) + ({{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}} * 100))/(({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}} + {{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}})))}}) }} out of 100''' overall wiki [[Dwarf Fortress Wiki:Quality|quality]] rating <small>without rounding</small></p>
 
 
</noinclude>
 
</noinclude>

Revision as of 16:19, 15 May 2010

Division by zero. out of 100 quality rating for DF2010 namespace (approximate)

<span style="width:Division by zero.%; height:16px; background:#bd8; float:right; -moz-border-radius-bottogmright: 4px; -webkit-border-bottom-right-radius: 4px; padding:0; margin:0;"> <span style="width:Division by zero.%; height:16px; background:#49f; background:-webkit-gradient( linear, left bottom, right bottom, color-stop(.75, #49f), color-stop(1, #bd8) );float:right;padding:0; margin:0; text-align:left;"> <span style="width:Division by zero.%; height:16px; background: #db8; background:-webkit-gradient( linear, left bottom, right bottom, color-stop(0, #ff8), color-stop(.75, #db8), color-stop(1, #49f) ); float:right; -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px;padding:0; margin:0; text-align:left;"> 

Division by zero.% Tattered articles (0)
Division by zero.% Fine articles (0)
Division by zero.% Exceptional articles (0)
Division by zero.% Masterwork articles (0)
0 Total rated articles