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
(Template for versions.)
 
m (updated namespace check)
 
(33 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Articles needing further verification]]</includeonly><small><sup>v{{{1}}}</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>
==Example of Appearance==
+
{{shortcut|Template:V}}
  
Example.{{version|0.23.130.23a}}
 
  
 
==Usage==
 
==Usage==
Line 8: Line 7:
 
<pre><nowiki>Example.{{version|0.23.130.23a}}</nowiki></pre>
 
<pre><nowiki>Example.{{version|0.23.130.23a}}</nowiki></pre>
  
 +
gives
  
This template is intended for use when a statement is appropriate for a particular version (bug reports, functionality that is likely to undergo change).</noinclude>
+
Example.<small><sup>[[:Category:Version 0.23.130.23a|v0.23.130.23a]]</sup></small>
 +
 
 +
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 {{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).