Difference between revisions of "Template:Build"
From King Arthur's Gold Wiki
m (added a workaround to make all pages with build 346 show up as 349...see comment for more infos) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{Version}}} | <includeonly>{{#switch: {{{Version}}} | ||
| 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.[[Category:Up-to-date]] | | up-to-date = <div class="build buildLatest"> This page is up-to-date.[[Category:Up-to-date]] | ||
− | |||
− | |||
− | |||
| {{LatestBuild}} = <div class="build buildLatest"> This page is in line with the latest [[Version_history#{{LatestBuild}}|build {{LatestBuild}}]]. | | {{LatestBuild}} = <div class="build buildLatest"> This page is in line with the latest [[Version_history#{{LatestBuild}}|build {{LatestBuild}}]]. | ||
− | |||
| {{OneBeforeLatest}} = <div class="build"> This page '''might''' not be up-to-date ([[Version_history#{{{Version}}}|build {{{Version}}}]]).[[Category:Not_Up-to-date]][[Category:One-before-latest]] | | {{OneBeforeLatest}} = <div class="build"> This page '''might''' not be up-to-date ([[Version_history#{{{Version}}}|build {{{Version}}}]]).[[Category:Not_Up-to-date]][[Category:One-before-latest]] | ||
− | |||
| #default = <div class="build"> This page '''might''' not be up-to-date ([[Version_history#{{{Version}}}|build {{{Version}}}]]).[[Category:Not_Up-to-date]] | | #default = <div class="build"> This page '''might''' not be up-to-date ([[Version_history#{{{Version}}}|build {{{Version}}}]]).[[Category:Not_Up-to-date]] | ||
}}</div></includeonly><noinclude> | }}</div></includeonly><noinclude> |
Revision as of 16:02, 13 April 2012
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 is in line with the latest build 2536.
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.