Template:Page Status: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#vardefine:tl_ps_pagecontents|{{:{{PAGENAME}}}}}}{{#ifeq:{{#var:tl_ps_visible|false}}|false|<table style="margin:1em; padding:0 .5em; background-color: #CCE6FF; border: 2px solid #006AFF"><tr><td class="mbox-image">[[File:Tools.svg|40x40px|link=|alt=]]</td><td class="mbox-text"><div style="text-align: center; font-weight: bold">Page Status</div>
<includeonly>{{#ifeq:{{#var:tl_ps_visible|false}}|false|{{#vardefine:tl_ps_pagecontents|{{:{{PAGENAME}}}}}}<table style="margin:1em; padding:0 .5em; background-color: #CCE6FF; border: 2px solid #006AFF"><tr><td class="mbox-image">[[File:Tools.svg|40x40px|link=|alt=]]</td><td class="mbox-text"><div style="text-align: center; font-weight: bold">Page Status</div>


This template automatically tracks parts of this game page which need cleanup or updating to meet the Dolphin wiki's [[Project:Wiki_Conventions|standards and conventions]]. The following issues require attention:
This template automatically tracks parts of this game page which need cleanup or updating to meet the Dolphin wiki's [[Project:Wiki_Conventions|standards and conventions]]. The following issues require attention:


{{#tag:ul|{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/<!-- infobox -->/}}||{{#tag:li|This page is missing an infobox template. (This is TODO.)}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Problems ..\n/}}||{{#tag:li|This page is missing the Problems section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Configuration ..\n/}}||{{#tag:li|This page is missing the Configuration section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Version Compatibility ..\n/}}||{{#tag:li|This page is missing the Version Compatibility section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Testing ..\n/}}||{{#tag:li|This page is missing the Testing section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Gameplay Videos ..\n/}}||{{#tag:li|This page is missing the Gameplay Videos section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/Category:((Arcade|Commodore 64|GameCube|MSX|Neo Geo|NES|Nintendo 64|Sega Genesis|Sega Master System|SNES|Triforce|TurboGrafx-16|Virtual Console|Wii|WiiWare) games|Wii Channels|Wii U vWii)/}}||{{#tag:li|This page is missing a platform category.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages needing a platform category]]}}{{#ifeq:{{#var:tl_ps_used|false}}|false|{{#tag:li|This page has no formatting issues!}}}}}}
{{#tag:ul|{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/infobox vevent/}}||{{#tag:li|This page is missing an infobox template. (This is TODO.)}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Problems ..\n/}}||{{#tag:li|This page is missing the Problems section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Configuration ..\n/}}||{{#tag:li|This page is missing the Configuration section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Version Compatibility ..\n/}}||{{#tag:li|This page is missing the Version Compatibility section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Testing ..\n/}}||{{#tag:li|This page is missing the Testing section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/.. Gameplay Videos ..\n/}}||{{#tag:li|This page is missing the Gameplay Videos section.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages missing sections]]}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/Category:((Arcade|Commodore 64|GameCube|MSX|Neo Geo|NES|Nintendo 64|Sega Genesis|Sega Master System|SNES|Triforce|TurboGrafx-16|Virtual Console|Wii|WiiWare) games|Wii Channels|Wii U vWii)/}}||{{#tag:li|This page is missing a platform category.}}{{#vardefine:tl_ps_used|true}}[[Category:Pages needing a platform category]]}}{{#ifeq:{{#var:tl_ps_used|false}}|false|{{#tag:li|This page has no formatting issues!}}}}}}


Status of manual cleanup:
Status of manual cleanup:

Revision as of 06:54, 23 August 2017

[edit] [purge] Template documentation

Because this template needs an article and its 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 {{Page Status}} from any article's talk page. All of its functions are aimed at extended maintenance of various pages on the wiki, helping to categorize and prioritize what pages need attention and in what specific way.

Manual section checks

There are many different parameters each dictating their own section of a page which may need review. Depending on the page, these should be included as |parameter = none to show that the page has that section and add it to applicable categories. When an editor checks parts of an article, that editor should replace the none in the template with a standard ~~~~ signature to confirm that they did a thorough check of that specific part of the page, effectively saying "this will be fine to keep as-is for at least a year". It can take the following values:

|infobox      = none
|forumpage    = none
|description  = none
|gamelist     = none
|enhancements = none
|videogallery = none
|issuetracker = none
|idcheck      = none

GameIDs

Additionally, any IDs which an editor has failed to confirm by hand can also be added to this template to track them. This is done with the following values:

|id1          = 
|id2          = 
|id3          = 
(...)

After checking the IDs for a page, sign with ~~~~ after idcheck = to show that they were verified, the same way as before. If one of more of them requires a second opinion, add the full length of it, or as much as you know, to the id# =.

  • 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, and the first must be id1. For example, to display three IDs, those must be assigned to id1, id2, and id3.
  • Since it doesn't actually do anything with the IDs besides link to them and check they exist, you could also type in prefixes here instead of full length ones if desired. Neither Dolphin nor the wiki use 4-digit IDs, however, so it's better practice to replace the missing parts of the ID with ?s, for example: |id1 = R12E??.

Flagging

Pages can also be flagged as needing immediate help from an administrator through the use of the |flag = parameter. Setting this to any value other than whitespace will add the page to Category:Pages flagged for immediate attention, and change the color scheme and icon for the template to try and draw as much attention as possible. This should be used sparingly if at all, and once added should be left up until an administrator decides to remove it.

Automatic checks

This template will automatically check for missing parts of its attached page. These automatic checks are hidden within other parameters to determine what kind of page is being checked, making the template as flexible as possible. Right now, it does the following:

  • Checks for an infobox if infobox = is set.
  • Checks for all the normal game page headers if issuetracker = is set.

TODO

The CSS can definitely be improved. The manual check functions that require signatures need support for IP editor signatures (this can be done later though since users without accounts can't even edit right now).