Difference between revisions of "Template:Build"
From King Arthur's Gold Wiki
m |
m (changed naming: "OneBeforeLatest" to "LatestContentBuild") |
||
(28 intermediate revisions by 4 users not shown) | |||
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]] |
− | | #default = <div class="build"> This page might not be up-to-date | + | | {{LatestBuild}} = <div class="build buildLatest"> This page is in line with the latest [[Version_history#{{LatestBuild}}|build {{LatestBuild}}]]. |
− | }}</div></includeonly><noinclude> | + | | {{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]] | |
− | Put this code | + | }}</div></includeonly><noinclude> |
+ | Put this code at the beginning of a page which should show up an "infobox" about it's actuality status: | ||
<pre>{{Build | <pre>{{Build | ||
− | |Version = | + | |Version = XX |
}}</pre> | }}</pre> | ||
− | + | *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).<br><br>It shows up like this:{{Build|Version = up-to-date}}<br><br> | |
+ | *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 = {{LatestBuild}} | ||
+ | }}<br><br>Or like this (if the page isn't):{{Build|Version = 200}}<br><br> | ||
+ | *Replace "XX" with "old" if the page contains seriously outdated information.<br><br>It shows up like this:{{Build | ||
+ | |Version = old | ||
+ | }} | ||
+ | |||
− | [[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.