Template:InlineVer

From The Cataclysm: Dark Days Ahead Wiki
Revision as of 22:28, 7 November 2017 by Soyweiser (talk | contribs) (Testing of additional argument)
Jump to navigation Jump to search

Version

What does this template do?

It creates and links an inline version reference to the correct version. Like this 0.A (Kaufman).

It automatically changes a version reference to the correct version name. And it creates a link to the correct version page. It does not automatically add the page a category.

What do I use this template for?

You can use this template to reference versions inline. So for example you want to mention something was introduced in a certain version, you can use this template for it. By using this system, we only have to update this template when a new version is released.

How to use

Just add

{{InlineVer|0.A}} 

to a page if you want to make a reference to version 0.A.

Currently it supports from version 0.5 up to version 0.D. And 0.D is currently listed as experimental. As at this moment 0.D is not out yet.

List of allowed arguments

0.5
0.6
0.7
0.7.1
0.8
0.9
0.A
0.B
0.C
0.D

What not to do

Do not reference to an experimental version directly. For example {{ver|experimental}}. As the game changes, todays experimental can be tomorrows release. If you directly mention something as being from experimental, in the future this will lead to the wiki being even more outdated.

The template contains a future reference to the next planned version. Just use that one as a link to the experimental version. Currently this is '0.D'. Using {{ver|0.D}} will automatically show up as 'Experimental'.

See also

  • The Template:ver, used to create an infobox with the page's version information, and to add a page to that versions category page.
  • The Template:mod, used to create an infobox with mod information.