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)
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<center style="padding:none; margin:none;">
 
<center style="padding:none; margin:none;">
 
<div style="width:{{{width|100%}}}; padding:none; margin:none;">
 
<div style="width:{{{width|100%}}}; padding:none; margin:none;">
<div style=" border: 1px solid #ac7; padding:1px; overflow:hidden; background:#f9f9f9; position:relative; height:{{{height|18}}}px;">
+
<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:{{Dwarf Fortress Wiki:Quality/rating|{{{1|DF2010}}}}}%; height:100%; border: 1px solid #ac7; background:#bd8; float:left; padding:0; margin:0; position:absolute; top: 0px; left: 0px;"></div>
+
<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>'''{{Dwarf Fortress Wiki:Quality/rating|{{{1|DF2010}}}}} out of 100 ''' [[Dwarf Fortress Wiki:Quality|quality]] rating for {{{1|DF2010}}} namespace (approximate)</small></span>
+
<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>
 
</div></div></center><noinclude>
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Tattered}}% Tattered articles ({{PAGESINCAT:{{{1|DF2010}}}:Tattered Quality Articles|R}})<br />
+
{{DF:Quality/percent|{{DF:Current}}|Tattered}}% Tattered articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Tattered Quality Articles|R}})<br />
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Fine}}% Fine articles ({{PAGESINCAT:{{{1|DF2010}}}:Fine Quality Articles|R}})<br />
+
{{DF:Quality/percent|{{DF:Current}}|Fine}}% Fine articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Fine Quality Articles|R}})<br />
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Exceptional}}% Exceptional articles ({{PAGESINCAT:{{{1|DF2010}}}:Exceptional Quality Articles|R}})<br />
+
{{DF:Quality/percent|{{DF:Current}}|Superior}}% Superior articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Superior Quality Articles|R}})<br />
{{Dwarf Fortress Wiki:Quality/percent|DF2010|Masterwork}}% Masterwork articles ({{PAGESINCAT:{{{1|DF2010}}}:Masterwork Quality Articles|R}})<br />
+
{{DF:Quality/percent|{{DF:Current}}|Exceptional}}% Exceptional articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Exceptional Quality Articles|R}})<br />
{{NUMBEROFARTICLES|DF2010}} Total rated articles
+
{{DF:Quality/percent|{{DF:Current}}|Masterwork}}% Masterwork articles ({{PAGESINCAT:{{{1|{{DF:Current}}}}}:Masterwork Quality Articles|R}})<br />
 +
{{NUMBEROFARTICLES|{{DF:Current}}}} 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