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 (added more question marks to make usage errors more noticable)
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#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>
+
<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#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>
 
==Usage==
 
==Usage==
  

Revision as of 19:01, 1 November 2008

Usage

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 template:current to tag information you know is true for the current version. Make sure to subst it.