Template:Page Status/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
This template is called with <code><nowiki>{{Page Status}}</nowiki></code> from any game's talk page. Right now it | This template is called with <code><nowiki>{{Page Status}}</nowiki></code> from any game's talk page. Right now it has three parameters: | ||
<code> infobox =</code> is used when an editor checks the validity of a page's infobox to sign that the infobox has been checked. The value after the equals sign should be a standard <nowiki>~~~~</nowiki> signature (manually typed signatures are allowed, but they must follow the normal signature's format exactly). An example of usage would be <code><nowiki>{{Page Status | infobox = ~~~~}}</nowiki></code>. | <code> infobox =</code> is used when an editor checks the validity of a page's infobox to sign that the infobox has been checked. The value after the equals sign should be a standard <nowiki>~~~~</nowiki> signature (manually typed signatures are allowed, but they must follow the normal signature's format exactly). An example of usage would be <code><nowiki>{{Page Status | infobox = ~~~~}}</nowiki></code>. | ||
Line 8: | Line 8: | ||
*If an infobox parameter is found, the date is extracted and converted to a Unix timestamp for arithmetic, then compared to the "current time" (the last time the cache for the page was refreshed). If the difference is greater than 6 months, the page is added to [[:Category:Pages with an infobox checked over 6 months ago]]. The editor's name and the date of the edit are also displayed by the template. | *If an infobox parameter is found, the date is extracted and converted to a Unix timestamp for arithmetic, then compared to the "current time" (the last time the cache for the page was refreshed). If the difference is greater than 6 months, the page is added to [[:Category:Pages with an infobox checked over 6 months ago]]. The editor's name and the date of the edit are also displayed by the template. | ||
*'''Note:''' custom signatures do not work with this parameter. Thankfully, nobody on the wiki currently uses them. | *'''Note:''' custom signatures do not work with this parameter. Thankfully, nobody on the wiki currently uses them. | ||
<code> videogallery =</code> is very similar to infobox, and also takes a signature in the same way, however by default the section is hidden, like so: | |||
*If a videogallery parameter is not found, nothing is displayed and no categories are added. | |||
*If a videogallery parameter is found, and it's equal to "none" (e.g. <code><nowiki>{{Page Status | videogallery = none}}</nowiki></code>), then the videogallery is assumed to have never been checked, and the page is added to [[:Category:Pages with an unchecked video gallery]]. | |||
*If a video gallery parameter is found, and it's a signature, it works the same as <code> infobox =</code> above. | |||
<code> id# =</code> is used to add unconfirmed IDs to the template. An example usage would be <code><nowiki>{{Page Status | id1 = G12E34 | id2 = G56P78 | id3 = ...}}</nowiki></code>. If there's at least one id parameter specified, the page is added to [[:Category:Pages with unconfirmed GameIDs]]. | <code> id# =</code> is used to add unconfirmed IDs to the template. An example usage would be <code><nowiki>{{Page Status | id1 = G12E34 | id2 = G56P78 | id3 = ...}}</nowiki></code>. If there's at least one id parameter specified, the page is added to [[:Category:Pages with unconfirmed GameIDs]]. |