Difference between revisions of "Template:GAR/linktext"
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> | + | <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. }}<!-- | -->{{#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. }}<!-- | ||
-->{{#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]]. }}<!-- | -->{{#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]]. }}<!-- | ||
| − | -->{{#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
{{GAR/link}} subtemplates:
- {{GAR/linktext}}: Auxiliary template that provides the text for {{GAR/link}}.
- {{GAR/preload1}}
- {{GAR/editintro1}}
- {{GAR/subst}}
- {{GAR/preload2}}
- {{GAR/editintro2}}
- {{GAR/header}}
- {{GAR/current}}
- {{GAR/result}}: This template is only to be used for closing community good article reassessments, and must be substituted. To use, replace
{{GAR/current}}with{{subst:GAR/result|result=result}}
- {{GAR/result}}: This template is only to be used for closing community good article reassessments, and must be substituted. To use, replace
- {{GAR/reviewlink}}
- {{GAR/current}}
- {{GAR/preload1}}
- {{GAR/AH}}: See below.
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.
| The above documentation is transcluded from Template:GAR subtemplates. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |