User:SyntaxTerror/Sandbox02

From RimWorld Wiki
< User:SyntaxTerror
Revision as of 01:06, 8 September 2021 by SyntaxTerror (talk | contribs) (template:version history)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Use[edit]

This template is meant to be used in the "Version history" section.

It can display up to 20 different versions. An error message is generated if the article of a version doesn't exist.

Syntax[edit]

{{Version history|
| version 1 number | version 1 description
| version 2 number | version 2 description
...
| version 20 number | version 20 description
}}

Example[edit]

{{User:SyntaxTerror/Sandbox02
|1.1.0     | existing version
|1.3.3069b | existing version
|2.0.0     | non-existing version
|0.0.232   | existing version}}

produces:

Version with a simple bulletted list:

Version with a table (aligned text) :

  • existing version
  • existing version
  • Error: Version 2.0.0 doesn't exist.
  • existing version

(the choice of the definitive version still has to be made)

2nd example[edit]

{{User:SyntaxTerror/Sandbox02
|1.0.0     | existing version
|1.1.0     | existing version
|2.0.0     | non-existing version}}

produces:

Version with a simple bulletted list:

  • 1.0.0 : existing version
  • 1.1.0 : existing version
  • Error: Version 2.0.0 doesn't exist.

Version with a table (aligned text) :

  • existing version
  • existing version
  • Error: Version 2.0.0 doesn't exist.

(the choice of the definitive version still has to be made)