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
(ran find/replace check the diff on this please!)
Line 1: Line 1:
 
<center>
 
<center>
<div style="width:{{{width|95%}}};"><p><big>'''{{#expr:({{#expr: ((({{PAGESINCAT:Stub Quality Articles|R}} * 0) +({{PAGESINCAT:Fine Quality Articles|R}} * 75) + ({{PAGESINCAT:Masterwork Quality Articles|R}} * 100))/(({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})))}}) round 1}} out of 100'''</big> overall wiki [[Dwarf Fortress Wiki:Quality|quality]] rating <small>(approximate)</small></p>
+
<div style="width:{{{width|95%}}};"><p><big>'''{{#expr:({{#expr: ((({{PAGESINCAT:Fine Quality Articles|R}} * 0) +({{PAGESINCAT:Exceptional Quality Articles|R}} * 75) + ({{PAGESINCAT:Masterwork Quality Articles|R}} * 100))/(({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})))}}) round 1}} out of 100'''</big> overall wiki [[Dwarf Fortress Wiki:Quality|quality]] rating <small>(approximate)</small></p>
 
<p style="-moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px;-moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px;
 
<p style="-moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px;-moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px;
border:1px solid #bbb; padding:1px; overflow:hidden; background:#eee;"><span style="width:{{#expr: ({{PAGESINCAT:Masterwork Quality Articles|R}}/({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}%; height:{{{height|16}}}px; background:#bd8; float:right; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; padding:0; margin:0;">&nbsp;</span><span style="background:#bd8"><span style="width:{{#expr: ({{PAGESINCAT:Fine Quality Articles|R}}/({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}%; height:{{{height|16}}}px; background:#49f;
+
border:1px solid #bbb; padding:1px; overflow:hidden; background:#eee;"><span style="width:{{#expr: ({{PAGESINCAT:Masterwork Quality Articles|R}}/({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}%; height:{{{height|16}}}px; background:#bd8; float:right; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; padding:0; margin:0;">&nbsp;</span><span style="background:#bd8"><span style="width:{{#expr: ({{PAGESINCAT:Exceptional Quality Articles|R}}/({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}%; height:{{{height|16}}}px; background:#49f;
 
background:-webkit-gradient(
 
background:-webkit-gradient(
 
     linear,
 
     linear,
Line 9: Line 9:
 
     color-stop(.75, #49f),
 
     color-stop(.75, #49f),
 
     color-stop(1, #bd8)
 
     color-stop(1, #bd8)
);float:right;padding:0; margin:0; text-align:left;">&nbsp;</span><span style="width:{{#expr: 100 - (({{PAGESINCAT:Masterwork Quality Articles|R}}/({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1) - (({{PAGESINCAT:Fine Quality Articles|R}}/({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1)}}%; height:{{{height|16}}}px; background: #db8;
+
);float:right;padding:0; margin:0; text-align:left;">&nbsp;</span><span style="width:{{#expr: 100 - (({{PAGESINCAT:Masterwork Quality Articles|R}}/({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1) - (({{PAGESINCAT:Exceptional Quality Articles|R}}/({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1)}}%; height:{{{height|16}}}px; background: #db8;
 
background:-webkit-gradient(
 
background:-webkit-gradient(
 
     linear,
 
     linear,
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:Stub Quality Articles|R}}/({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}% Stub articles<br />
+
{{#expr: ({{PAGESINCAT:Fine Quality Articles|R}}/({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}% Fine articles<br />
{{#expr: ({{PAGESINCAT:Fine Quality Articles|R}}/({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}% Fine articles<br />
+
{{#expr: ({{PAGESINCAT:Exceptional Quality Articles|R}}/({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}% Exceptional articles<br />
{{#expr: ({{PAGESINCAT:Masterwork Quality Articles|R}}/({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}% Exceptional articles<br />
+
{{#expr: ({{PAGESINCAT:Masterwork Quality Articles|R}}/({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})) * 100 round 1}}% Exceptional articles<br />
{{#expr: (({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}}))}} Total rated articles
+
{{#expr: (({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}}))}} Total rated articles
  
<p>'''{{#expr:({{#expr: ((({{PAGESINCAT:Stub Quality Articles|R}} * 0) +({{PAGESINCAT:Fine Quality Articles|R}} * 75) + ({{PAGESINCAT:Masterwork Quality Articles|R}} * 100))/(({{PAGESINCAT:Stub Quality Articles|R}} + {{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Masterwork Quality Articles|R}})))}}) }} out of 100''' overall wiki [[Dwarf Fortress Wiki:Quality|quality]] rating <small>without rounding</small></p>
+
<p>'''{{#expr:({{#expr: ((({{PAGESINCAT:Fine Quality Articles|R}} * 0) +({{PAGESINCAT:Exceptional Quality Articles|R}} * 75) + ({{PAGESINCAT:Masterwork Quality Articles|R}} * 100))/(({{PAGESINCAT:Fine Quality Articles|R}} + {{PAGESINCAT:Exceptional Quality Articles|R}} + {{PAGESINCAT: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 10:33, 6 May 2010

27.9 out of 100 overall wiki quality rating (approximate)

   

63.6% Fine articles
33.9% Exceptional articles
2.5% Exceptional articles
1325 Total rated articles

27.905660377358 out of 100 overall wiki quality rating without rounding