Difference between revisions of "Template:Build"

From King Arthur's Gold Wiki
Jump to: navigation, search
m
m (changed naming: "OneBeforeLatest" to "LatestContentBuild")
 
(14 intermediate revisions by 2 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.
+
| up-to-date = <div class="build buildLatest"> This page is up-to-date.[[Category: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#{{LatestBuild}}|build {{LatestBuild}}]].
| #default = <div class="build"> This page '''might''' not be up-to-date.[[Category:Not_Up-to-date]]
+
| {{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]]
 
}}</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 at the beginning of a page which should show up an "infobox" about it's actuality status:
Line 9: Line 10:
 
|Version = XX
 
|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
+
*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>
|Version = up-to-date
+
*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
}}<br><br>
+
|Version = {{LatestBuild}}
*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
+
}}<br><br>Or like this (if the page isn't):{{Build|Version = 200}}<br><br>
|Version = 228
+
}}<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
 
*Replace "XX" with "old" if the page contains seriously outdated information.<br><br>It shows up like this:{{Build
 
|Version = old
 
|Version = old
Line 22: Line 19:
  
  
[[Category:infobox]]</noinclude>
+
[[Category:infobox]][[Category:Templates]]</noinclude>

Latest revision as of 01: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.