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

From blackwiki
Jump to navigation Jump to search
blackwiki>Gadget850
(notice)
m (12 revisions imported)
 
(10 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.
  
* '''citestyle''': Full citation style
+
* '''english''': English variant ([[MOS:ENGVAR]])
 +
* '''date''': Body date style ([[WP:DATESNO]])
 +
** '''mdy''': month day year ({{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}})
 +
** '''dmy''': day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 +
* '''cite''': Full citation style
 
** apa: [[APA style]]
 
** apa: [[APA style]]
 
** chicago: ''[[The Chicago Manual of Style]]''
 
** chicago: ''[[The Chicago Manual of Style]]''
Line 14: Line 18:
 
** cs1: {{cs1}}
 
** cs1: {{cs1}}
 
** cs2: {{cs2}}
 
** cs2: {{cs2}}
 +
* '''adate''': access and archive dates ([[MOS:DATEUNIFY]])
 +
** '''mdy''': month day year({{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}})
 +
** '''dmy''': day month year ({{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})
 +
** '''iso''' yyyy-mm-dd ({{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}})
  
 
== Examples ==
 
== Examples ==
  
 
{{markup
 
{{markup
| <nowiki>{{article style|citestyle=chicago}}</nowiki>
+
| <nowiki>{{article style|cite=chicago}}</nowiki>
|{{article style|citestyle=chicago}}
+
|{{article style|cite=chicago}}
 +
 
 +
| <nowiki>{{article style|date=dmy|cite=cs1|adate=dmy}}</nowiki>
 +
|{{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}}