Difference between revisions of "Template:Build"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{{#switch: {{{Version}}}
 
<includeonly>{{#switch: {{{Version}}}
| old = <div class="buildOld"> This page is not up-to-date. [[Category:Not_Up-to-date]]
+
| old = <div class="build buildOld"> This page is not up-to-date. [[Category:Not_Up-to-date]]
| 203 = <div class="buildLatest"> This page is in line with the latest [[Version_history#{{{Version}}}|build {{{Version}}}]].
+
| 203 = <div class="build buildLatest"> This page is in line with the latest [[Version_history#{{{Version}}}|build {{{Version}}}]].
 
| #default = <div class="build"> This page might not be up-to-date, update if necessary.[[Category:Not_Up-to-date]]
 
| #default = <div class="build"> This page might not be up-to-date, update if necessary.[[Category:Not_Up-to-date]]
 
}}</div></includeonly><noinclude>Usage:
 
}}</div></includeonly><noinclude>Usage:

Revision as of 11:17, 22 November 2011

Usage:

Put this code in the beginning of every page if it's not there:

{{Build
|Version = %VERSION%
}}

where %VERSION% is the current game build number (for example 203). Replace it with "old" if the article contains seriously outdated information.