Template talk:Ver

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search

Experimental

I have added a version 0.D to the system. It currently shows as 'experimental' (example: ). This way when we release version 0.D only this template needs to be changed, and links to 0.D (instead of experimental) automatically. And new references to experimental should then be called 0.E. --Soyweiser (talk) 03:30, 6 July 2015 (PDT)

What to do if a new version is released.

So the overlords^H^H^H^H^H, nice scientists who maintain the code released a new version, and you want to update this template? Here is what you should do:

Add a new line to both of the lists of versions. A copy of the previous one, so for the first list this will look something like:

  ...
  |0.D = [[Experimental]]
  |#default={{{1|Version}}}

Becomes

  ...
  |0.D = [[Experimental]]
  |0.D = [[Experimental]]
  |#default={{{1|Version}}}

Increment the version of the new line, and change the old experimental name to the new version name. (This first list determines what is shown to the people viewing the page, and the name of the page linked towards). So this becomes:

  ...
  |0.D = [[0.D (Deatheater)]]
  |0.E = [[Experimental]]
  |#default={{{1|Version}}}

The second list is just the category that is automatically added to the page if this version system is used. It should also be updated accordingly. So it becomes:

  ...
  |0.C = [[Category:0.C (Cooper)]]
  |0.D = [[Category:0.D (Deatheater)]]
  |0.E = [[Category:Experimental Release]]
  |#default=

Note: No idea yet how 0.D will be called, I called it deatheater just as an example. The real name of version 0.D will be determined by others, and released on the forum. Get the correct name from there.

Now add the new letter to the list of allowed arguments at the main template documentation.

Last but not least, update the noinclude description of the template to the new version. So change any references from 0.D to 0.E. (in this example).

Also update Template:InlineVer.

--Soyweiser (talk) 03:50, 6 July 2015 (PDT)

Updated for new version. But this system should still work when 0.E is released. --Soyweiser (talk) 09:08, 8 March 2019 (CST)

Removal of text generated by this template.

Why was the "this is version Foo (link to foo part of wiki)" part removed? Without updating all the references where this template is called? This was kind of an important thing in a lot of pages. It used to say : "In version 0.A, this was changed to 'something'" now it says "In, this was changed to 'something'". Which makes no sense.

Tagging whole pages as being for a specific version was never the intent of this template. And various content is now broken due to the changes made to this template. --Soyweiser (talk) 19:59, 2 July 2016 (UTC)

See Template:InlineVer for the new template that fixes this problem. --Soyweiser (talk) 20:56, 1 August 2016 (UTC)