Template:InlineVer: Difference between revisions
(0.F is Frank) |
m (missed a spot) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
|0.D = [[0.D (Danny)]] | |0.D = [[0.D (Danny)]] | ||
|0.E = [[0.E (Ellison)]] | |0.E = [[0.E (Ellison)]] | ||
|0.F = [[ | |0.F = [[0.F (Frank)]] | ||
|0.G = [[Experimental|{{#if:{{{C|}}}|T|t}}he post-0. | |0.G = [[0.G (Gaiman)]] | ||
|0. | |0.H = [[Experimental|{{#if:{{{C|}}}|T|t}}he post-0.G experimental version]] | ||
|0.G-dev = [[Experimental|{{#if:{{{C|}}}|T|t}}he post-0.G experimental version]] | |||
|#default={{{1|Version}}} | |#default={{{1|Version}}} | ||
}}<!-- | }}<!-- | ||
Line 33: | Line 34: | ||
to a page if you want to make a reference to version 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. | 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 == | == List of allowed arguments == | ||
Line 48: | Line 49: | ||
0.E | 0.E | ||
0.F | 0.F | ||
0.G (same as 0. | 0.G | ||
0.H (same as 0.G-dev) | |||
=== Additional arguments === | === Additional arguments === | ||
Line 71: | Line 73: | ||
Do not reference to an experimental version directly. For example <nowiki>{{ver|experimental}}</nowiki>. 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. | Do not reference to an experimental version directly. For example <nowiki>{{ver|experimental}}</nowiki>. 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. | 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 <nowiki>{{ver|0.H}}</nowiki> will automatically show up as '[[Experimental|the experimental version]]'. | ||
== See also == | == See also == |
Latest revision as of 17:42, 11 June 2023
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.