GVI/version – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Template creation) |
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^ =]+)<\/tt>" to "{{hl|$1}}") |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
== Usage == | == Usage == | ||
{{<nowiki/>GVI/version|'''''version'''''|'''''category'''''}} | {{<nowiki/>GVI/version|'''''version'''''|'''''category'''''}} | ||
* version: the version number. if not to format '''<Major>.<Minor>''' (with '''two''' decimals), returns | * version: the version number. if not to format '''<Major>.<Minor>''' (with '''two''' decimals), returns {{hl|<version>?}}. e.g {{hl|1.0?}} | ||
* category: if defined, an unknown/invalid version would only return | * category: if defined, an unknown/invalid version would only return {{hl|?}}. | ||
{| | {| | ||
Line 82: | Line 82: | ||
|} | |} | ||
[[Category:Templates|{{uc:PAGENAME}}]] | [[Category:Templates|{{uc:{{PAGENAME}}}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 10:33, 16 November 2021
Formats the provided version for {{GVI}}.
Usage
{{GVI/version|version|category}}
- version: the version number. if not to format <Major>.<Minor> (with two decimals), returns <version>?. e.g 1.0?
- category: if defined, an unknown/invalid version would only return ?.
|
|