Difference between revisions of "Template:Objective"
Jump to navigation
Jump to search
m (Add complete option) |
m (Tweak sorting) |
||
Line 9: | Line 9: | ||
|1=<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}}}]]!<!-- |
-->|It was completed by [[User: {{{claim}}}]]!<!-- |
||
-->|It has been claimed by [[User: {{{claim}}}]], please contact them before doing edits.<!-- |
-->|It has been claimed by [[User: {{{claim}}}]], please contact them before doing edits.<!-- |
||
Line 17: | Line 17: | ||
}}<includeonly><!-- |
}}<includeonly><!-- |
||
− | -->{{#ifexpr:{{NAMESPACENUMBER}}|<!-- only categorise articles -->|[[category: objectives|{{#if:{{{ |
+ | -->{{#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-06}}
when the article is saved. To claim an article add |claim=Fbstj
to the template (it should look like this: {{objective|date=2024-06|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-06}}
| |
Claimed: | |
code: {{objective|date=2024-06|claim=Fbstj}}
|