Difference between revisions of "Template:Build"

From King Arthur's Gold Wiki
Jump to: navigation, search
m (put all the pages which are "one-before-latest" (one build before the latest build) into it's own category; easier to go through and update/change them to the latest build)
m (added templates for the "latest build number" and the "build number before the latest" since this template gets to complicated; change the mentioned templates when a new build gets release)
Line 2: Line 2:
 
| old = <div class="build 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]]
 
| up-to-date = <div class="build buildLatest"> This page is up-to-date.
 
| up-to-date = <div class="build buildLatest"> This page is up-to-date.
| 228 = <div class="build buildLatest"> This page is in line with the latest [[Version_history#{{{Version}}}|build {{{Version}}}]].
+
| {{LatestBuild}} = <div class="build buildLatest"> This page is in line with the latest [[Version_history#{{{Version}}}|build {{{Version}}}]].
| 203 = <div class="build"> This page '''might''' not be up-to-date.[[Category:Not_Up-to-date]][[Category:One-before-latest]]
+
| {{OneBeforeLatest}} = <div class="build"> This page '''might''' not be up-to-date.[[Category:Not_Up-to-date]][[Category:One-before-latest]]
 
| #default = <div class="build"> This page '''might''' not be up-to-date.[[Category:Not_Up-to-date]]
 
| #default = <div class="build"> This page '''might''' not be up-to-date.[[Category:Not_Up-to-date]]
 
}}</div></includeonly><noinclude>
 
}}</div></includeonly><noinclude>
Line 13: Line 13:
 
|Version = up-to-date
 
|Version = up-to-date
 
}}<br><br>
 
}}<br><br>
*Replace "XX" with the current game build number (for example "228") if the page is in line with that build.<br><br>It shows up like this (if the page is in line):{{Build
+
*Replace "XX" with the current game build number (for example "{{LatestBuild}}") if the page is in line with that build.<br><br>It shows up like this (if the page is in line):{{Build
 
|Version = 228
 
|Version = 228
 
}}<br><br>Or like this (if the page isn't):{{Build
 
}}<br><br>Or like this (if the page isn't):{{Build

Revision as of 00:15, 5 December 2011

Put this code at the beginning of a page which should show up an "infobox" about it's actuality status:

{{Build
|Version = XX
}}
  • Replace "XX" with "up-to-date" if the page stays up-to-date independent of new build releases (and you still want to show the box).

    It shows up like this:
    This page is up-to-date.


  • Replace "XX" with the current game build number (for example "2536") if the page is in line with that build.

    It shows up like this (if the page is in line):
    This page might not be up-to-date (build 228).


    Or like this (if the page isn't):
    This page might not be up-to-date (build 200).


  • Replace "XX" with "old" if the page contains seriously outdated information.

    It shows up like this:
    This page is not up-to-date.