Difference between revisions of "Template:TestVersion"
Jump to navigation
Jump to search
m |
(Documentation) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="float:right; clear:right; width:35em; background-color:#f3f9ff; border:1px solid #aaa; padding:0 0.5em; margin:0.5em; font-size:80%;"> | + | <includeonly>{{#ifeq: {{{1}}} | {{AIWarCurrentVersion}} |
− | + | | <div style="float:right; clear:right; width:35em; background-color:#f3f9ff; border:1px solid #aaa; padding:0 0.5em; margin:0.5em; font-size:80%;"> | |
+ | |||
+ | This article is accurate for the latest version of [[AI_War:AI War|AI War]] | ||
+ | |||
</div> | </div> | ||
+ | |||
+ | | <div style="float:right; clear:right; width:35em; background-color:#FFCCCC; border:1px solid #aaa; padding:0 0.5em; margin:0.5em; font-size:80%;"> | ||
+ | |||
+ | This article is '''outdated'''<br> '''Please help update this page''' to include information on the latest version ({{AIWarCurrentVersion}}). | ||
+ | |||
+ | </div> | ||
+ | |||
+ | }}</includeonly><noinclude> | ||
+ | ==Use== | ||
+ | Use this template to mark the version the article is up-to-date with. If unknown, leave the parameter blank to denote the article is out of date. | ||
+ | |||
+ | ==Syntax== | ||
+ | |||
+ | {| class="wikitable" | ||
+ | !Code | ||
+ | !Description | ||
+ | !Example | ||
+ | |- | ||
+ | |<pre>{{TestVersion|8.024}}</pre> | ||
+ | |If the parameter matches the latest version, the template will display: | ||
+ | |{{TestVersion|{{AIWarCurrentVersion}}}} | ||
+ | |- | ||
+ | |<pre>{{TestVersion}}</pre> | ||
+ | |If the parameter does NOT match the latest version, the template will display: | ||
+ | |{{TestVersion}} | ||
+ | |} | ||
+ | Put this template on top of the page. | ||
+ | |||
+ | </noinclude> |
Latest revision as of 01:40, 2 December 2017
Use
Use this template to mark the version the article is up-to-date with. If unknown, leave the parameter blank to denote the article is out of date.
Syntax
Code | Description | Example |
---|---|---|
{{TestVersion|8.024}} |
If the parameter matches the latest version, the template will display: | This article is accurate for the latest version of AI War |
{{TestVersion}} |
If the parameter does NOT match the latest version, the template will display: | This article is outdated |
Put this template on top of the page.