Difference between revisions of "Template:Objective"
Jump to navigation
Jump to search
m (Not done with this, but hopefully that at least clarifies the instructions) |
(I'm not done with this, but I think that makes the direction clearer. Also tweaked some things because I want to try to make a button) |
||
Line 5: | Line 5: | ||
{| width=100% |
{| width=100% |
||
! '''Unclaimed:''' |
! '''Unclaimed:''' |
||
− | | rowspan=2 | </noinclude>{{notice|style=background-color: #ffeb3b;<noinclude>width: 90%;</noinclude>|id=objective |
+ | | rowspan=2 | </noinclude>{{notice|style=background-color: #ffeb3b;<noinclude>width: 90%;</noinclude>|id=objective|class=objective |
|b=This page is part of the [[:Category: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]! |
|b=This page is part of the [[:Category: Objectives|{{#time:F Y|{{{date|}}}|}} objectives]]! |
||
− | |{{#if:{{{claim|}}} |
+ | |<span class="{{#if:{{{claim|}}}|claimed|<includeonly>unclaimed</includeonly>}}"><!-- |
+ | -->{{#if:{{{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<!-- |
− | |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. |
+ | -->|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><!-- |
||
Revision as of 22:55, 28 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.
Appearance
Unclaimed: | |
---|---|
code: {{objective|date=2024-06}}
| |
Claimed: | |
code: {{objective|date=2024-06|claim=Fbstj}}
|