Difference between revisions of "Template:Article status"

From blackwiki
Jump to navigation Jump to search
blackwiki>Izno
(lc the switch and remove some processing)
blackwiki>PresN
(Icon doesn't have a "Draft" option, so use Class/icon for that one)
Line 3: Line 3:
 
| afd2 = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}} (2nd nomination)|AfD]]
 
| afd2 = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}} (2nd nomination)|AfD]]
 
| afd3 = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}} (3rd nomination)|AfD]]
 
| afd3 = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}} (3rd nomination)|AfD]]
| draft = {{icon|Draft}} {{#if:{{{2|}}}|{{ld|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
+
| draft = {{class/icon|Draft}} {{#if:{{{2|}}}|{{ld|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
 
| prod = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}}}} – PROD
 
| prod = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}}}} – PROD
 
| {{#if:{{{1|}}}|{{icon|{{{1}}}}}|}} {{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
 
| {{#if:{{{1|}}}|{{icon|{{{1}}}}}|}} {{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Revision as of 01:52, 8 August 2018

Template documentation[view] [edit] [history] [purge]

This is a template for quickly listing articles with indicators for their status.

Usage

Example
{{Article status|GA|Gumball (video game)|Czar|misc notes}}Good article Gumball (video game) (edit | talk | history | protect | delete | links | watch | logs | views) by Czar (talk⧼dot-separator⧽contribs) – misc notes

So

  • {{icon|Stub}} {{la|Christian Whitehead}} by {{User|Yoshiman6464}}
  • {{icon|Draft}} [[Draft:Example]] by {{User|Example}}
  • {{icon|Redirect}} {{la|Scared Rider Xechs}} by {{User|Burst booster}}
  • {{icon|No}} {{la|Azure Striker Gunvolt 2}} by {{User|ExplorerX19}} – [[Wikipedia:Articles for deletion/Azure Striker Gunvolt 2|AFD]]

would instead format as:


  • {{Article status|Stub|Christian Whitehead|Yoshiman6464}}
Stub-Class article Christian Whitehead (edit | talk | history | protect | delete | links | watch | logs | views) by Yoshiman6464 (talk⧼dot-separator⧽contribs)
  • {{Article status|Draft|Example|Example}}
Draft:Example (edit | talk | history | links | watch | logs) by Example (talk⧼dot-separator⧽contribs)
  • {{Article status|Redirect|Scared Rider Xechs|Burst booster}}
Redirect Scared Rider Xechs (edit | talk | history | protect | delete | links | watch | logs | views) by Burst booster (talk⧼dot-separator⧽contribs)
  • {{Article status|AfD|Azure Striker Gunvolt 2|ExplorerX19}}
Unknown-Class article Template:Strike if deletedAfD
  • {{Article status|PROD|Super Mario Bros. 5|Example}}
Unknown-Class article Template:Strike if deleted – PROD


Quickly list an article with indicator for its status.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Icon1

Content assesment, deletion process, or page type. Parameters other than afd, afd2, afd3, draft, or prod areassed to Template:Icon

Example
B-Class
Stringsuggested
Page2

Page name

Pagesuggested
Creator3

Username of the editor who created or significantly expanded the article

Usersuggested
Notes4

Extra notes applied after the author

Stringoptional