Difference between revisions of "Template:Exemplary"

From The Coppermind
Jump to navigation Jump to search
(Added some documentation)
m (tweak)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{#time:U|now -1 year}} < {{#time:U|{{{date|2000-01-01}}}|}}|<!--
+
<includeonly>{{#ifexpr:{{#time:U|now -1 year}} < {{#time:U|{{{date|{{{1|2000-01-01}}}|}}}|}}|<!--
   
 
in date
 
in date
Line 16: Line 16:
   
 
== Parameters ==
 
== Parameters ==
{{{date}}} - this is the date the article was marked exemplary. It follows the format <code><nowiki>date={{subst:#time:Y-m-d}}</nowiki></code>.
+
{{{1}}} or {{{date}}} - this is the date the article was marked exemplary. It follows the format <code><nowiki>date={{subst:#time:Y-m-d}}</nowiki></code>.
   
 
== Examples ==
 
== Examples ==

Revision as of 19:45, 25 November 2017


This notice should be used on pages that are extraordinarily well done in terms of both style and completeness. This is a template to be used by staff only. This template will add a gold star icon to the top right of the page and will automatically add the article to Category: Exemplary articles.

To add to the article, paste the following at the top and replace the parameters as seen below: {{exemplary|date}}.

Parameters

{{{1}}} or {{{date}}} - this is the date the article was marked exemplary. It follows the format date={{subst:#time:Y-m-d}}.

Examples

If the date an article was decided to be exemplary was, for example, August 1st, 2016, we would use the following text:

{{exemplary|date=2016-08-01}}