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:Migration progress"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(from ProgresBar)
 
Line 3: Line 3:
 
{{#ifeq: {{{header}}} | no | <p><big>'''{{#expr:( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} ) * 100 round 1}}%'''</big> {{{text|completed <small>(estimate)</small>}}}</p> |  }}
 
{{#ifeq: {{{header}}} | no | <p><big>'''{{#expr:( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} ) * 100 round 1}}%'''</big> {{{text|completed <small>(estimate)</small>}}}</p> |  }}
 
<p style="-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px;-moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px;
 
<p style="-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px;-moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px;
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>
+
border:1px solid #888; padding:1px; overflow:hidden;">
 +
 
 +
<span style="width:{{#expr: ({{{1|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: ({{{2|0}}}/{{{total|100}}}) * 100}}%; height:{{{height|8}}}px; background:#aaa; 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|10}}}+{{{2|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>

Revision as of 01:44, 8 January 2023