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
(use new background color from template:gamedata)
 
(49 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<center>
+
<center style="padding:none; margin:none;">
<div style="width:{{{width|95%}}};"><p><big>'''{{Dwarf Fortress Wiki:Quality/rating|{{{1|DF2010}}}}} out of 100'''</big> [[Dwarf Fortress Wiki:Quality|quality]] rating for {{{1|DF2010}}} namespace <small>(approximate)</small></p>
+
<div style="width:{{{width|100%}}}; padding:none; margin:none;">
<p style="-moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px;-moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px;
+
<div style=" border: 1px solid {{{border|#ac7}}}; padding:1px; overflow:hidden; background:{{{backbg|#F9F9F9}}}; position:relative; height:{{{height|18}}}px;border-top-left-radius:4px; -moz-border-radius-topleft:4px; -webkit-border-top-left-radius:4px; border-bottom-right-radius:4px; -moz-border-radius-bottomright:4px; -webkit-border-bottom-right-radius:4px;">
border:1px solid #bbb; padding:1px; overflow:hidden; background:#eee;"><span style="width:{{Dwarf Fortress Wiki:Quality/percent|{{{1|DF2010}}}|Masterwork}}%; 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="width:{{Dwarf Fortress Wiki:Quality/percent|{{{1|DF2010}}}|Exceptional}}%; height:{{{height|16}}}px; background:#49f;
+
<div style="width:{{DF:Quality/rating|{{#switch:{{{1|{{DF:Current}}}}}|DF2012=v0.34|DF2010=v0.31|#default={{{1|{{DF:Current}}}}}}}}}%; height:100%; border-right: 1px solid {{{border|#ac7}}}; background:{{{barbg|{{{bg|#cce6b3}}}}}}; float:left; padding:0; margin:0; position:absolute; top: 0px; left: 0px;"></div>
background:-webkit-gradient(
+
<span style="height:100%; padding:0; margin:0; position:absolute; top:0px; left: 10px; font-size:12px; line-height:18px;   text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.75);"><small>[[DF:Quality|'''{{DF:Quality/rating|{{#switch:{{{1|{{DF:Current}}}}}|DF2010=v0.31|#default={{{1|{{DF:Current}}}}}}}}} out of 100 ''' quality rating for the {{{1|{{DF:Current}}}}} namespace (approximate)]]</small></span>
    linear,
+
</div></div></center><noinclude>
    left bottom,
+
{{DF:Quality/percent|{{DF:Current}}|Tattered}}% Tattered articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Tattered Quality Articles|R}})<br />
    right bottom,
+
{{DF:Quality/percent|{{DF:Current}}|Fine}}% Fine articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Fine Quality Articles|R}})<br />
    color-stop(.75, #49f),
+
{{DF:Quality/percent|{{DF:Current}}|Superior}}% Superior articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Superior Quality Articles|R}})<br />
    color-stop(1, #bd8)
+
{{DF:Quality/percent|{{DF:Current}}|Exceptional}}% Exceptional articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Exceptional Quality Articles|R}})<br />
);float:right;padding:0; margin:0; text-align:left;">&nbsp;</span><span style="width:{{Dwarf Fortress Wiki:Quality/percent|{{{1|DF2010}}}|Fine}}%; height:{{{height|16}}}px; background: #db8;
+
{{DF:Quality/percent|{{DF:Current}}|Masterwork}}% Masterwork articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Masterwork Quality Articles|R}})<br />
background:-webkit-gradient(
+
{{NUMBEROFARTICLES|{{DF:Current}}}} Total rated articles
    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;">&nbsp;</span><span style="width:{{#expr:100 - {{Dwarf Fortress Wiki:Quality/percent|{{{1|DF2010}}}|Fine}} - {{Dwarf Fortress Wiki:Quality/percent|{{{1|DF2010}}}|Exceptional}} - {{Dwarf Fortress Wiki:Quality/percent|{{{1|DF2010}}}|Masterwork}}}}%; height:{{{height|16}}}px; background: #ccc;
 
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;">&nbsp;</span></p></div></center>
 
<noinclude>
 
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Tattered}}% Tattered articles ({{PAGESINCAT:{{{1|DF2010}}}:Tattered Quality Articles|R}})<br />
 
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Fine}}% Fine articles ({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}})<br />
 
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Exceptional}}% Exceptional articles ({{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}})<br />
 
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Masterwork}}% Masterwork articles ({{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}})<br />
 
{{NUMBEROFARTICLES|DF2010}} Total rated articles
 
  
 
</noinclude>
 
</noinclude>

Latest revision as of 18:33, 28 June 2022

<div style="width:Division by zero.%; height:100%; border-right: 1px solid #ac7; background:#cce6b3; float:left; padding:0; margin:0; position:absolute; top: 0px; left: 0px;">

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

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