Difference between revisions of "Template:Article style/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Gadget850
m (12 revisions imported)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{notice|This template should be expanded for other styles, such as language, in-text citations and others.}}
+
{{notice|This template should be expanded for other styles.}}
  
 
== Usage ==
 
== Usage ==
This template is used as an edit notice for article to indicate styles.
+
This template is used as an edit notice for to indicate various styles within an article.
  
* '''date''': Body date style ([[MOS:DATE]])
+
* '''english''': English variant ([[MOS:ENGVAR]])
** '''dmy''': day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}}, {{CURRENTYEAR}})
+
* '''date''': Body date style ([[WP:DATESNO]])
** '''ymd''': year month day ({{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}})
+
** '''mdy''': month day year ({{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}})
 +
** '''dmy''': day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 
* '''cite''': Full citation style
 
* '''cite''': Full citation style
 
** apa: [[APA style]]
 
** apa: [[APA style]]
Line 18: Line 19:
 
** cs2: {{cs2}}
 
** cs2: {{cs2}}
 
* '''adate''': access and archive dates ([[MOS:DATEUNIFY]])
 
* '''adate''': access and archive dates ([[MOS:DATEUNIFY]])
** '''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}})
  
Line 28: Line 29:
 
|{{article style|cite=chicago}}
 
|{{article style|cite=chicago}}
  
| <nowiki>{{article style|cite=cs1|adate=mdy}}</nowiki>
+
| <nowiki>{{article style|date=dmy|cite=cs1|adate=dmy}}</nowiki>
|{{article style|cite=cs1|adate=mdy}}
+
|{{article style|date=dmy|cite=cs1|adate=dmy}}
 
}}
 
}}
  
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox** |
+
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
+
[[Category:Editnotice templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 14:41, 28 October 2020

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