Difference between revisions of "Template:Uptodate"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
(added)
 
(Fixed Current Version Note)
 
Line 2: Line 2:
 
{| class="ns2table" style="text-align:center; height:70px; border-spacing: 2px; border: 1px solid darkgray;"
 
{| class="ns2table" style="text-align:center; height:70px; border-spacing: 2px; border: 1px solid darkgray;"
 
| [[File:MAC.png|50x50px]]
 
| [[File:MAC.png|50x50px]]
| This article is up-to date<br /> as of {{#if: {{{1|}}} | [[Build {{{1}}}]] | ??? }}<br />(Current Build : [[Build_{{Currentbuild}}|{{Currentbuild}}]])
+
| This article is up-to date<br /> as of {{#if: {{{1|}}} | [[Patches/Build_{{{1}}}|Build {{{1}}}]] | ??? }}<br />(Current Build : [[Patches/Build_{{#lst:Patches|currentbuild}}|{{#lst:Patches|currentbuild}}]])
 
|}
 
|}
 
{{#ifeq: {{Currentbuild}} | {{{1|}}} | <includeonly>[[Category:Up to date pages]]</includeonly> | <includeonly>[[Category:Out of date pages]]</includeonly> }}
 
{{#ifeq: {{Currentbuild}} | {{{1|}}} | <includeonly>[[Category:Up to date pages]]</includeonly> | <includeonly>[[Category:Out of date pages]]</includeonly> }}
Line 21: Line 21:
 
It allows editors to know what articles need work, translators to know which articles are ready to be translated and most importantly, It allows readers to know that they are reading relevant information.
 
It allows editors to know what articles need work, translators to know which articles are ready to be translated and most importantly, It allows readers to know that they are reading relevant information.
  
The "Current Build" value is transcluded from [[Template:Currentbuild]]
+
The "Current Build" value is transcluded from {{#lst:Patches|currentbuild}}
 +
 
 +
TESTING AREA:
 +
 
 +
{{uptodate|319}}

Latest revision as of 23:48, 6 July 2018

MAC.png This article is up-to date
as of ???
(Current Build : 332)

Usage

{{uptodate|Buildnumber}}

i.e.

{{uptodate|275}}

Where to use it

This template should be used on every article that has information that may change in a build/patch

It allows editors to know what articles need work, translators to know which articles are ready to be translated and most importantly, It allows readers to know that they are reading relevant information.

The "Current Build" value is transcluded from 332

TESTING AREA:

MAC.png This article is up-to date
as of Build 319
(Current Build : 332)