Difference between revisions of "Template:Article style"

From blackwiki
Jump to navigation Jump to search
blackwiki>Gadget850
(fix)
blackwiki>Imzadi1979
(adding inthe missing mdy date option; removing the comma from the dmy option poer the MOS)
Line 11: Line 11:
 
{{#if:{{{date|}}}|
 
{{#if:{{{date|}}}|
 
* Dates ([[MOS:DATE]]): {{#switch: {{{date}}}
 
* Dates ([[MOS:DATE]]): {{#switch: {{{date}}}
  | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}}, {{CURRENTYEAR}})
+
| mdy = month day year ({{CURRENTMINTH}} {{CURRENTDAY}}, {{CURRENTYEAR}})
 +
  | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 
  | ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}})
 
  | ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}})
 
  }}
 
  }}

Revision as of 13:19, 27 March 2015

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

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