Difference between revisions of "Template:Article style"

From blackwiki
Jump to navigation Jump to search
blackwiki>Gadget850
(lead)
blackwiki>Gadget850
(dates)
Line 6: Line 6:
 
| 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.
* Citation style: {{#switch: {{{citestyle}}}
+
{{#if:{{{date|}}}|
 +
* Dates ([[MOS:DATE]]): {{#switch: {{{date}}}
 +
| dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} , {{CURRENTYEAR}})
 +
| ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}})
 +
}}
 +
}}
 +
{{#if:{{{cite|}}}|
 +
* Citations: {{#switch: {{{cite}}}
 
  | apa = [[APA style]]
 
  | apa = [[APA style]]
 
  | chicago = ''[[The Chicago Manual of Style]]''
 
  | chicago = ''[[The Chicago Manual of Style]]''
Line 16: Line 23:
 
  | undefined
 
  | undefined
 
  }}
 
  }}
 +
{{#if:{{{adate|}}}|
 +
* Access and archive dates ([[MOS:DATEUNIFY]]): {{#switch: {{{adate}}}
 +
| dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} , {{CURRENTYEAR}})
 +
| ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}})
 +
| iso = yyyy-mm-dd ({{date|{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|iso}})
 +
}}
 +
}}
 +
}}
 +
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 19:00, 26 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}}