Difference between revisions of "Template:Etude/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(move categorization from template's page per WP:CAT#T)
imported>Andrybak
(→‎Usage: add usage using Template:Parameters →‎Parameters: add section headers)
Line 2: Line 2:
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
  
 +
{{Documentation subpage}}
 +
 +
This template is a wrapper around {{tlx|citation}}.
 
== Usage ==
 
== Usage ==
This template is a wrapper around {{tlx|citation}} It automatically fills some fields and allows other to be set:
+
<nowiki>{{Etude
 +
| first =
 +
| last =
 +
| author =
 +
| date =
 +
| year =
 +
| title =
 +
| editor-first =
 +
| editor-last =
 +
| volume =
 +
| number =
 +
| location =
 +
| publisher =
 +
| separator =
 +
| postscript =
 +
| url =
 +
| archive-url =
 +
| archive-date =
 +
| ref =
 +
}}</nowiki>
 +
 
 +
== Parameters ==
 
  |first=''first names of the author'' — not set by default
 
  |first=''first names of the author'' — not set by default
 
  |last=''last name of the author''  — not set by default
 
  |last=''last name of the author''  — not set by default

Revision as of 11:28, 11 July 2020

This template is a wrapper around {{citation}}.

Usage

{{Etude
| first = 
| last = 
| author = 
| date = 
| year = 
| title = 
| editor-first = 
| editor-last = 
| volume = 
| number = 
| location = 
| publisher = 
| separator = 
| postscript = 
| url = 
| archive-url = 
| archive-date = 
| ref = 
}}

Parameters

|first=first names of the author — not set by default
|last=last name of the author  — not set by default
|author=name of the author — not set by default an alternative to first= and last= parameters
|date=date of publication — not set by default
|year=year of publication — not set by default
|title=title of the Etude article  — not set by default
|journal=The Etude  — set by the template
|volume=number — not set by default
|number=number  — not set by default
|editor-first=first names of the editor — not set by default
|editor-last=last name of the editor — not set by default 
|location=Philadelphia  — set by the template
|publisher=Theodore Presser Company — set by the template
|separator= — not set by default, allows separator to match templates like {{cite journal}}
|postscript= — not set by default, allows postscript  to match templates like {{cite journal}}
|ref=harv — set by the template, but can be changed to another value

For further details of these parameters see {{citation/doc}}.