Difference between revisions of "Template:GAN subtemplates"

From blackwiki
Jump to navigation Jump to search
imported>Retro
(Combined documentation from some of the subpages. This is incomplete, but having it in one place should make it easier to standardize.)
 
imported>Retro
(Fix category.)
Line 19: Line 19:
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:GA message box templates|~]]<!-- "~" sortkey intentionally sorts these templates at the end of the list. -->
+
[[Category:GA talk message boxes|~]]<!-- "~" sortkey intentionally sorts these templates at the end of the list. -->
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation|content=A documentation metatemplate to standardize the documentation for {{tl|GA nominee}} subtemplates.
 
{{documentation|content=A documentation metatemplate to standardize the documentation for {{tl|GA nominee}} subtemplates.
  
[[Category:GA message box templates| ]]
+
[[Category:GA talk message boxes| ]]
 
}}</noinclude>
 
}}</noinclude>

Revision as of 18:41, 19 May 2019

{{GA nominee}} subtemplates:

  • {{GAN/AH}}: See below.
  • {{GAN/Status}}: This is a template for extracting the status of a good article nomination. It accepts a number of variants for "on review", "on hold", "2nd opinion", and returns only whitespace if the name is not valid.
  • {{GAN/editintro}}
  • {{GAN/preload}}: This template is loaded into an edit window when a GAN reviewer starts a review.
  • {{GAN/subst}}

GAN/AH

This purpose of this template is to help editors add {{Article history}} actions to record the outcome of a good article nomination for articles with a pre-existing Article history. Remove the {{GA nominee}} template and substitute this one into the {{Article history}} template. Please only do this if you are confident with using Article history, and check for the red error category afterwards.

The syntax is:

{{subst:GAN/AH|action number|result=result|page=talk subpage number}}

If the action number is omitted, it is assumed to be 1. If the page is omitted, it is assumed to be 1.

Template documentation

A documentation metatemplate to standardize the documentation for {{GA nominee}} subtemplates.