Difference between revisions of "Template:Build"
From King Arthur's Gold Wiki
m (to find out if many pages use the "up-to-date" term instead of the build number) |
m (changed naming: "OneBeforeLatest" to "LatestContentBuild") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
| 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}}]]. | ||
− | | {{ | + | | {{LatestContentBuild}} = <div class="build"> This page '''might''' not be up-to-date ([[Version_history#{{{Version}}}|build {{{Version}}}]]).[[Category:Not_Up-to-date]][[Category:LatestContentBuild]] |
| #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> | ||
Line 19: | Line 19: | ||
− | [[Category:infobox]]</noinclude> | + | [[Category:infobox]][[Category:Templates]]</noinclude> |
Latest revision as of 00:49, 28 October 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.