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
Line 9: Line 9:
 
     color-stop(0, #49f),
 
     color-stop(0, #49f),
 
     color-stop(1, #bd8)
 
     color-stop(1, #bd8)
);
+
);float:right;padding:0; margin:0;">&nbsp;</span><span style="width:{{#expr: ({{PAGESINCAT:Elven Quality Articles|R}}/({{PAGESINCAT:Elven Quality Articles|R}} + {{PAGESINCAT:Human Quality Articles|R}} + {{PAGESINCAT:Dwarven Quality Articles|R}})) * 100 round 1}}%; height:{{{height|16}}}px; background: #db8;
background:-moz-linear-gradient(
 
    center center,
 
    #49f 0%,
 
    #bd8 100%
 
);
 
; float:right;padding:0; margin:0;">&nbsp;</span><span style="width:{{#expr: ({{PAGESINCAT:Elven Quality Articles|R}}/({{PAGESINCAT:Elven Quality Articles|R}} + {{PAGESINCAT:Human Quality Articles|R}} + {{PAGESINCAT:Dwarven Quality Articles|R}})) * 100 round 1}}%; height:{{{height|16}}}px; background: #db8;
 
background:-moz-linear-gradient(
 
    center center,
 
    #db8 75%,
 
    #49f 100%
 
);
 
 
background:-webkit-gradient(
 
background:-webkit-gradient(
 
     linear,
 
     linear,

Revision as of 10:07, 25 April 2010

Expression error: Unexpected < operator. out of 100 overall wiki quality rating (estimate)

<span style="width:Division by zero.%; height:16px; background:#bd8; float:right; -moz-border-radius-bottomright: 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(0, #49f), color-stop(1, #bd8) );float:right;padding:0; margin:0;"> <span style="width:Division by zero.%; height:16px; background: #db8; background:-webkit-gradient( linear, left bottom, right bottom, 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;"> 

Division by zero.% Fine article percentage
Division by zero.% Exceptional article percentage
Division by zero.% Masterwork article percentage
0 Total rated articles