Difference between revisions of "Template:Article style"

From blackwiki
Jump to navigation Jump to search
blackwiki>Gadget850
(38px)
blackwiki>Gadget850
(WP:CITEVAR, commas)
Line 5: Line 5:
 
| image ={{{image|[[File:Nuvola apps bookcase.svg|38px]]}}}
 
| image ={{{image|[[File:Nuvola apps bookcase.svg|38px]]}}}
 
| imagesize ={{{imagesize|}}}
 
| imagesize ={{{imagesize|}}}
| text = This article uses the styles listed below. These should not be changed without broad consensus.
+
| text = This article uses the styles listed below. These should not be changed without broad consensus. ([[WP:CITEVAR]])
 
{{#if:{{{english|}}}|
 
{{#if:{{{english|}}}|
 
* English variant ([[MOS:ENGVAR]]): {{{english|}}}
 
* English variant ([[MOS:ENGVAR]]): {{{english|}}}
Line 11: Line 11:
 
{{#if:{{{date|}}}|
 
{{#if:{{{date|}}}|
 
* Dates ([[WP:DATESNO]]): {{#switch: {{{date}}}
 
* Dates ([[WP:DATESNO]]): {{#switch: {{{date}}}
  | mdy = month day year ({{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}})
+
  | mdy = month day, year ({{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}})
 
  | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 
  | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 
  }}
 
  }}
Line 28: Line 28:
 
{{#if:{{{adate|}}}|
 
{{#if:{{{adate|}}}|
 
* Access and archive dates ([[MOS:DATEUNIFY]]): {{#switch: {{{adate}}}
 
* Access and archive dates ([[MOS:DATEUNIFY]]): {{#switch: {{{adate}}}
  | mdy = month day year ({{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}})
+
  | mdy = month day, year ({{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}})
 
  | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 
  | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 
  | iso = yyyy-mm-dd (({{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}))
 
  | iso = yyyy-mm-dd (({{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}))

Revision as of 21:02, 27 March 2015

Usage

This template is used as an edit notice for to indicate various styles within an article.

Examples

Markup Renders as
{{article style|cite=chicago}}
{{article style|date=dmy|cite=cs1|adate=dmy}}