Difference between revisions of "Template:TestVersion"

From Arcen Wiki
Jump to navigation Jump to search
m
(Documentation)
 
Line 1: Line 1:
{{#ifeq: {{{1}}} | {{AIWarCurrentVersion}}  
+
<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%;">
 
| <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%;">
  
Line 12: Line 12:
 
</div>
 
</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
Please help update this page to include information on the latest version (8.024).

Put this template on top of the page.