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:Version"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m (updated namespace check)
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Version {{{1|{{current}}}}}]]</includeonly><small><sup>[[:Category:Version {{{1|{{current}}}}}|v{{{1|{{current}}}}}]]</sup></small><noinclude>
+
<includeonly>{{#ifeq:{{NAMESPACE}}|DF2014|{{#ifexist: Category:Version {{{1}}}|[[Category:Version {{{1}}}]]<small><sup>[[:Category:Version {{{1}}}|v{{{1}}}]]</sup></small>|[[Category:Unknown version]]<small><sup>v{{{1}}}[[:Category:Unknown version|?????]]</sup></small>}}|<small><sup>v{{{1}}}</sup></small>}}</includeonly><noinclude>
 +
{{shortcut|Template:V}}
 +
 
 +
 
 
==Usage==
 
==Usage==
  
Line 10: Line 13:
 
This template is intended for use when a statement is appropriate for a particular version (bug reports, functionality that is likely to undergo change). Place it after the final punctuation of the sentence or paragraph it refers to.  This also includes the page into a category for that version. Please double check that it links to the correct category.
 
This template is intended for use when a statement is appropriate for a particular version (bug reports, functionality that is likely to undergo change). Place it after the final punctuation of the sentence or paragraph it refers to.  This also includes the page into a category for that version. Please double check that it links to the correct category.
  
[[Category:Templates]]</noinclude>
+
If tracking the version number is a hassle, you can use {{tl|current}} to tag information you know is true for the current version. Make sure to '''subst''' it.
 +
 
 +
Due to the "timelessness" of this wiki, usage of this template is discouraged - bugs should be marked with the {{tl|bug}} template, and they should be removed once they have been fixed (unless a new major release fails to fix them, in which case the link should be removed).
 +
 
 +
[[Category:Version templates]]</noinclude>

Latest revision as of 01:05, 21 July 2014

Shortcut:
Template:V


Usage[edit]

Example.{{version|0.23.130.23a}}

gives

Example.v0.23.130.23a

This template is intended for use when a statement is appropriate for a particular version (bug reports, functionality that is likely to undergo change). Place it after the final punctuation of the sentence or paragraph it refers to. This also includes the page into a category for that version. Please double check that it links to the correct category.

If tracking the version number is a hassle, you can use {{current}} to tag information you know is true for the current version. Make sure to subst it.

Due to the "timelessness" of this wiki, usage of this template is discouraged - bugs should be marked with the {{bug}} template, and they should be removed once they have been fixed (unless a new major release fails to fix them, in which case the link should be removed).