Difference between revisions of "Template:Demoted"

From The Coppermind
Jump to navigation Jump to search
m (That's probably better)
m (Update classes, add tracking for previously exemplary articles)
 
Line 1: Line 1:
<onlyinclude><div class='notice stub'><!--
+
<onlyinclude><div class='notice quality'><!--
 
-->This article was {{#if:{{{1|}}}||previously&nbsp;}}complete and reviewed{{#if:{{{1|}}}|&nbsp;prior to ''[[{{b|{{{1}}}}}|{{b|{{{1}}}|text=y|missing-err=}}]]''}}, but now needs to be updated.<!--
 
-->This article was {{#if:{{{1|}}}||previously&nbsp;}}complete and reviewed{{#if:{{{1|}}}|&nbsp;prior to ''[[{{b|{{{1}}}}}|{{b|{{{1}}}|text=y|missing-err=}}]]''}}, but now needs to be updated.<!--
 
--></div><includeonly><!--
 
--></div><includeonly><!--
   
 
-->[[category: previously reviewed articles]]<!--
 
-->[[category: previously reviewed articles]]<!--
-->{{#if:{{{1|}}}||{{demoted/no book}}}}</includeonly></onlyinclude>
+
-->{{#if:{{{1|}}}||{{demoted/no book}}}}<!--
  +
-->{{#ifeq:{{{exemplary|}}}|yes|[[category: previously exemplary articles]]}}</includeonly></onlyinclude>
This template is used to indicate when an article was previously {{t|complete}} and was reviewed by a [[Coppermind:Keepers|Keeper]]. It will add articles to [[:Category: Previously reviewed articles]]. To use this template, add <code><nowiki>{{</nowiki>demoted|''book code''}}</code> to a page, where ''book code'' is one of the codes from [[Template:B]]. If you do not use a book code, the template will log an error at [[/no book]]. When added to a page, this template should be placed immediately on a new line below {{t|partial}} (or {{t|stub}}, if that is the proper quality tag). It should be left on the page once it is ready to be reviewed again and should be removed after a Keeper reviews the page.
 
  +
This template is used to indicate when an article was previously {{t|complete}} and was reviewed by a [[Coppermind:Keepers|Keeper]]. It will add articles to [[:Category: Previously reviewed articles]].
  +
 
To use this template, add <code><nowiki>{{</nowiki>demoted|''book code''}}</code> to a page, where ''book code'' is one of the codes from [[Template:B]]. If you do not use a book code, the template will log an error at [[/no book]]. When added to a page, this template should be placed immediately on a new line below {{t|partial}} (or {{t|stub}}, if that is the proper quality tag). It should be left on the page once it is ready to be reviewed again and should be removed when a Keeper reviews the page.
  +
  +
If the article was previously [[:Category: Exemplary articles|exemplary]], you should also pass <code>exemplary=yes</code> (i.e., so the full template looks like <code><nowiki>{{</nowiki>demoted|''book code''|exemplary=yes}}</code>), which will also add the article to [[:Category: Previously exemplary articles]].
   
 
== Pages using Template ==
 
== Pages using Template ==

Latest revision as of 21:11, 22 May 2022

This article was previously complete and reviewed, but now needs to be updated.

This template is used to indicate when an article was previously {{complete}} and was reviewed by a Keeper. It will add articles to Category: Previously reviewed articles.

To use this template, add {{demoted|book code}} to a page, where book code is one of the codes from Template:B. If you do not use a book code, the template will log an error at /no book. When added to a page, this template should be placed immediately on a new line below {{partial}} (or {{stub}}, if that is the proper quality tag). It should be left on the page once it is ready to be reviewed again and should be removed when a Keeper reviews the page.

If the article was previously exemplary, you should also pass exemplary=yes (i.e., so the full template looks like {{demoted|book code|exemplary=yes}}), which will also add the article to Category: Previously exemplary articles.

Pages using Template[edit]