Difference between revisions of "Template:GAR/linktext"

From blackwiki
Jump to navigation Jump to search
imported>Mz7
(change wording a bit to clarify what this is: i.e. change to "the good article status of this article is being reassessed")
imported>Retro
(Convert documentation to standardized consolidated template.)
Line 1: Line 1:
<noinclude>Auxiliary template which provides the text for {{tl|GAR/link}}. [[Category:Wikipedia GA templates|GAR/linktext]]</noinclude><!--  
+
<noinclude> [[Category:Wikipedia GA templates|GAR/linktext]]</noinclude><!--  
  
 
COMMENT: if a reassessment page is given and exists, link to it, and provide text based on the status parameter.
 
COMMENT: if a reassessment page is given and exists, link to it, and provide text based on the status parameter.
Line 24: Line 24:
 
-->{{#switch:{{{code|}}}|!0|!?|!!= {{#ifeq:{{NAMESPACE}}|Talk|<includeonly>[[Category:GAR error]]</includeonly>}} Please use the ''GARpage'' parameter to specify the number of the next free <span class="plainlinks">[//en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&from=Good_article_reassessment/{{PAGENAMEE}}&namespace=4 reassessment page]</span>, or use {{tls|GAR}} instead to find the next free page automatically.&nbsp;}}<!--
 
-->{{#switch:{{{code|}}}|!0|!?|!!= {{#ifeq:{{NAMESPACE}}|Talk|<includeonly>[[Category:GAR error]]</includeonly>}} Please use the ''GARpage'' parameter to specify the number of the next free <span class="plainlinks">[//en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&from=Good_article_reassessment/{{PAGENAMEE}}&namespace=4 reassessment page]</span>, or use {{tls|GAR}} instead to find the next free page automatically.&nbsp;}}<!--
 
-->{{#switch:{{{code|}}}|?0|?!|??= There are many existing reassessment pages for this article; please find the next free page using <span class="plainlinks">[//en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&from=Good_article_reassessment/{{PAGENAMEE}}&namespace=4 this search]</span>, or ask for help at [[WT:GAR]].&nbsp;}}<!--
 
-->{{#switch:{{{code|}}}|?0|?!|??= There are many existing reassessment pages for this article; please find the next free page using <span class="plainlinks">[//en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&from=Good_article_reassessment/{{PAGENAMEE}}&namespace=4 this search]</span>, or ask for help at [[WT:GAR]].&nbsp;}}<!--
-->{{#switch:{{NAMESPACE}}|Talk|Template=|<includeonly>This template should be used on the article ''talk'' page.</includeonly>}}
+
-->{{#switch:{{NAMESPACE}}|Talk|Template=|<includeonly>This template should be used on the article ''talk'' page.</includeonly>}}<noinclude>
 +
{{documentation|Template:GAR subtemplates}}</noinclude>

Revision as of 19:03, 19 May 2019

50px Template documentation[view] [edit] [history] [purge]

{{GAR/link}} subtemplates:

GAR/AH

This purpose of this template is to help editors add {{Article history}} actions to record the outcome of good article reassessment activities, that is, individual and community reassessments of articles against the good article criteria. To close a reassessment, remove the {{GAR/link}} 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.

For individual reassessments use:

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

For community reassessments use:

{{subst:GAR/AH|action number|result=result|GARpage=GAR discussion page number}}

If the GARpage is omitted, it is assumed to be 1.