Difference between revisions of "Template:Cite LSA/doc"
imported>Wugapodes (documenting parameters that were implemented a while ago) |
imported>Wugapodes (add template data) |
||
| Line 118: | Line 118: | ||
<!-- Need to fix this --> | <!-- Need to fix this --> | ||
|} | |} | ||
| + | |||
| + | ===Template data=== | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "last": { | ||
| + | "label": "Author's last name", | ||
| + | "description": "The author's surname or last name.", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "year": { | ||
| + | "label": "Year", | ||
| + | "description": "Year the source was published", | ||
| + | "type": "number", | ||
| + | "required": true | ||
| + | }, | ||
| + | "first": { | ||
| + | "label": "Author's first name", | ||
| + | "description": "The author's first or given name. The LSA guidelines state that the full first name of the author should be given unless they typically go by their initials.", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "title": { | ||
| + | "label": "Title", | ||
| + | "description": "Title of the article or chapter.", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "journal": { | ||
| + | "label": "Journal", | ||
| + | "description": "Name of the journal the article appears in.", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "booktitle": { | ||
| + | "label": "Book title", | ||
| + | "description": "Title of the book that a chapter appears in.", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "seriestitle": { | ||
| + | "label": "Series title", | ||
| + | "description": "If part of a series, the title of the series.", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "volume": { | ||
| + | "label": "Volume", | ||
| + | "description": "The volume number of the book or journal, if any.", | ||
| + | "type": "number", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "edition": { | ||
| + | "label": "Edition", | ||
| + | "description": "Edition number of the book being cited.", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "editorfirst": { | ||
| + | "label": "Editor's first name", | ||
| + | "description": "First name of the first editor", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "editorlast": { | ||
| + | "label": "Editor's last name", | ||
| + | "description": "Last name of the first editor", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "editorfirst2": { | ||
| + | "label": "Second Editor's first name", | ||
| + | "description": "First name of the second editor", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "editorlast2": { | ||
| + | "label": "Second editor's last name", | ||
| + | "description": "Last name of the second editor." | ||
| + | }, | ||
| + | "url": { | ||
| + | "label": "Link", | ||
| + | "description": "Web address of the source, if any.", | ||
| + | "type": "url", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "accessdate": { | ||
| + | "label": "Access date", | ||
| + | "description": "The date on which the url was last accessed", | ||
| + | "type": "date", | ||
| + | "autovalue": "", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "publisher": { | ||
| + | "label": "Publisher", | ||
| + | "description": "Who published the source", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "place": { | ||
| + | "label": "Place of publication", | ||
| + | "description": "Where the source was published", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "pages": { | ||
| + | "label": "Page range", | ||
| + | "description": "Inclusive page range of cited text. Use an en dash between numerals (–)", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "first2": { | ||
| + | "label": "Second author's first name", | ||
| + | "description": "First name of the second author. Further authors can be added by increasing the number in the parameter.", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "last2": { | ||
| + | "label": "Second author's last name", | ||
| + | "description": "Last name of the second author. Further authors can be added by increasing the number in the parameter." | ||
| + | } | ||
| + | }, | ||
| + | "description": "Cites sources in the style specified by the Linguistic Society of America", | ||
| + | "paramOrder": [ | ||
| + | "first", | ||
| + | "last", | ||
| + | "first2", | ||
| + | "last2", | ||
| + | "year", | ||
| + | "title", | ||
| + | "journal", | ||
| + | "volume", | ||
| + | "url", | ||
| + | "accessdate", | ||
| + | "booktitle", | ||
| + | "editorfirst", | ||
| + | "editorlast", | ||
| + | "editorfirst2", | ||
| + | "editorlast2", | ||
| + | "edition", | ||
| + | "publisher", | ||
| + | "place", | ||
| + | "seriestitle", | ||
| + | "pages" | ||
| + | ] | ||
| + | } | ||
| + | </templatedata> | ||
===See also=== | ===See also=== | ||
Revision as of 23:14, 29 June 2019
| This is a documentation subpage for Template:Cite LSA. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
This template creates citations using the Linguistic Society of America (LSA) style for use in articles, especially those related to linguistics. See this style sheet for the LSA's style guidelines for references.
Contents
Usage
Most parameters are optional, the only non-optional arguments are last, first, title, year. The template can take an unlimited number of author and editor names.
{{Cite LSA
| last =
| first =
| last2 =
| first2 =
| ...
| year =
| title =
| journal =
| booktitle =
| seriestitle =
| volume =
| edition =
| editorfirst =
| editorlast =
| editorfirst2 =
| editorlast2 =
| url =
| accessdate =
| ...
| publisher =
| place =
| pages =
}}
- last: The author's surname or last name.
- first: The author's first or given name. The LSA guidelines state that the full first name of the author should be given unless they typically go by their initials.
- title: Title of the article or chapter.
- booktitle: Title of the book the chapter or article appears in.
- journal: Name of the journal the article appears in.
- year: Year of publication.
- editorlast: Last name of the first editor.
- editorfirst: First name of the first editor.
- edition: Edition number of the book being cited.
- volume: The volume number of the book or journal, if any.
- seriestitle: Title of the series the book is in, if any.
- publisher: Publisher of the book.
- place: Place of publication.
- pages: Inclusive page range of cited text. Use an en dash between numerals (–)
- url: web address
- accessdate: the date on which the url was last accessed (note the lack of a dash)
Examples
| Code | Output |
|---|---|
| {{Cite LSA | last=Hale | first=Kenneth | last2=White Eagle | first2=Josie | year=1980 | title=A preliminary metrical account of Winnebago accent | journal=International Journal of American Linguistics | volume=46 | pages=117–132}} | Hale, Kenneth, and Josie White Eagle. 1980. A preliminary metrical account of Winnebago accent. International Journal of American Linguistics 46. 117–132. |
| {{Cite LSA | last=Yip | first=Moira | year=1991 | chapter=Coronals, consonant clusters, and the coda condition | title=The special status of coronals: Internal and external evidence | editorlast=Paradis | editorfirst=Carole | editorlast2=Prunet | editorfirst2=Jean-Francois | publisher=Academic Press | place=San Diego, CA | pages=61–78}} | Yip, Moira. 1991. Coronals, consonant clusters, and the coda condition. The special status of coronals: Internal and external evidence ed. by Carole Paradis, and Jean-Francois Prunet, 61–78. San Diego, CA: Academic Press. |
| {{Cite LSA | last=Rice | first=Keren | year=1989 | title=A grammar of Slave | publisher=Mouton de Gruyter | place=Berlin}} | Rice, Keren. 1989. A grammar of Slave. Berlin: Mouton de Gruyter. |
Template data
Cites sources in the style specified by the Linguistic Society of America
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Author's first name | first | The author's first or given name. The LSA guidelines state that the full first name of the author should be given unless they typically go by their initials. | String | required |
| Author's last name | last | The author's surname or last name. | String | required |
| Second author's first name | first2 | First name of the second author. Further authors can be added by increasing the number in the parameter. | String | optional |
| Second author's last name | last2 | Last name of the second author. Further authors can be added by increasing the number in the parameter. | Unknown | optional |
| Year | year | Year the source was published | Number | required |
| Title | title | Title of the article or chapter. | String | required |
| Journal | journal | Name of the journal the article appears in. | String | suggested |
| Volume | volume | The volume number of the book or journal, if any. | Number | suggested |
| Link | url | Web address of the source, if any. | URL | suggested |
| Access date | accessdate | The date on which the url was last accessed
| Date | suggested |
| Book title | booktitle | Title of the book that a chapter appears in. | String | optional |
| Editor's first name | editorfirst | First name of the first editor | String | optional |
| Editor's last name | editorlast | Last name of the first editor | String | optional |
| Second Editor's first name | editorfirst2 | First name of the second editor | String | optional |
| Second editor's last name | editorlast2 | Last name of the second editor. | Unknown | optional |
| Edition | edition | Edition number of the book being cited. | String | optional |
| Publisher | publisher | Who published the source | String | suggested |
| Place of publication | place | Where the source was published | String | optional |
| Series title | seriestitle | If part of a series, the title of the series. | String | optional |
| Page range | pages | Inclusive page range of cited text. Use an en dash between numerals (–) | String | optional |
See also
- Wikipedia:Cite sources: Style guide
- Wikipedia:Citation templates: Related templates