Difference between revisions of "Template:Objective"
Jump to navigation
Jump to search
m (Maybe?) Tag: Undo |
m (Tweak sorting) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>[[category: notices]] |
<noinclude>[[category: notices]] |
||
− | 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 }}), which will be replaced by your username on save. |
+ | 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 }}), which will be replaced by your username on save. Once you are done, add <code>|complete=y</code> to the end of the template. |
== Appearance == |
== Appearance == |
||
{| width=100% |
{| width=100% |
||
! '''Unclaimed:''' |
! '''Unclaimed:''' |
||
− | | rowspan=2 | </noinclude>{{notice|style=background-color: #ffeb3b;<noinclude>width: 90%;</noinclude>|id=objective|class=objective |
+ | | rowspan=2 | </noinclude>{{notice|style=background-color: #ffeb3b;<noinclude>width: 90%;</noinclude>|id=objective|class=curved objective |
− | |b=This page is part of the [[:Category: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]! |
+ | |b=This page {{#if:{{{complete|}}}|was|is}} part of the [[:Category: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]! |
− | |<span class="{{#if:{{{claim|}}}|claimed|<includeonly>unclaimed</includeonly>}}" style='font-size: 100%'><!-- |
+ | |1=<span class="{{#if:{{{claim|}}}|claimed|<includeonly>unclaimed</includeonly>}}" style='font-size: 100%'><!-- |
-->{{#if:{{{claim|}}}<!-- |
-->{{#if:{{{claim|}}}<!-- |
||
+ | -->|{{#if:{{{complete|}}}<!-- |
||
⚫ | |||
+ | -->|It was completed by [[User: {{{claim}}}]]!<!-- |
||
⚫ | |||
⚫ | |||
+ | -->}}<!-- |
||
⚫ | |||
-->}}</span> |
-->}}</span> |
||
}}<includeonly><!-- |
}}<includeonly><!-- |
||
− | -->{{#ifexpr:{{NAMESPACENUMBER}}|<!-- only categorise articles -->|[[category: objectives]]}}<!-- |
+ | -->{{#ifexpr:{{NAMESPACENUMBER}}|<!-- only categorise articles -->|[[category: objectives|{{#if:{{{complete|}}}|~|{{#if:{{{claim|}}}|_}}}}{{PAGENAME}}]]}}<!-- |
-->{{#if:{{{claim|}}}|<set-property key="objective-claim">{{{claim}}}</set-property>}}<!-- |
-->{{#if:{{{claim|}}}|<set-property key="objective-claim">{{{claim}}}</set-property>}}<!-- |
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-05}}
when the article is saved. To claim an article add |claim=Fbstj
to the template (it should look like this: {{objective|date=2024-05|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: | |
---|---|
code: {{objective|date=2024-05}}
| |
Claimed: | |
code: {{objective|date=2024-05|claim=Fbstj}}
|