Difference between revisions of "Template:Cite web"

From LIMSWiki
Jump to navigationJump to search
m (Testing why extra space getting added)
 
(51 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span id="{{{ref}}}" name="{{{ref}}}" class="citation">{{{url}}}. {{{title}}}. {{{publisher}}}. {{{date}}}. Retrieved {{{accessdate}}}.</span>
<includeonly>{{Citation/core
  |Citation class=web
  |Surname1 = {{#if:{{{last|}}}
                |{{{last}}}
                |{{#if:{{{last1|}}}
                  |{{{last1}}}
                  |{{{author|}}}
                }}
              }}
  |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
  |Surname10 = {{{last10|{{{surname10|{{{author10|}}}}}}}}}
  |Surname11 = {{{last11|{{{surname11|{{{author11|}}}}}}}}}
  |Given1 = {{#if:{{{first|}}}|{{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}}}
  |Given2 = {{{first2|{{{given2|}}}}}}
  |Given3 = {{{first3|{{{given3|}}}}}}
  |Given4 = {{{first4|{{{given4|}}}}}}
  |Given5 = {{{first5|{{{given5|}}}}}}
  |Given6 = {{{first6|{{{given6|}}}}}}
  |Given7 = {{{first7|{{{given7|}}}}}}
  |Given8 = {{{first8|{{{given8|}}}}}}
  |Given9 = {{{first9|{{{given9|}}}}}}
  |Given10 = {{{first10|{{{given10|}}}}}}
  |Given11 = {{{first11|{{{given11|}}}}}}
  |Authorlink1 = {{#if:{{{author-link|}}}|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
  |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor1|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}}}}
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|{{{editor2|}}}}}}}}}
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|{{{editor3|}}}}}}}}}
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{editor4|}}}}}}}}}
  |EditorSurname5 = {{{editor5-last|{{{editor5-surname|{{{editor5|}}}}}}}}}
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
  |EditorGiven5={{{editor5-first|{{{editor5-given|}}}}}}
  |Editorlink1={{{editor-link|{{{editor1-link|{{{editorlink|{{{editorlink1|}}}}}}}}}}}}
  |Editorlink2={{{editor2-link|{{{editorlink2|}}}}}}
  |Editorlink3={{{editor3-link|{{{editorlink3|}}}}}}
  |Editorlink4={{{editor4-link|{{{editorlink4|}}}}}}
  |Editorlink5={{{editor5-link|{{{editorlink5|}}}}}}
  |Year={{#if:{{{year|}}}|{{{year}}}    <!-- attempt to derive year from date, if possible -->
          |{{#if: {{{date|}}}
            |{{#iferror: {{#time:Y|{{{date|}}}}}
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}}}}||{{#time:Y|{{{publication-date|}}}}}}}
                |{{#time:Y|{{{date|}}}}}
              }}
            |{{{publication-date|}}} <!-- last resort -->
          }}
        }}
  |Date = {{#if:{{{date|}}}|{{date|{{{date|}}}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
  |Title={{{work|}}}
  |TransTitle={{{trans-title|}}}
  |At = {{#if:{{{page|}}}|p. {{{page}}}|{{#if:{{{pages|}}}|pp. {{{pages|}}}|{{{at|}}}}}}}
  |IncludedWorkTitle = {{
    #if:{{{title|}}}
    |{{{title}}}
    |{{
      #if:{{{trans-title|}}}
      |
      |{{Citation error|no <code>&#124;title&#61;</code> specified|Cite web}}
      }}
    }}
  |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
  |PublicationPlace = {{{location|}}}
  |Publisher = {{{publisher|}}}
  |language = {{{language|}}}
  |format = {{{format|}}}
  |ARXIV={{{arxiv|}}}
  |ASIN={{{asin|{{{ASIN|}}}}}}
  |BIBCODE={{{bibcode|}}}
  |BIORXIV={{{biorxiv}}}
  |CITESEERX={{{citeseerx}}}
  |DOI={{{doi|{{{DOI|}}}}}}
  |DoiBroken={{{doi-inactive-date|{{{doi-broken-date|}}}}}}
  |ISBN={{{isbn|{{{ISBN|}}}}}}
  |ISSN={{{issn|{{{ISSN|}}}}}}
  |JFM={{{jfm|{{{JFM|}}}}}}
  |JSTOR={{{jstor|{{{JSTOR|}}}}}}
  |LCCN={{{lccn|{{{LCCN|}}}}}}
  |MR={{{mr|{{{MR|}}}}}}
  |OCLC={{{oclc|{{{OCLC|}}}}}}
  |OL={{{ol|{{{OL|}}}}}}
  |OSTI={{{osti|{{{OSTI|}}}}}}
  |PMC={{{pmc|{{{PMC|}}}}}}
  |PMID={{{pmid|{{{PMID|}}}}}}
  |RFC={{{rfc|{{{RFC|}}}}}}
  |SSRN={{{ssrn|{{{SSRN|}}}}}}
  |ZBL={{{zbl|}}}
  |ID={{{id|{{{ID|}}}}}}
  |AccessDate={{#if:{{{accessdate|}}}
                |{{#if: {{{accessyear|}}}
                  |{{{accessdate}}} {{{accessyear}}}
                  |{{{accessdate}}}
                }}
                |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
  }}
  |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
  |quote = {{{quote|}}}
  |Ref={{{ref|}}}
  |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}}}}}}}
  |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
  |ArchiveURL = {{{archiveurl|}}}
  |OriginalURL = {{{url|}}}
  |ArchiveDate= {{{archivedate|}}}
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}{{{accessed|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly>
<noinclude>
{{Documentation}}
<templatedata>
{
"description": "This template 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.",
"params": {
"url": {
"label": "URL",
"description": "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 &nbsp;protocol relative scheme \"//...\"",
"type": "line",
"aliases": [
"URL"
],
"required": true,
"example": "https://www.nytimes.com/..."
},
"title": {
"label": "Title",
"description": "The title of the article; can be wikilinked to an existing LIMSwiki article or url may be used to add an external link, but not both. Displays in quotes.",
"type": "content",
"required": true
},
"last": {
"label": "Last name",
"description": "The surname of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors",
"aliases": [
"author",
"last",
"last1"
],
"type": "line",
"suggested": true
},
"first": {
"label": "First name",
"description": "Given or first name, middle names, or initials of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors",
"aliases": [
"first1"
],
"type": "line",
"suggested": true
},
"last2": {
"label": "Last name 2",
"description": "The surname of the second author; don't wikilink, use 'author-link2'.",
"aliases": [
"author2"
],
"type": "line"
},
"first2": {
"label": "First name 2",
"description": "Given or first name, middle names, or initials of the second author; don't wikilink.",
"type": "line"
},
"date": {
"label": "Source date",
"description": "Date of the source; preferred format is DMY, e.g., 4 July 2015. As listed in the publication",
"type": "date",
"suggested": true
},
"work": {
"label": "Work",
"description": "If this item is part of a larger 'work', such as a book, periodical or website, write the name of that work; will display in italics. Having both 'publisher' and 'website' is redundant in many cases.",
"type": "string",
"suggested": true,
"example": "[[Rotten Tomatoes]]"
},
"publisher": {
"label": "Publisher",
"description": "Name of the publisher; displays after title",
"type": "content",
"suggested": true,
"example": "[[University of Chicago Press]]"
},
"doi": {
"label": "DOI",
"description": "Digital Object Identifier; begins with '10.'",
"type": "string"
},
"doi-broken-date": {
"label": "DOI broken date",
"description": "The date that the DOI was determined to be broken",
            "aliases": [
                "doi-inactive-date"
],
"type": "date"
},
"year": {
"label": "Year of publication",
"description": "Year of the source being referenced; recommended only when date parameter format is YYYY-MM-DD and a CITEREF disambiguator is needed",
"type": "number"
},
"editor-last": {
"label": "Editor last name",
"description": "The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-last', 'editor'",
            "aliases": [
"editor",
"editor1-last",
"editors"
],
"type": "line"
},
"editor-first": {
"label": "Editor first name",
"description": "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'",
"aliases": [
"editor1-first"
],
"type": "line"
},
"editor-link": {
"label": "Editor link",
"description": "Title of existing LIMSwiki article about the editor; can suffix with a numeral to add additional editors; alias of 'editor1-link'",
            "aliases": [
"editorlink",
"editor1-link"
],
"type": "wiki-page-name"
},
"publication-place": {
"label": "Place of publication",
"description": "Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at'",
            "aliases": [
"place",
                "location"
],
"type": "content"
},
"publication-date": {
"label": "Publication date",
"description": "Date of publication when different from the date the work was written; preferred format is DMY, e.g., 4 July 2015",
"type": "date"
},
"page": {
"label": "Page",
"description": "Page in the source that supports the content; displays after 'p.'",
"type": "line"
},
"pages": {
"label": "Pages",
"description": "Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.'",
"type": "line"
},
"at": {
"label": "At",
"description": "May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient",
"type": "line"
},
"language": {
"label": "Language",
"description": "The language in which the source is written, if not English; use the full language name; do not use icons or templates",
"type": "string"
},
"trans-title": {
"label": "Translated title",
"description": "An English language title, if the source cited is in a foreign language; 'language' is recommended",
"type": "content"
},
"format": {
"label": "Format",
"description": "Format of the work referred to by 'url' ('url' is required when using 'format'); examples: PDF, DOC, XLS; do not specify HTML",
"type": "string"
},
"arxiv": {
"label": "arXiv identifier",
"description": "An identifier for arXive electronic preprints of scientific papers",
"type": "line"
},
"asin": {
"label": "ASIN",
"description": "Amazon Standard Identification Number; 10 characters",
"type": "line"
},
"asin-tld": {
"label": "ASIN TLD",
"description": "ASIN top-level domain for Amazon sites other than the US",
"type": "line"
},
"bibcode": {
"label": "Bibcode",
"description": "Bibliographic Reference Code (REFCODE); 19 characters",
"type": "line"
},
"biorxiv": {
"label": "biorXiv",
"description": "biorXiv identifier; full doi",
"type": "line"
},
"citeseerx": {
"label": "CiteSeerX",
"description": "CiteSeerX identifier; found after the 'doi=' query parameter",
"type": "line"
},
"isbn": {
"label": "ISBN",
"description": "International Standard Book Number; use the 13-digit ISBN where possible",
"type": "line"
},
"issn": {
"label": "ISSN",
"description": "International Standard Serial Number (print); 8 characters; usually split into two groups of four using a hyphen",
"type": "line"
},
"jfm": {
"label": "jfm code",
"description": "Jahrbuch über die Fortschritte der Mathematik classification code",
"type": "line"
},
"jstor": {
"label": "JSTOR",
"description": "JSTOR identifier",
"type": "line"
},
"lccn": {
"label": "LCCN",
"description": "Library of Congress Control Number",
"type": "line"
},
"mr": {
"label": "MR",
"description": "Mathematical Reviews identifier",
"type": "line"
},
"oclc": {
"label": "OCLC",
"description": "Online Computer Library Center number",
"type": "number"
},
"ol": {
"label": "OL",
"description": "Open Library identifier",
"type": "line"
},
"osti": {
"label": "OSTI",
"description": "Office of Scientific and Technical Information identifier",
"type": "line"
},
"pmc": {
"label": "PMC",
"description": "PubMed Center article number",
"type": "number"
},
"pmid": {
"label": "PMID",
"description": "PubMed Unique Identifier",
"type": "line"
},
"rfc": {
"label": "RFC",
"description": "Request for Comments number",
"type": "number"
},
"ssrn": {
"label": "SSRN",
"description": "Social Science Research Network",
"type": "line"
},
"zbl": {
"label": "Zbl",
"description": "Zentralblatt MATH journal identifier",
"type": "line"
},
"id": {
"label": "id",
"description": "A unique identifier used where none of the specialized ones are applicable",
"type": "line"
},
"quote": {
"label": "Quote",
"description": "Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation",
"type": "content"
},
"ref": {
"label": "Ref",
"description": "An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv and sfn templates",
"type": "line"
},
"postscript": {
"label": "Postscript",
"description": "The closing punctuation for the citation; ignored if 'quote' is defined; to suppress use reserved keyword 'none'",
"type": "line",
"default": "."
},
"last3": {
"label": "Last name 3",
"description": "The surname of the third author; don't wikilink, use 'author-link3'.",
"aliases": [
"author3"
],
"type": "line"
},
"first3": {
"label": "First name 3",
"description": "Given or first name, middle names, or initials of the third author; don't wikilink.",
"type": "line"
},
"last4": {
"label": "Last name 4",
"description": "The surname of the forth author; don't wikilink, use 'author-link4'.",
"aliases": [
"author4"
],
"type": "line"
},
"first4": {
"label": "First name 4",
"description": "Given or first name, middle names, or initials of the forth author; don't wikilink.",
"type": "line"
},
"last5": {
"label": "Last name 5",
"description": "The surname of the fifth author; don't wikilink, use 'author-link5'.",
"aliases": [
"author5"
],
"type": "line"
},
"first5": {
"label": "First name 5",
"description": "Given or first name, middle names, or initials of the fifth author; don't wikilink.",
"type": "line"
},
"last6": {
"label": "Last name 6",
"description": "The surname of the sixth author; don't wikilink, use 'author-link6'.",
"aliases": [
"author6"
],
"type": "line"
},
"first6": {
"label": "First name 6",
"description": "Given or first name, middle names, or initials of the sixth author; don't wikilink.",
"type": "line"
},
"last7": {
"label": "Last name 7",
"description": "The surname of the seventh author; don't wikilink, use 'author-link7'.",
"aliases": [
"author7"
],
"type": "line"
},
"first7": {
"label": "First name 7",
"description": "Given or first name, middle names, or initials of the seventh author; don't wikilink.",
"type": "line"
},
"last8": {
"label": "Last name 8",
"description": "The surname of the eighth author; don't wikilink, use 'author-link8'.",
"aliases": [
"author8"
],
"type": "line"
},
"first8": {
"label": "First name 8",
"description": "Given or first name, middle names, or initials of the eighth author; don't wikilink.",
"type": "line"
},
"last9": {
"label": "Last name 9",
"description": "The surname of the ninth author; don't wikilink, use 'author-link9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author.",
"aliases": [
"author9"
],
"type": "line"
},
"first9": {
"label": "First name 9",
"description": "Given or first name, middle names, or initials of the ninth author; don't wikilink.",
"type": "line"
},
"last10": {
"label": "Last name 10",
"description": "The surname of the tenth author; don't wikilink, use 'author-link9'. If ten authors are defined, then only eight will show and 'et al.' will show in place of the last two authors.",
"aliases": [
"author10"
],
"type": "line"
},
"first10": {
"label": "First name 10",
"description": "Given or first name, middle names, or initials of the tenth author; don't wikilink.",
"type": "line"
},
"last11": {
"label": "Last name 11",
"description": "The surname of the 11th author; don't wikilink, use 'author-link9'. If more than nine authors are defined, then only eight will show and 'et al.' will show in place of the remaining authors.",
"aliases": [
"author11"
],
"type": "line"
},
"first11": {
"label": "First name 11",
"description": "Given or first name, middle names, or initials of the 11th author; don't wikilink.",
"type": "line"
},
"editor2-last": {
"label": "Editor last name 2",
"description": "The surname of the second editor; don't wikilink, use 'editor2-link'.",
"aliases": [
"editor2"
],
"type": "line"
},
"editor2-first": {
"label": "Editor first name 2",
"description": "Given or first name, middle names, or initials of the second editor; don't wikilink.",
"type": "line"
},
"editor3-last": {
"label": "Editor last name 3",
"description": "The surname of the third editor; don't wikilink, use 'editor3-link'.",
"aliases": [
"editor3"
],
"type": "line"
},
"editor3-first": {
"label": "Editor first name 3",
"description": "Given or first name, middle names, or initials of the third editor; don't wikilink.",
"type": "line"
},
"editor4-last": {
"label": "Editor last name 4",
"description": "The surname of the fourth editor; don't wikilink, use 'editor4-link'.",
"aliases": [
"editor4"
],
"type": "line"
},
"editor4-first": {
"label": "Editor first name 4",
"description": "Given or first name, middle names, or initials of the fourth editor; don't wikilink.",
"type": "line"
},
"editor5-last": {
"label": "Editor last name 5",
"description": "The surname of the fifth editor; don't wikilink, use 'editor5-link'.",
"aliases": [
"editor5"
],
"type": "line"
},
"editor5-first": {
"label": "Editor first name 5",
"description": "Given or first name, middle names, or initials of the fifth editor; don't wikilink.",
"type": "line"
},
"author-link": {
"label": "Author link",
"description": "Title of existing LIMSwiki article about the author; can suffix with a numeral to add additional authors",
"type": "wiki-page-name",
"aliases": [
"author-link1",
"author1-link"
]
},
"author-link2": {
"label": "Author link 2",
"description": "Title of existing LIMSwiki article about the second author.",
"type": "wiki-page-name",
"aliases": [
"author2-link"
]
},
"accessdate": {
"label": "URL access date",
"description": "The full date when the original URL was accessed; preferred format is DMY, e.g., 4 July 2015",
"type": "date",
"suggested": true
},
"archiveurl": {
"label": "Archive URL",
"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'",
"type": "line",
"suggested": true
},
"archivedate": {
"label": "Archive date",
"description": "Date when the original URL was archived; preferred format is DMY, e.g., 4 July 2015",
"type": "date",
"suggested": true
},
"author-link3": {
"label": "Author link 3",
"description": "Title of existing LIMSwiki article about the third author.",
"type": "wiki-page-name",
"aliases": [
"author3-link"
]
},
"author-link4": {
"label": "Author link 4",
"description": "Title of existing LIMSwiki article about the forth author.",
"type": "wiki-page-name",
"aliases": [
"author4-link"
]
},
"author-link5": {
"label": "Author link 5",
"description": "Title of existing LIMSwiki article about the fifth author.",
"type": "wiki-page-name",
"aliases": [
"author5-link"
]
},
"author-link6": {
"label": "Author link 6",
"description": "Title of existing LIMSwiki article about the sixth author.",
"type": "wiki-page-name",
"aliases": [
"author6-link"
]
},
"author-link7": {
"label": "Author link 7",
"description": "Title of existing LIMSwiki article about the seventh author.",
"type": "wiki-page-name",
"aliases": [
"author7-link"
]
},
"author-link8": {
"label": "Author link 8",
"description": "Title of existing LIMSwiki article about the eighth author.",
"type": "wiki-page-name",
"aliases": [
"author8-link"
]
},
"author-link9": {
"label": "Author link 9",
"description": "Title of existing LIMSwiki article about the ninth author.",
"type": "wiki-page-name",
"aliases": [
"author9-link"
]
},
"editor2-link": {
"label": "Editor link 2",
"description": "Title of existing LIMSwiki article about the second editor.",
"type": "wiki-page-name",
"aliases": [
"editor-link2"
]
},
"editor3-link": {
"label": "Editor link 3",
"description": "Title of existing LIMSwiki article about the third editor.",
"type": "wiki-page-name",
"aliases": [
"editor-link3"
]
},
"editor4-link": {
"label": "Editor link 4",
"description": "Title of existing LIMSwiki article about the fourth editor.",
"type": "wiki-page-name",
"aliases": [
"editor-link4"
]
},
        "editor5-link": {
"label": "Editor link 5",
"description": "Title of existing LIMSwiki article about the fifth editor.",
"type": "wiki-page-name",
"aliases": [
"editor-link5"
]
}
    },
"paramOrder": [
"last",
"first",
"author-link",
"last2",
"first2",
"author-link2",
"last3",
"first3",
"author-link3",
"last4",
"first4",
"author-link4",
"last5",
"first5",
"author-link5",
"last6",
"first6",
"author-link6",
"last7",
"first7",
"author-link7",
"last8",
"first8",
"author-link8",
"last9",
"first9",
"author-link9",
"last10",
"first10",
"last11",
"first11",
"date",
"year",
"editor-last",
"editor-first",
"editor-link",
"editor2-last",
"editor2-first",
"editor2-link",
"editor3-last",
"editor3-first",
"editor3-link",
"editor4-last",
"editor4-first",
"editor4-link",
"editor5-last",
"editor5-first",
"editor5-link",
"title",
        "work",
"trans-title",
"url",
"format",
"language",
"publisher",
"publication-place",
"publication-date",
"page",
"pages",
"at",
"arxiv",
"asin",
"asin-tld",
"bibcode",
"biorxiv",
"citeseerx",
"doi",
"doi-broken-date",
"isbn",
"issn",
"jfm",
"jstor",
"lccn",
"mr",
"oclc",
"ol",
"osti",
"pmc",
"pmid",
"rfc",
"ssrn",
"zbl",
"id",
"archiveurl",
"archivedate",
"accessdate",
"quote",
"postscript",
"ref"
],
"maps": {
"citoid": {
"title": "title",
"url": "url",
            "subject": "title",
"publicationTitle": "work",
"blogTitle": "work",
"forumTitle": "work",
"seriesTitle": "work",
"websiteTitle": "work",
            "publisher": "publisher",
"date": "date",
            "accessDate": "accessdate",
"PMCID": "pmc",
"PMID": "pmid",
            "oclc": "oclc",
"pages": "pages",
            "DOI": "doi",
"language": "language",
"author": [
                [
"first",
"last"
],
[
"first2",
"last2"
],
[
"first3",
"last3"
],
[
"first4",
"last4"
],
[
"first5",
"last5"
],
[
"first6",
"last6"
],
[
"first7",
"last7"
],
[
"first8",
"last8"
],
[
"first9",
"last9"
],
[
"first10",
"last10"
],
[
"first11",
"last11"
]
],
"editor": [
[
"editor-first",
"editor-last"
],
[
"editor2-first",
"editor2-last"
],
[
"editor3-first",
"editor3-last"
],
[
"editor4-first",
"editor4-last"
],
[
"editor5-first",
"editor5-last"
]
]
}
},
"format": "{{_ |_=_}}"
}
</templatedata>
[[Category:Citation templates]]
</noinclude>

Latest revision as of 15:49, 10 August 2021


[edit] [purge] Template documentation

This template is used to cite online sources in LIMSwiki articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see *Wikipedia:Citing sources. More information on the use of citation templates is available at Category:Citation templates.

Usage

Note: None of the parameters should be capitalised, in order to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc. - not "URL", "Title", etc.

Common forms with authors in any format

Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:

Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=31 October 2024}}
Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=October 31, 2024}}

Common forms with last1, first1; last2, first2

The examples below will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:

Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=31 October 2024}}
Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=October 31, 2024}}

All parameters

When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.

All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |doi= |archiveurl= |archivedate= |accessdate= |quote= |ref= |separator= |postscript=}}
All parameters, vertical layout
{{cite web
| url         = 
| title       = 
| first       = 
| last        = 
| author      = 
| authorlink  = 
| coauthors   = 
| date        = 
| month       = 
| year        = 
| work        = 
| publisher   = 
| location    = 
| page        = 
| pages       = 
| at          = 
| language    = 
| trans_title = 
| format      = 
| doi         = 
| archiveurl  = 
| archivedate = 
| accessdate  = 
| quote       = 
| ref         = 
| separator   = 
| postscript  = 
}}

Required parameters

  • url: URL of online item. Start the url with the communications protocol, e.g. http://.
  • title: Title of online item. This title will appear as the citation itself, hyperlinked to the URL. Certain characters must be replaced with their HTML numeric reference to be used in the title. The character "[" must be replaced with "&#91;", "]" with "&#93;", and "|" (vertical bar) with "&#124;".

Optional parameters

  • author parameters
    • author
    • last works with first to produce last, first
    • authorlink works either with author or with last & first to link to the appropriate wikipedia article. Does not work with URLs.
    • last1, first1, ..., last9, first9 and optionally authorlink1, ..., authorlink9 for specifying more authors (note: last1, first1 and authorlink1 are synonyms for last, first and authorlink, so use either last1 or last, not both)
    • coauthors: alternate way of specifying additional authors (to be used in conjunction with parameter(s) above in order to be visible)
  • a date parameter
    • either date: Full date of publication. Should not be wikilinked.
    • or year: Year of publication, and month: Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
  • format: Format, e.g. PDF. HTML implied if not specified.
  • work: If this item is part of a larger "work", such as a book, periodical or website, write the name of that work. Do not italicize; the software will do so automatically.
  • publisher: Publisher, if any—for example if the website is hosted by a government service, educational institution, or company. (The publisher is not usually the name of the website, that is usually the work).
    • location: Geographical place of publication.
  • a page parameter
    • either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
    • or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
    • or at: When the page prefix is unwanted. "at=Table 5" produces Table 5.
  • language: language of publication (do not specify "English" as this is the default).
    • trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the 'language' parameter.
  • doi: A digital object identifier for the document, such as 10.1038/news070508-7
    • Doilabel: If the doi contains some characters that must be escaped, use "doilabel" for the unescaped version. See {{doi}}: "id" is equivalent to "doi" and "label" is "doilabel"
  • archive parameters (if used, both parameters must be used together)
    • archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and Archive.org.
    • archivedate: Date when the item was archived. Should not be wikilinked.
  • accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
  • quote: Relevant quote from online item.
  • ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value |ref=ID generates an anchor with the given ID; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value |ref=harv generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates.
  • separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
  • postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if |quote= is specified.

Duplicate periods

By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc. but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..

Examples

Some standard use cases
  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
    Doe, John (30 April 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. http://www.example.org/. Retrieved 6 July 2005. 

  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
    Doe, John (30 April 2005). "My Favorite Things, Part II". Encyclopedia of Things. http://www.example.org/. Retrieved 6 July 2005. 

Using format

Foreign language and translated title
  • {{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
    Joliet, François (30 April 2005). "Honni soit qui mal y pense" (in French). http://www.example.org/. Retrieved 6 July 2005. 

coauthors
  • {{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
    Doe, John; Smith, Peter; Smythe, Jim (30 April 2005). "Our Favorite Things". Encyclopedia of Things. Open Publishing. http://www.example.org/. Retrieved 16 May 2006. 

  • {{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
    Doe, John; Peter Smith; Jim Smythe (30 April 2005). "Our Favorite Things". Encyclopedia of Things. Open Publishing. http://www.example.org/. Retrieved 16 May 2006. 

No author
  • {{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
    "Index of Sharp Things". Encyclopedia of Things. Open Publishing. 30 April 2005. http://www.example.org/. Retrieved 16 May 2006. 

No author, no publisher

This abbreviated format should only be used when the editor cannot determine the publisher and author.

  • {{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
    "Index of Sharp Things". Encyclopedia of Things. 30 April 2005. http://www.example.org/. Retrieved 6 July 2005. 

Using "archiveurl" and "archivedate" for webpages that have been archived

Using "quote"
  • {{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...' }}
    "Daylight saving time: rationale and original idea". WebExhibits. 2008. http://www.webexhibits.org/daylightsaving/c.html. Retrieved 27 September 2009. "... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'" 

See also

This template 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.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Last namelast author last last1

The surname of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors

Linesuggested
First namefirst first1

Given or first name, middle names, or initials of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors

Linesuggested
Author linkauthor-link author-link1 author1-link

Title of existing LIMSwiki article about the author; can suffix with a numeral to add additional authors

Page nameoptional
Last name 2last2 author2

The surname of the second author; don't wikilink, use 'author-link2'.

Lineoptional
First name 2first2

Given or first name, middle names, or initials of the second author; don't wikilink.

Lineoptional
Author link 2author-link2 author2-link

Title of existing LIMSwiki article about the second author.

Page nameoptional
Last name 3last3 author3

The surname of the third author; don't wikilink, use 'author-link3'.

Lineoptional
First name 3first3

Given or first name, middle names, or initials of the third author; don't wikilink.

Lineoptional
Author link 3author-link3 author3-link

Title of existing LIMSwiki article about the third author.

Page nameoptional
Last name 4last4 author4

The surname of the forth author; don't wikilink, use 'author-link4'.

Lineoptional
First name 4first4

Given or first name, middle names, or initials of the forth author; don't wikilink.

Lineoptional
Author link 4author-link4 author4-link

Title of existing LIMSwiki article about the forth author.

Page nameoptional
Last name 5last5 author5

The surname of the fifth author; don't wikilink, use 'author-link5'.

Lineoptional
First name 5first5

Given or first name, middle names, or initials of the fifth author; don't wikilink.

Lineoptional
Author link 5author-link5 author5-link

Title of existing LIMSwiki article about the fifth author.

Page nameoptional
Last name 6last6 author6

The surname of the sixth author; don't wikilink, use 'author-link6'.

Lineoptional
First name 6first6

Given or first name, middle names, or initials of the sixth author; don't wikilink.

Lineoptional
Author link 6author-link6 author6-link

Title of existing LIMSwiki article about the sixth author.

Page nameoptional
Last name 7last7 author7

The surname of the seventh author; don't wikilink, use 'author-link7'.

Lineoptional
First name 7first7

Given or first name, middle names, or initials of the seventh author; don't wikilink.

Lineoptional
Author link 7author-link7 author7-link

Title of existing LIMSwiki article about the seventh author.

Page nameoptional
Last name 8last8 author8

The surname of the eighth author; don't wikilink, use 'author-link8'.

Lineoptional
First name 8first8

Given or first name, middle names, or initials of the eighth author; don't wikilink.

Lineoptional
Author link 8author-link8 author8-link

Title of existing LIMSwiki article about the eighth author.

Page nameoptional
Last name 9last9 author9

The surname of the ninth author; don't wikilink, use 'author-link9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author.

Lineoptional
First name 9first9

Given or first name, middle names, or initials of the ninth author; don't wikilink.

Lineoptional
Author link 9author-link9 author9-link

Title of existing LIMSwiki article about the ninth author.

Page nameoptional
Last name 10last10 author10

The surname of the tenth author; don't wikilink, use 'author-link9'. If ten authors are defined, then only eight will show and 'et al.' will show in place of the last two authors.

Lineoptional
First name 10first10

Given or first name, middle names, or initials of the tenth author; don't wikilink.

Lineoptional
Last name 11last11 author11

The surname of the 11th author; don't wikilink, use 'author-link9'. If more than nine authors are defined, then only eight will show and 'et al.' will show in place of the remaining authors.

Lineoptional
First name 11first11

Given or first name, middle names, or initials of the 11th author; don't wikilink.

Lineoptional
Source datedate

Date of the source; preferred format is DMY, e.g., 4 July 2015. As listed in the publication

Datesuggested
Year of publicationyear

Year of the source being referenced; recommended only when date parameter format is YYYY-MM-DD and a CITEREF disambiguator is needed

Numberoptional
Editor last nameeditor-last editor editor1-last editors

The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-last', 'editor'

Lineoptional
Editor first nameeditor-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'

Lineoptional
Editor linkeditor-link editorlink editor1-link

Title of existing LIMSwiki article about the editor; can suffix with a numeral to add additional editors; alias of 'editor1-link'

Page nameoptional
Editor last name 2editor2-last editor2

The surname of the second editor; don't wikilink, use 'editor2-link'.

Lineoptional
Editor first name 2editor2-first

Given or first name, middle names, or initials of the second editor; don't wikilink.

Lineoptional
Editor link 2editor2-link editor-link2

Title of existing LIMSwiki article about the second editor.

Page nameoptional
Editor last name 3editor3-last editor3

The surname of the third editor; don't wikilink, use 'editor3-link'.

Lineoptional
Editor first name 3editor3-first

Given or first name, middle names, or initials of the third editor; don't wikilink.

Lineoptional
Editor link 3editor3-link editor-link3

Title of existing LIMSwiki article about the third editor.

Page nameoptional
Editor last name 4editor4-last editor4

The surname of the fourth editor; don't wikilink, use 'editor4-link'.

Lineoptional
Editor first name 4editor4-first

Given or first name, middle names, or initials of the fourth editor; don't wikilink.

Lineoptional
Editor link 4editor4-link editor-link4

Title of existing LIMSwiki article about the fourth editor.

Page nameoptional
Editor last name 5editor5-last editor5

The surname of the fifth editor; don't wikilink, use 'editor5-link'.

Lineoptional
Editor first name 5editor5-first

Given or first name, middle names, or initials of the fifth editor; don't wikilink.

Lineoptional
Editor link 5editor5-link editor-link5

Title of existing LIMSwiki article about the fifth editor.

Page nameoptional
Titletitle

The title of the article; can be wikilinked to an existing LIMSwiki article or url may be used to add an external link, but not both. Displays in quotes.

Contentrequired
Workwork

If this item is part of a larger 'work', such as a book, periodical or website, write the name of that work; will display in italics. Having both 'publisher' and 'website' is redundant in many cases.

Example
[[Rotten Tomatoes]]
Stringsuggested
Translated titletrans-title

An English language title, if the source cited is in a foreign language; 'language' is recommended

Contentoptional
URLurl 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 &nbsp;protocol relative scheme "//..."

Example
https://www.nytimes.com/...
Linerequired
Formatformat

Format of the work referred to by 'url' ('url' is required when using 'format'); examples: PDF, DOC, XLS; do not specify HTML

Stringoptional
Languagelanguage

The language in which the source is written, if not English; use the full language name; do not use icons or templates

Stringoptional
Publisherpublisher

Name of the publisher; displays after title

Example
[[University of Chicago Press]]
Contentsuggested
Place of publicationpublication-place place location

Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at'

Contentoptional
Publication datepublication-date

Date of publication when different from the date the work was written; preferred format is DMY, e.g., 4 July 2015

Dateoptional
Pagepage

Page in the source that supports the content; displays after 'p.'

Lineoptional
Pagespages

Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.'

Lineoptional
Atat

May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient

Lineoptional
arXiv identifierarxiv

An identifier for arXive electronic preprints of scientific papers

Lineoptional
ASINasin

Amazon Standard Identification Number; 10 characters

Lineoptional
ASIN TLDasin-tld

ASIN top-level domain for Amazon sites other than the US

Lineoptional
Bibcodebibcode

Bibliographic Reference Code (REFCODE); 19 characters

Lineoptional
biorXivbiorxiv

biorXiv identifier; full doi

Lineoptional
CiteSeerXciteseerx

CiteSeerX identifier; found after the 'doi=' query parameter

Lineoptional
DOIdoi

Digital Object Identifier; begins with '10.'

Stringoptional
DOI broken datedoi-broken-date doi-inactive-date

The date that the DOI was determined to be broken

Dateoptional
ISBNisbn

International Standard Book Number; use the 13-digit ISBN where possible

Lineoptional
ISSNissn

International Standard Serial Number (print); 8 characters; usually split into two groups of four using a hyphen

Lineoptional
jfm codejfm

Jahrbuch über die Fortschritte der Mathematik classification code

Lineoptional
JSTORjstor

JSTOR identifier

Lineoptional
LCCNlccn

Library of Congress Control Number

Lineoptional
MRmr

Mathematical Reviews identifier

Lineoptional
OCLCoclc

Online Computer Library Center number

Numberoptional
OLol

Open Library identifier

Lineoptional
OSTIosti

Office of Scientific and Technical Information identifier

Lineoptional
PMCpmc

PubMed Center article number

Numberoptional
PMIDpmid

PubMed Unique Identifier

Lineoptional
RFCrfc

Request for Comments number

Numberoptional
SSRNssrn

Social Science Research Network

Lineoptional
Zblzbl

Zentralblatt MATH journal identifier

Lineoptional
idid

A unique identifier used where none of the specialized ones are applicable

Lineoptional
Archive URLarchiveurl

The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'

Linesuggested
Archive datearchivedate

Date when the original URL was archived; preferred format is DMY, e.g., 4 July 2015

Datesuggested
URL access dateaccessdate

The full date when the original URL was accessed; preferred format is DMY, e.g., 4 July 2015

Datesuggested
Quotequote

Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation

Contentoptional
Postscriptpostscript

The closing punctuation for the citation; ignored if 'quote' is defined; to suppress use reserved keyword 'none'

Default
.
Lineoptional
Refref

An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv and sfn templates

Lineoptional