Difference between revisions of "Template:Build"
From King Arthur's Gold Wiki
(added "up-to-date" (might be necessary in future)) |
|||
| 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. | ||
| 228 = <div class="build buildLatest"> This page is in line with the latest [[Version_history#{{{Version}}}|build {{{Version}}}]]. | | 228 = <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.[[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> | ||
| − | + | Put this code at the beginning of a page which should show up an "infobox" about it's actuality status: | |
| − | + | ||
| − | Put this code | + | |
<pre>{{Build | <pre>{{Build | ||
|Version = %VERSION% | |Version = %VERSION% | ||
}}</pre> | }}</pre> | ||
| − | + | *Replace %VERSION% 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> | |
| − | {{Build | + | *Replace %VERSION% 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 |
|Version = 228 | |Version = 228 | ||
| − | }}<br | + | }}<br><br>Or like this (if the page isn't):{{Build |
| − | {{Build | + | |
|Version = 200 | |Version = 200 | ||
| − | }}<br | + | }}<br><br> |
| − | {{Build | + | *Replace %VERSION% with "old" if the page contains seriously outdated information.<br><br>It shows up like this:{{Build |
|Version = old | |Version = old | ||
| − | }} | + | }} |
| + | |||
[[Category:infobox]]</noinclude> | [[Category:infobox]]</noinclude> | ||
Revision as of 20:45, 4 December 2011
Put this code at the beginning of a page which should show up an "infobox" about it's actuality status:
{{Build
|Version = %VERSION%
}}
- Replace %VERSION% 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 %VERSION% with the current game build number (for example "228") 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 %VERSION% with "old" if the page contains seriously outdated information.
It shows up like this:This page is not up-to-date.