Template:Page Status/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "Because this template needs a game page and a discussion page to function, please use Dummy Page for testing instead of creating a sandbox normally. A demonstration can be...")
 
No edit summary
Line 1: Line 1:
Because this template needs a game page and a discussion page to function, please use [[Dummy Page]] for testing instead of creating a sandbox normally. A demonstration can be found at [[Talk:Dummy Page]].
Because this template needs a game page and a discussion page to function, please use [[Dummy Page]] for testing instead of creating a sandbox normally. A demonstration can be found at [[Talk:Dummy Page]].
== Usage ==
This template is called with <code><nowiki>{{Page Status}}</nowiki></code> from any game's talk page. While most of its functionality is automatic, it can also take unconfirmed GameIDs as parameters to display them and track them with a category; this is done with <code><nowiki>{{Page Status | id1 = G12E34 | id2 = G56P78 | id3 = ...}}</nowiki></code>. There is no limit on the amount of IDs that it can take, as it uses a loop to go through all of them. The only restriction is that there can't be any gaps between the id numbers; if you wish to display three IDs, they must be assigned to id1, id2, and id3.
== Function ==
Page Status transcludes the entirety of the game page that it's associated with in order to interact with its contents from the talk page. It then uses regex to either find whether or not a section exists, or extract information such as the latest testing and version compatibility revision which can then be used for other operations. It also supports user submitted unconfirmed IDs, to help better track and draw attention to them.
== TODO ==
The CSS can definitely be improved. Some regexes are rather complicated and are not yet implemented (grabbing latest test entry revision for example). It might be excessive having categories for all the different missing sections, they could probably be trimmed down to just a few.
6,906

edits

Navigation menu