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
(take version parameter)
({{{inline}}})
Line 1: Line 1:
{{#vardefine:qd-major|{{#strsplit:{{{1|{{current/version}}}}}|.|2}}}}{{#vardefine:qd-minor|{{#strsplit:{{{1|{{current/version}}}}}|.|3}}}}<div style="background-color: #f0fff0; color:#353; border: 1px solid #eee; padding:0.5em;">'''Download:''' [http://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_win.zip Windows]{{dot}} [http://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_linux.tar.bz2 Linux]{{dot}} [http://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_osx.tar.bz2 Mac (Intel)]{{dot}} [[Installation#Download|Alternative downloads]]
+
{{#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;}}">'''Download:''' [http://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_linux.tar.bz2 Linux]{{dot}} [http://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_osx.tar.bz2 Mac (Intel)]{{dot}} [http://www.bay12games.com/dwarves/df_{{#var:qd-major}}_{{#var:qd-minor}}_win.zip Windows]{{dot}} [[Installation#Download|Alternative downloads]]
 
</div>
 
</div>

Revision as of 02:19, 28 July 2014