Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:Ver: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
<includeonly><onlyinclude>{{#switch:{{{2|s}}}
<includeonly><onlyinclude>{{#switch:{{{2|s}}}
| s = {{Category|SR5 v{{{1}}}}}[[Category:SR5 v{{{1}}}]]
| s = {{Category|SR5 v{{{1}}}}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:SR5 v{{{1}}}]]}}
| f = {{Category|FVTT v{{{1}}}}}[[Category:FVTT v{{{1}}}]]
| f = {{Category|FVTT v{{{1}}}}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:FVTT v{{{1}}}]]}}
| #default = {{Error|{{Code|{{{2}}}}} is not a valid input for {{Template|Ver}}}}
| #default = {{Error|{{Code|{{{2}}}}} is not a valid input for {{Template|Ver}}}}
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>

Latest revision as of 22:26, 20 February 2024

Template:Ver

Template:Ver is used to identify passages that reference a specific release of the SR5 game system or the core Foundry software.

Usage

It accepts one mandatory parameter and one optional parameter:

  1. must be a version number.
  2. (default s) identifies whether the first parameter is referring to a SR5 release (s) or a Foundry VTT release (f). Any other input will throw an error.

It will create a link to the appropriate Category and use Template:Categorize to file the article, though it does not do any validation on wether or not the input version actually exists.

Returns

{{ver|0.14.1}} returns: {{ver|0.17.0|s}} returns: {{ver|11.315|f}} returns: {{ver|24610|j}} returns:
Error! j is not a valid input for Template:Ver!

The documentation above was transcluded from Template:Ver/Documentation.