Template:Citation/doc: Difference between revisions

Jump to navigation Jump to search
m
add script title to templatedata
m (1 revision imported: Citation templates)
m (add script title to templatedata)
Line 14: Line 14:
Notes:  
Notes:  
* All parameter names must be [[lowercase]].  
* All parameter names must be [[lowercase]].  
* Invisible unicode space characters (see [[Help:CS1 errors#invisible_char|list]]) will return an error message. Non-intentional invisible characters should be removed; intentional ones should replaced with their corresponding HTML entity (e.g. <code>&amp;ZeroWidthSpace;</code>).
* Invisible unicode space characters (see [[Help:CS1 errors#invisible_char|list]]) will return an error message. Non-intentional invisible characters should be removed; intentional ones should be replaced with their corresponding HTML entity (e.g. <code>&amp;ZeroWidthSpace;</code>).


==Simple citations==
==Simple citations==
Line 88: Line 88:
| author-name-separator =
| author-name-separator =
| author-mask =
| author-mask =
| display-authors =
| editor        =
| editor        =
| editor-last  =
| editor-last  =
Line 107: Line 106:
| date    =
| date    =
| year    =
| year    =
| origyear =
| orig-date =
| title    =
| title    =
| chapter  =
| chapter  =
Line 150: Line 149:
| url-status  =
| url-status  =
| quote      =
| quote      =
| lay-url    =
| lay-source =
| lay-date  =
| separator  =
| separator  =
| postscript =
| postscript =
Line 785: Line 781:
"type": "string",
"type": "string",
"required": false,
"required": false,
"aliases": [
],
"description": "Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value n to set the dash n em spaces wide; set author-mask to a text value to display the text without a trailing author separator; for example, \"with\". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliographies or bibliography styles where multiple works by a single author are listed sequentially such as shortened footnotes. Do not use in a list generated by {{reflist}}, <references /> or similar as there is no control of the order in which references are displayed. You can also use editor-mask and translator-mask in the same way."
"description": "Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value n to set the dash n em spaces wide; set author-mask to a text value to display the text without a trailing author separator; for example, \"with\". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliographies or bibliography styles where multiple works by a single author are listed sequentially such as shortened footnotes. Do not use in a list generated by {{reflist}}, <references /> or similar as there is no control of the order in which references are displayed. You can also use editor-mask and translator-mask in the same way."
},
},
Line 995: Line 989:
]
]
},
},
"orig-year": {
"orig-date": {
"label": "Original year",
"label": "Original date",
"description": "Original year of publication; provide specifics",
"description": "Original date of publication; provide specifics",
"type": "number"
"type": "number"
},
},
Line 1,041: Line 1,035:
"dictionary",
"dictionary",
"periodical"
"periodical"
]
],
"suggested": true
},
},
"volume": {
"volume": {
Line 1,091: Line 1,086:
"label": "chapter-url",
"label": "chapter-url",
"type": "string",
"type": "string",
"required": false,
"required": false
"aliases": [
"chapterurl"
]
},
},
"contribution-url": {
"contribution-url": {
Line 1,285: Line 1,277:
"description": "The full date when the original URL was accessed; do not wikilink",
"description": "The full date when the original URL was accessed; do not wikilink",
"type": "date"
"type": "date"
},
"lay-source": {
"label": "Lay source",
"description": "Name of the source of the laysummary; displays in italics, preceded by an en dash",
"type": "string",
"aliases": [
]
},
"lay-date": {
"label": "Lay date",
"description": "Date of the summary; displays in parentheses",
"type": "date",
"aliases": [
]
},
},
"archive-date": {
"archive-date": {
Line 1,315: Line 1,293:
"editor1",
"editor1",
"editor1-last",
"editor1-last",
"editor1-surname",
"editor1-surname"
"editors"
]
]
},
},
"editor-first": {
"editor-first": {
"label": "Editor first name",
"label": "Editor first name",
"description": "The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors",
"description": "The given or first name, middle names, or initials of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors",
"aliases": [
"aliases": [
"editor-first1",
"editor-first1",
Line 1,710: Line 1,687:
"translator9-link"
"translator9-link"
]
]
},
"lay-url": {
"aliases": [
],
"label": "Lay URL",
"description": "URL link to a non-technical summary or review of the source",
"type": "line"
},
},
"display-authors": {
"display-authors": {
Line 1,724: Line 1,694:
},
},
"name-list-style": {
"name-list-style": {
"aliases": [
"name-list-format"
],
"label": "Name list style",
"label": "Name list style",
"description": "Sets the style for the list. Accepts 'amp', 'and', and 'vanc'. amp displays an ampersand after the penultimate name; and the same with 'and', and vanc displays in Vancouver format",
"description": "Sets the style for the list. Accepts 'amp', 'and', and 'vanc'. amp displays an ampersand after the penultimate name; and the same with 'and', and vanc displays in Vancouver format",
"type": "string"
"type": "string"
},
"script-title": {
"label": "Script Title",
"description": "Original title for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc.); not italicized, follows italicized Romanization defined in title (if present). Must be prefixed with one of the supported language codes to help browsers properly display the script",
"example": "ja:東京タワー",
"type": "string",
"suggested": true
}
}
},
},
Line 2,184: Line 2,158:
}
}
},
},
"format": "{{_ |_=_}}",
"paramOrder": [
"paramOrder": [
"last",
"last",
Line 2,202: Line 2,177:
"editor-first",
"editor-first",
"author-mask",
"author-mask",
"orig-year",
"orig-date",
"trans-title",
"trans-title",
"script-title",
"trans-chapter",
"trans-chapter",
"type",
"type",
Line 2,249: Line 2,225:
"ref",
"ref",
"access-date",
"access-date",
"lay-url",
"lay-source",
"lay-date",
"name-list-style",
"name-list-style",
"display-authors",
"display-authors",
Line 2,344: Line 2,317:


{{Wikipedia referencing}}
{{Wikipedia referencing}}
{{Wikipedia help pages}}
{{Wikipedia help pages}}<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Citation Style 2 templates]]
[[Category:Citation Style 2 templates]]
}}</includeonly>
}}</includeonly>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu