Difference between revisions of "Template:Objective"

From The Coppermind
Jump to navigation Jump to search
m (oops)
m (improve docs)
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 [[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 <code>|claim={{#subst:REVISIONUSER}}</code> to the template (it should look like this: {{t|objective|2=date={{#time:Y-m}}|3=claim={{#subst:REVISIONUSER}}&#32;}}), which will be replaced by your username on save.
  +
  +
== Appearance ==
  +
; Unclaimed
  +
</noinclude>{{notice|style=background-color: #ffeb3b;|id=objective
 
|b=This page is part of the [[Coppermind: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]!
 
|b=This page is part of the [[Coppermind: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]!
 
|{{#if:{{{claim|}}}
 
|{{#if:{{{claim|}}}
Line 7: Line 12:
 
}}<includeonly><!--
 
}}<includeonly><!--
   
-->[[Category: Objectives|{{{date}}}]]<!--
+
-->[[category: objectives|{{{date}}}]]<!--
   
-->{{#if:{{{claim|}}}|<set-property key="objective-claim">{{{claim|}}}</set-property>}}<!--
+
-->{{#if:{{{claim|}}}|<set-property key="objective-claim">{{{claim}}}</set-property>}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
  +
; Claimed
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 <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.
 
 
{{notice|style=background-color: #ffeb3b;|id=objective
 
  +
|b=This page is part of the [[Coppermind: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]!
[[Category: Notices]]
 
  +
|It has been claimed by [[User: Fbstj]], please contact them before doing edits
  +
}}
   
 
== Usage ==
 
== Usage ==

Revision as of 06:58, 10 July 2018

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-06}} when the article is saved. To claim an article add |claim={{#subst:REVISIONUSER}} to the template (it should look like this: {{objective|date=2024-06|claim={{#subst:REVISIONUSER}} }}), which will be replaced by your username on save.

Appearance

Unclaimed
This page is part of the June 2024 objectives!
It is currently unclaimed, add |claim={{#subst:REVISIONUSER}} to this template and save before making your changes.
Claimed
This page is part of the June 2024 objectives!
It has been claimed by User: Fbstj, please contact them before doing edits

Usage