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:Quick download"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Added Itch and Classic)
m (there are no Mac versions of 50.xx yet - once that changes, revert this)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{#vardefine:qd-major|{{#strsplit:{{{1|{{current/version}}}}}|.|2}}}}{{#vardefine:qd-minor|{{#strsplit:{{{1|{{current/version}}}}}|.|3}}}}<div style="{{#if:{{{inline|}}}||background-color: #f0fff0; color:#353; border: 1px solid #eee; padding:0.5em;}}{{{style|}}}"><!--
 
{{#vardefine:qd-major|{{#strsplit:{{{1|{{current/version}}}}}|.|2}}}}{{#vardefine:qd-minor|{{#strsplit:{{{1|{{current/version}}}}}|.|3}}}}<div style="{{#if:{{{inline|}}}||background-color: #f0fff0; color:#353; border: 1px solid #eee; padding:0.5em;}}{{{style|}}}"><!--
  
-->'''Download:''' {{#if:{{{steam|}}}|<!--
+
-->'''Download{{#if:{{{premium|}}}|&nbsp;Premium}}:''' {{#if:{{{premium|}}}|<!--
  
 
-->[https://steamcommunity.com/app/975370/ Steam]{{dot}} <!--
 
-->[https://steamcommunity.com/app/975370/ Steam]{{dot}} <!--
-->[https://kitfoxgames.itch.io/dwarf-fortress Itch.io]{{dot}} <!--
+
-->[https://kitfoxgames.itch.io/dwarf-fortress Itch.io]<!--
-->[https://www.bay12games.com/dwarves/older_versions.html Classic]|<!--
+
-->{{#if:{{{premium|}}}|<br>'''Download Classic: '''}}[https://www.bay12games.com/dwarves/older_versions.html all versions]|<!--
  
 
-->[https://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_linux.tar.bz2 Linux]{{dot}} <!--
 
-->[https://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_linux.tar.bz2 Linux]{{dot}} <!--
-->[https://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_osx.tar.bz2 Mac OS X]{{dot}} <!--
+
-->{{#ifexpr:{{#var:qd-major}} < 50|[https://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_osx.tar.bz2 Mac OS X]{{dot}} }}<!--
 
-->[https://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_win.zip Windows]{{dot}} <!--
 
-->[https://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_win.zip Windows]{{dot}} <!--
 
-->[https://www.bay12games.com/dwarves/older_versions.html all versions]{{dot}} <!--
 
-->[https://www.bay12games.com/dwarves/older_versions.html all versions]{{dot}} <!--

Latest revision as of 20:38, 3 April 2024

Download: Linux · Mac OS X ·Windows · all versions · starter packs