Template:Version/Documentation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
|<nowiki>{{Version|HWAoC|1.3.0|link}}</nowiki> | |<nowiki>{{Version|HWAoC|1.3.0|link}}</nowiki> | ||
|<nowiki>{{Version||1.3.0|link}}</nowiki> | |<nowiki>{{Version||1.3.0|link}}</nowiki> | ||
}} | |||
====Shorthand==== | |||
{{Examples | |||
|<nowiki>{{Ver|HWAoC|1.3.0|link}}</nowiki> | |||
}} | }} | ||
{{Documentation Footer}} | {{Documentation Footer}} |
Latest revision as of 05:11, 29 April 2024
Purpose
Standardize formatting for referring to version numbers in articles, links to that games version history page
Usage
{{Version/Documentation|<gameCode> |<version number> |[link] }}
Examples
# | Input | Output | Categories added |
---|---|---|---|
1 | {{Version}} | Error: No Version Number Provided Error: No game provided | |
2 | {{Version|HWAoC}} | Error: No Version Number Provided Version {{{2}}} | |
3 | {{Version|fakeGame|fakeVersion}} |
Error: Invalid entry fakeGame | |
4 | {{Version|HWAoC|1.3.0}} | Version 1.3.0 | |
5 | {{Version||1.3.0}} | Error: No game provided | |
6 | {{Version|HWAoC|1.3.0|link}} | Version 1.3.0 | |
7 | {{Version||1.3.0|link}} | Error: No game provided |
Shorthand
# | Input | Output |
---|---|---|
8 | {{Ver|HWAoC|1.3.0|link}} | Ver. 1.3.0 |
This is the documentation page, it should be transcluded into the main template page. See here for more information.