Difference between revisions of "Template:Article status"

From blackwiki
Jump to navigation Jump to search
blackwiki>Czar
m (wrong variable)
blackwiki>Czar
(testing {{strike if deleted}})
Line 1: Line 1:
* {{#ifexist:{{{2|}}}||<s>}}{{#switch:{{{1|}}}
+
* {{#switch:{{{1|}}}
 
| afd
 
| afd
 
| AfD = {{icon|No}} {{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}}|AfD]]
 
| AfD = {{icon|No}} {{#if:{{{2|}}}|{{la|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}} – [[Wikipedia:Articles for deletion/{{{2|}}}|AfD]]
Line 10: Line 10:
 
| Draft = {{icon|Draft}} {{#if:{{{2|}}}|{{ld|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
 
| Draft = {{icon|Draft}} {{#if:{{{2|}}}|{{ld|{{{2}}}}}|}} {{#if:{{{3|}}}|by {{user|{{{3}}}}}}} {{#if:{{{4|}}}|– {{{4}}}|}}
 
| prod
 
| prod
| PROD = {{icon|No}} {{#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}}}|}}
}}{{#ifexist:{{{2|}}}||</s>}}<noinclude>
+
}}<noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Revision as of 15:52, 4 September 2016

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}}

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}}


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