Difference between revisions of "Template:Article status"

From blackwiki
Jump to navigation Jump to search
blackwiki>PresN
(Reduce the number of words- dash instead of "by", {{las}} instead of {{la}})
blackwiki>PresN
(remove nbsps- taller than regular spaces)
Line 1: Line 1:
 
{{#switch:{{lc:{{{1|}}}}}
 
{{#switch:{{lc:{{{1|}}}}}
| afd = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|   {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}}|AfD]]
+
| afd = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|— {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}}|AfD]]
| afd2 = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|   {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}} (2nd nomination)|AfD]]
+
| afd2 = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|— {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}} (2nd nomination)|AfD]]
| afd3 = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|   {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}} (3rd nomination)|AfD]]
+
| afd3 = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|— {{user|{{{3}}}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}} (3rd nomination)|AfD]]
| draft = {{class/icon|Draft}} {{#if:{{{2|}}}|{{las|Draft:{{{2}}}}}|}} {{#if:{{{3|}}}|   {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
+
| draft = {{class/icon|Draft}} {{#if:{{{2|}}}|{{las|Draft:{{{2}}}}}|}} {{#if:{{{3|}}}|— {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
| prod = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|   {{user|{{{3}}}}}}}}} – PROD
+
| prod = {{icon|No}} {{Strike if deleted|{{{2|}}}|{{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|— {{user|{{{3}}}}}}}}} – PROD
| {{#if:{{{1|}}}|{{icon|{{{1}}}}}|}} {{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|   {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
+
| {{#if:{{{1|}}}|{{icon|{{{1}}}}}|}} {{#if:{{{2|}}}|{{las|{{{2}}}}}|}} {{#if:{{{3|}}}|— {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Revision as of 21:55, 14 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 links history)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 links history)Yoshiman6464 (talk⧼dot-separator⧽contribs)
  • {{Article status|Draft|Example|Example}}
Draft:Example (edit talk links history)Example (talk⧼dot-separator⧽contribs)
  • {{Article status|Redirect|Scared Rider Xechs|Burst booster}}
Redirect Scared Rider Xechs (edit talk links history)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