Editing Template:Version Nav/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 +
__NOTOC__
 
== Description ==
 
== Description ==
Generates a small widget to go to the next version in the [[:Category:Version]] or [[:Category:Console version]]
+
Generates a small widget to go to the next version in the [[:Category:Version]]
  
Also handles the categorization of the page and the setting of [[Property:Release Date]] and its display. The date is either calculated manually or can be set with <code>date=</code>. For testing purposes like on this page <code>date=false</code> should be set, to forbid that properties are set.
+
== Example usage ==
 +
<nowiki>{{Version Nav}}</nowiki>
  
== Examples ==
+
Produces:
=== Standard ===
+
{{Version Nav}}
<pre>{{Version Nav}}</pre>
 
on page [[Version/0.9.722]] would produce:
 
{{Version Nav|date=false|page=Version/0.9.722}}
 
 
 
=== Special cases ===
 
<pre>{{Version Nav}}</pre>
 
on page [[Version/0.9.722]] would produce:
 
{{Version Nav|date=false|page=Version/0.9.722}}
 
 
 
<pre>{{Version Nav|date=2018-10-17}}</pre>
 
on page [[Version/1.0.0]] would produce:
 
{{Version Nav|date=false|page=Version/1.0.0}}
 
 
 
<pre>{{Version Nav}}</pre>
 
on page [[Version/0.0.232]] would produce:
 
{{Version Nav|date=false|page=Version/0.0.232}}
 
 
 
<pre>{{Version Nav}}</pre>
 
on page [[Version/0.1.334]] would produce:
 
{{Version Nav|date=false|page=Version/0.1.334}}
 
 
 
<pre>{{Version Nav}}</pre>
 
on page [[Version/0.2.363]] would produce:
 
{{Version Nav|date=false|page=Version/0.2.363}}
 
 
 
<pre>{{Version Nav}}</pre>
 
on page [[Version/0.19.2009]] would produce:
 
{{Version Nav|date=false|page=Version/0.19.2009}}
 
 
 
<pre>{{Version Nav}}</pre>
 
on page [[Version/{{Current Version}}|current version]] would produce:
 
{{Version Nav|date=false|page=Version/{{Current Version}} }}
 
 
 
=== Console version ===
 
<pre>{{Version Nav|date=2023-04-25}}</pre>
 
on page [[Console version/1.21]] would produce:
 
{{Version Nav|date=false|page=Console version/1.21}}
 
  
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Navigation templates]]</includeonly>
 
<includeonly>[[Category:Navigation templates]]</includeonly>

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)