Template:InlineVer

From The Cataclysm: Dark Days Ahead Wiki
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.H. And 0.H is currently listed as experimental. As at this moment 0.H 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
0.E
0.F
0.G
0.H (same as 0.G-dev)

Additional arguments

Additional Text

There is a secondary argument you can give, this text string will be printed after the version link. Here is an example how it should be used:

{{InlineVer|0.A|Additional text}}

This additional argument should only be used sparingly. And using this to refer to specific builds is highly discouraged. (As this information is subject to change, and specific builds references tend to be confusing and paradoxically, imprecise. As there is no standard on how to refer to specific builds).

Capitalization

If you want to capitalize the output - which only works on the reference to the experimental version - you can add a C argument to the command. Here is an example:

{{InlineVer|0.A|C=y}}

This changes 'the experimental version' into 'The experimental version'. Actual value of the C argument doens't matter, it even capitalizes on "C=NONONONOPLEASEDONT".

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.H'. Using {{ver|0.H}} will automatically show up as 'the experimental version'.

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.