Difference between revisions of "Template:Article style"
Jump to navigation
Jump to search
blackwiki>Gadget850 (dates) |
blackwiki>Gadget850 (sp) |
||
| Line 8: | Line 8: | ||
{{#if:{{{date|}}}| | {{#if:{{{date|}}}| | ||
* Dates ([[MOS:DATE]]): {{#switch: {{{date}}} | * Dates ([[MOS:DATE]]): {{#switch: {{{date}}} | ||
| − | | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} , {{CURRENTYEAR}}) | + | | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}}, {{CURRENTYEAR}}) |
| ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}) | | ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}) | ||
}} | }} | ||
| Line 25: | Line 25: | ||
{{#if:{{{adate|}}}| | {{#if:{{{adate|}}}| | ||
* Access and archive dates ([[MOS:DATEUNIFY]]): {{#switch: {{{adate}}} | * Access and archive dates ([[MOS:DATEUNIFY]]): {{#switch: {{{adate}}} | ||
| − | | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} , {{CURRENTYEAR}}) | + | | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}}, {{CURRENTYEAR}}) |
| ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}) | | ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}) | ||
| iso = yyyy-mm-dd ({{date|{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|iso}}) | | iso = yyyy-mm-dd ({{date|{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|iso}}) | ||
Revision as of 19:04, 26 March 2015
Article styles
This article uses the styles listed below. These should not be changed without broad consensus. |
| 40x40px | This template should be expanded for other styles. |
Usage
This template is used as an edit notice for to indicate various styles within an article.
- english: English variant (MOS:ENGVAR)
- date: Body date style (WP:DATESNO)
- mdy: month day year (January 16, 2026)
- dmy: day month year (16 January 2026)
- cite: Full citation style
- apa: APA style
- chicago: The Chicago Manual of Style
- mla: The MLA Style Manual
- vancouver: Vancouver system
- lsa: Linguistic Society of America
- cs1: Citation Style 1
- cs2: Citation Style 2
- adate: access and archive dates (MOS:DATEUNIFY)
- mdy: month day year(January 16, 2026)
- dmy: day month year (16 January 2026)
- iso yyyy-mm-dd (2026-01-16)
Examples
| Markup | Renders as | |
|---|---|---|
{{article style|cite=chicago}}
|
| |
{{article style|date=dmy|cite=cs1|adate=dmy}}
|
| |
| The above documentation is transcluded from Template:Article style/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |