Difference between revisions of "Template:Objective"

From The Coppermind
Jump to navigation Jump to search
(to start with)
 
m (Tweak sorting)
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
<noinclude>[[category: notices]]
{{notice|style=background-color: #ffeb3b;|id=objective
 
 
This template should be used on pages which are part of the monthly [[:Category: Objectives|article objectives]] push. To make an article into an objective copy {{t|objective|2=date=<nowiki>{{subst:#time:Y-m}}</nowiki>}} to the top of the article, which will be replaced by something like {{t|objective|2=date={{#time:Y-m}} }} when the article is saved. To claim an article add <code>|claim=Fbstj</code> to the template (it should look like this: {{t|objective|2=date={{#time:Y-m}}|3=claim=Fbstj&#32;}}), which will be replaced by your username on save. Once you are done, add <code>|complete=y</code> to the end of the template.
|b=This page is part of the [[Coppermind: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]!
 
  +
|{{#if:{{{claim|}}}
 
  +
== Appearance ==
|It has been claimed by [[User: {{{claim}}}]], please contact them before doing edits
 
  +
{| width=100%
|It is currently unclaimed, add <code><nowiki>|claim={{#subst:REVISIONUSER}}</nowiki></code> to this template and save before making your changes.
 
  +
! '''Unclaimed:'''
}}
 
  +
| rowspan=2 | </noinclude>{{notice|style=background-color: #ffeb3b;<noinclude>width: 90%;</noinclude>|id=objective|class=curved objective
  +
|b=This page {{#if:{{{complete|}}}|was|is}} part of the [[:Category: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]!
  +
|1=<span class="{{#if:{{{claim|}}}|claimed|<includeonly>unclaimed</includeonly>}}" style='font-size: 100%'><!--
 
-->{{#if:{{{claim|}}}<!--
  +
-->|{{#if:{{{complete|}}}<!--
  +
-->|It was completed by [[User: {{{claim}}}]]!<!--
 
-->|It has been claimed by [[User: {{{claim}}}]], please contact them before doing edits.<!--
  +
-->}}<!--
 
-->|It is currently unclaimed, add <code><nowiki>|claim={{subst:REVISIONUSER}}</nowiki></code> between <code><nowiki>{{objective</nowiki></code> and <code><nowiki>|date=</nowiki></code> if you have claimed the article.<!--
  +
-->}}</span>
 
}}<includeonly><!--
 
}}<includeonly><!--
   
  +
-->{{#ifexpr:{{NAMESPACENUMBER}}|<!-- only categorise articles -->|[[category: objectives|{{#if:{{{complete|}}}|~|{{#if:{{{claim|}}}|_}}}}{{PAGENAME}}]]}}<!--
-->[[Category: Objectives|{{{date}}}]]<!--
 
   
  +
-->{{#if:{{{claim|}}}|<set-property key="objective-claim">{{{claim}}}</set-property>}}<!--
--></includeonly><noinclude>
 
   
 
--></includeonly><noinclude>
This template should be used on pages which are part of the monthly [[Coppermind: Objectives|article objectives]] push. To make an article into an objective copy {{t|objective|2=date=<nowiki>{{subst:#time:Y-m}}</nowiki>}} to the top of the article, which will be replaced by something like {{t|objective|2=date={{#time:Y-m}} }} when the article is saved. To claim an article add change <code>|claim={{#subst:REVISIONUSER}}</code> to the template (it should look like this: {{t|objective|2=date={{#time:Y-m}}|3=claim=@your-username@}}) and save the page.
 
  +
|-
 
  +
| code: {{t|objective|2=date={{#time:Y-m}}}}
[[Category: Notices]]
 
  +
|-
  +
! '''Claimed:'''
 
| rowspan=2 | {{notice|style=background-color: #ffeb3b; width: 90%|x=
 
|b=This page is part of the [[:Category: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]!
  +
|It has been claimed by [[User: Fbstj]], please contact them before doing edits
 
}}
  +
|-
  +
| code: {{t|objective|2=date={{#time:Y-m}}|3=claim=Fbstj}}
  +
|}
   
== Usage ==
+
== Articles using Template ==
{{Special: WhatLinksHere/{{FULLPAGENAME}} }}
+
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 06:50, 31 July 2020

This template should be used on pages which are part of the monthly article objectives push. To make an article into an objective copy {{objective|date={{subst:#time:Y-m}}}} to the top of the article, which will be replaced by something like {{objective|date=2024-04}} when the article is saved. To claim an article add |claim=Fbstj to the template (it should look like this: {{objective|date=2024-04|claim=Fbstj }}), which will be replaced by your username on save. Once you are done, add |complete=y to the end of the template.

Appearance[edit]

Unclaimed:
This page is part of the April 2024 objectives!
It is currently unclaimed, add |claim={{subst:REVISIONUSER}} between {{objective and |date= if you have claimed the article.
code: {{objective|date=2024-04}}
Claimed:
This page is part of the April 2024 objectives!
It has been claimed by User: Fbstj, please contact them before doing edits
code: {{objective|date=2024-04|claim=Fbstj}}

Articles using Template[edit]