Difference between revisions of "Template:Build"

From King Arthur's Gold Wiki
Jump to: navigation, search
m (Undo revision 6697 by JacKD (talk))
(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>
===Usage:===
+
Put this code at the beginning of a page which should show up an "infobox" about it's actuality status:
 
+
Put this code in the beginning of every page (which may receive updates or new content with upcoming build releases) if it's not there:
+
 
<pre>{{Build
 
<pre>{{Build
 
|Version = %VERSION%
 
|Version = %VERSION%
 
}}</pre>
 
}}</pre>
where %VERSION% is the current game build number (for example "203"). Replace it with "old" if the article contains seriously outdated information.
+
*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
===Examples:===
+
}}<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><br>Or like this (if the page isn't):{{Build
{{Build
+
 
|Version = 200
 
|Version = 200
}}<br /><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
}}<br />
+
}}
 +
 
  
 
[[Category:infobox]]</noinclude>
 
[[Category:infobox]]</noinclude>

Revision as of 22: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.