Difference between revisions of "Template:Article style"

From blackwiki
Jump to navigation Jump to search
blackwiki>Imzadi1979
(adding inthe missing mdy date option; removing the comma from the dmy option poer the MOS)
m (20 revisions imported)
 
(11 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
| header =Article styles
 
| header =Article styles
 
| headerstyle ={{{headerstyle|}}}
 
| headerstyle ={{{headerstyle|}}}
| image ={{{image|}}}
+
| 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 =  
 +
{{hidden|expanded=true
 +
|header={{nobold|This article uses the styles listed below. These should not be changed without broad consensus. ([[WP:CITEVAR]])}}
 +
|content=
 
{{#if:{{{english|}}}|
 
{{#if:{{{english|}}}|
 
* English variant ([[MOS:ENGVAR]]): {{{english|}}}
 
* English variant ([[MOS:ENGVAR]]): {{{english|}}}
 
  }}
 
  }}
 
{{#if:{{{date|}}}|
 
{{#if:{{{date|}}}|
* Dates ([[MOS:DATE]]): {{#switch: {{{date}}}
+
* Dates ([[WP:DATESNO]]): {{#switch: {{{date}}}
  | mdy = month day year ({{CURRENTMINTH}} {{CURRENTDAY}}, {{CURRENTYEAR}})
+
  | mdy = month day, year ({{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}})
 
  | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 
  | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
| ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}})
 
 
  }}
 
  }}
 
}}
 
}}
Line 29: Line 31:
 
{{#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}})
+
  | mdy = month day, year ({{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}})
  | ymd = year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}})
+
  | dmy = day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 
  | iso = yyyy-mm-dd (({{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}))
 
  | iso = yyyy-mm-dd (({{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}))
 
  }}
 
  }}
 
}}
 
}}
 
}}
 
}}
 
+
}}
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:41, 28 October 2020

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