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
(use new background color from template:gamedata)
 
(155 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<div style="width:{{{width|16em}}};"><p><big>'''{{#expr:( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} ) * 100 round 1}}%'''</big> completed <small>(estimate)</small></p>
+
<center style="padding:none; margin:none;">
<p style="-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px;-moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px;
+
<div style="width:{{{width|100%}}}; padding:none; margin:none;">
border:1px solid #888; padding:1px; overflow:hidden;"><span style="width:{{#expr: ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|8}}}px; background:#bd8; float:left; -moz-border-radius-bottomright: 2px; -webkit-border-bottom-right-radius: 2px;-moz-border-radius-topleft: 2px; -webkit-border-top-left-radius: 2px;">&nbsp;</span><span style="width:{{#expr: 100 - ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|8}}}px; background:#fff; float:left; -moz-border-radius-bottomright: 2px; -webkit-border-bottom-right-radius: 2px;-moz-border-radius-topleft: 2px; -webkit-border-top-left-radius: 2px;">&nbsp;</span></p></div>
+
<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;">
 +
<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>
 +
<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>
 +
</div></div></center><noinclude>
 +
{{DF:Quality/percent|{{DF:Current}}|Tattered}}% Tattered articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Tattered Quality Articles|R}})<br />
 +
{{DF:Quality/percent|{{DF:Current}}|Fine}}% Fine articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Fine Quality Articles|R}})<br />
 +
{{DF:Quality/percent|{{DF:Current}}|Superior}}% Superior articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Superior Quality Articles|R}})<br />
 +
{{DF:Quality/percent|{{DF:Current}}|Exceptional}}% Exceptional articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Exceptional Quality Articles|R}})<br />
 +
{{DF:Quality/percent|{{DF:Current}}|Masterwork}}% Masterwork articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Masterwork Quality Articles|R}})<br />
 +
{{NUMBEROFARTICLES|{{DF:Current}}}} Total rated articles
 +
 
 +
</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