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:New in"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(new error when putting in 0.23.130.23a)
(add an icon for 0.47)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{ambox|text={{#if:{{{1|}}}|{{#ifexist:{{ns|{{{1}}}}}:Release information/{{#rreplace:{{{1}}}|^v|\1}}|
+
<includeonly>{{#vardefine:v|{{#rreplace:{{{1}}}|^v|\1}}}}{{ambox|text={{#if:{{{1|}}}|{{#ifexist:{{ns|{{{1}}}}}:Release information/{{#var:v}}|
{{#ifeq:{{#rreplace:{{{1}}}|^v|\1}}|0.23.130.23a|<span style="color: #d33; font-size: larger;">'''Error: [[23a:Release_information|DF 0.23.130.23a]] is the first release of Dwarf Fortress'''</span>|This page contains information only relevant to [[{{ns|{{{1}}}}}:Release information/{{#rreplace:{{{1}}}|^v|\1}}|DF {{#rreplace:{{{1}}}|^v|\1}}]]{{#ifeq:{{#rreplace:{{{1}}}|^v|\1}}|{{Current/version}}||&nbsp;and newer}}. Most or all of this information does not apply to previous versions. Older saves from previous versions {{#switch:{{#rreplace:{{{1}}}|^v|\1}}|0.27.169.32a|0.31.01|0.34.01|0.40.01=are not|0.21.93.19b|0.21.101.19b|0.21.101.19c|0.21.104.19a|0.21.104.19c|0.21.104.21c|0.22.110.22a|0.22.110.22b|0.22.110.22c|0.22.110.22d|0.22.110.23b|0.22.110.23c|0.22.120.23b|0.22.121.23a|0.23.125.23a|0.23.125.23b|0.34.02|0.40.02|0.40.03=in the {{ns|{{{1}}}}} release cycle are not|in the {{ns|{{{1}}}}} release cycle are still}} [[save compatibility|compatible]] with this version.}}|
+
{{#ifeq:{{#var:v}}|0.21.93.19a|{{error|[[23a:Release information|DF 0.21.93.19a]] is the first public release of Dwarf Fortress}}|This {{{2|page}}} contains information only relevant to [[{{ns|{{{1}}}}}:Release information/{{#var:v}}|DF {{#var:v}}]]{{#ifeq:{{#var:v}}|{{Current/version}}||&nbsp;and newer}}. Most or all of this information does not apply to previous versions. Older saves from previous versions {{#switch:{{#var:v}}|0.27.169.32a|0.31.01|0.34.01|0.40.01=are not|0.21.93.19b|0.21.101.19b|0.21.101.19c|0.21.104.19a|0.21.104.19c|0.21.104.21c|0.22.110.22a|0.22.110.22b|0.22.110.22c|0.22.110.22d|0.22.110.23b|0.22.110.23c|0.22.120.23b|0.22.121.23a|0.23.125.23a|0.23.125.23b|0.34.02|0.40.02|0.40.03=in the {{ns|{{{1}}}}} release cycle are not|in the {{ns|{{{1}}}}} release cycle are still}} [[save compatibility|compatible]] with this version.}}|{{error|Version number "{{{1}}}" not found'''}}}}|{{error|Version number not specified}}}}
<span style="color: #d33; font-size: larger;">'''Error: Version number "{{{1}}}" not found'''</span>}}|<span style="color: #d33; font-size: larger;">'''Error: Version number not specified'''</span>}}
+
|image=[[File:{{#switch:{{#strsplit:{{{1}}}|.|2}}|#default=Ambox notice.svg|40=Globe.svg|42=Beer mug.svg|43=Tux Paint fort.svg|44=Swords.svg|47=Spy silhouette.svg}}|40x40px]]
|image=[[File:Beer mug.svg|40x40px]]
+
|bordercolor=#0f0}}{{#ifeq:{{{cat|}}}|nocat||[[Category:New in {{#var:v}}]]}}</includeonly><noinclude>
|bordercolor=#0f0
+
{{documentation}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
+
[[Category:Version templates]]
 +
</noinclude>

Latest revision as of 20:38, 20 June 2020