Jump to content

Template:Cite web: Difference between revisions

From MonoCloud Wiki
Configure automatic citations
Preserve citation authors and access details
 
Line 1: Line 1:
<includeonly>{{#if:{{{author|}}}|{{{author}}}.}} {{#if:{{{last|}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}.}} {{#if:{{{last2|}}}|{{{last2}}}{{#if:{{{first2|}}}|, {{{first2}}}}}.}} {{#if:{{{last3|}}}|{{{last3}}}{{#if:{{{first3|}}}|, {{{first3}}}}}.}} {{#if:{{{date|}}}|({{{date}}}).|{{#if:{{{year|}}}|({{{year}}}).}}}} {{#if:{{{url|}}}|[{{{url}}} “{{{title|Source}}}”]|“{{{title|Source}}}”}}. {{#if:{{{trans-title|}}}|[{{{trans-title}}}].}} {{#if:{{{website|}}}|''{{{website}}}''.}} {{#if:{{{work|}}}|''{{{work}}}''.}} {{#if:{{{magazine|}}}|''{{{magazine}}}''.}} {{#if:{{{publisher|}}}|{{{publisher}}}.}} {{#if:{{{editor|}}}|ed. {{{editor}}}.}} {{#if:{{{translator|}}}|trans. {{{translator}}}.}} {{#if:{{{journal|}}}|''{{{journal}}}''.}} {{#if:{{{location|}}}|{{{location}}}.}} {{#if:{{{edition|}}}|{{{edition}}} ed.}} {{#if:{{{series|}}}|{{{series}}}.}} {{#if:{{{issn|}}}|ISSN {{{issn}}}.}} {{#if:{{{pmid|}}}|PMID {{{pmid}}}.}} {{#if:{{{pmc|}}}|PMC {{{pmc}}}.}} {{#if:{{{oclc|}}}|OCLC {{{oclc}}}.}} {{#if:{{{chapter|}}}|chapter {{{chapter}}}.}} {{#if:{{{volume|}}}|vol. {{{volume}}}.}} {{#if:{{{issue|}}}|no. {{{issue}}}.}} {{#if:{{{pages|}}}|pp. {{{pages}}}.}} {{#if:{{{page|}}}|p. {{{page}}}.}} {{#if:{{{isbn|}}}|ISBN {{{isbn}}}.}} {{#if:{{{doi|}}}|doi:{{{doi}}}.}} {{#if:{{{language|}}}|({{{language}}})}} {{#if:{{{via|}}}|via {{{via}}}.}} {{#if:{{{archive-url|}}}|[{{{archive-url}}} Archived] {{#if:{{{archive-date|}}}|on {{{archive-date}}}}}.}} {{#if:{{{access-date|}}}|Retrieved {{{access-date}}}.}} {{#if:{{{quote|}}}|“{{{quote}}}”}}</includeonly><noinclude>Use this template inside a reference to format a source.
<includeonly>{{#if:{{{author|}}}|{{{author}}}.}} {{#if:{{{last|}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}.|{{#if:{{{last1|}}}|{{{last1}}}{{#if:{{{first1|}}}|, {{{first1}}}}}.}}}} {{#if:{{{last2|}}}|{{{last2}}}{{#if:{{{first2|}}}|, {{{first2}}}}}.}} {{#if:{{{last3|}}}|{{{last3}}}{{#if:{{{first3|}}}|, {{{first3}}}}}.}} {{#if:{{{date|}}}|({{{date}}}).|{{#if:{{{year|}}}|({{{year}}}).}}}} {{#if:{{{url|}}}|[{{#switch:{{{url-status|live}}}|dead|unfit|usurped={{#if:{{{archive-url|}}}|{{{archive-url}}}|{{{url}}}}}|#default={{{url}}}}} “{{{title|Source}}}”]|“{{{title|Source}}}”}}.{{#switch:{{{url-access|}}}|subscription=&nbsp;(subscription required)|registration=&nbsp;(registration required)|limited=&nbsp;(limited access)|#default=}} {{#if:{{{trans-title|}}}|[{{{trans-title}}}].}} {{#if:{{{website|}}}|''{{{website}}}''.}} {{#if:{{{work|}}}|''{{{work}}}''.}} {{#if:{{{magazine|}}}|''{{{magazine}}}''.}} {{#if:{{{publisher|}}}|{{{publisher}}}.}} {{#if:{{{editor|}}}|ed. {{{editor}}}.}} {{#if:{{{translator|}}}|trans. {{{translator}}}.}} {{#if:{{{journal|}}}|''{{{journal}}}''.}} {{#if:{{{location|}}}|{{{location}}}.}} {{#if:{{{edition|}}}|{{{edition}}} ed.}} {{#if:{{{series|}}}|{{{series}}}.}} {{#if:{{{issn|}}}|ISSN {{{issn}}}.}} {{#if:{{{pmid|}}}|PMID {{{pmid}}}.}} {{#if:{{{pmc|}}}|PMC {{{pmc}}}.}} {{#if:{{{oclc|}}}|OCLC {{{oclc}}}.}} {{#if:{{{chapter|}}}|chapter {{{chapter}}}.}} {{#if:{{{volume|}}}|vol. {{{volume}}}.}} {{#if:{{{issue|}}}|no. {{{issue}}}.}} {{#if:{{{pages|}}}|pp. {{{pages}}}.}} {{#if:{{{page|}}}|p. {{{page}}}.}} {{#if:{{{isbn|}}}|ISBN {{{isbn}}}.}} {{#if:{{{doi|}}}|[https://doi.org/{{{doi}}} doi:{{{doi}}}]{{#ifeq:{{{doi-access|}}}|free|&nbsp;(free access)}}.}} {{#if:{{{language|}}}|({{{language}}})}} {{#if:{{{via|}}}|via {{{via}}}.}} {{#if:{{{archive-url|}}}|[{{{archive-url}}} Archived] {{#if:{{{archive-date|}}}|on {{{archive-date}}}}}.}} {{#if:{{{access-date|}}}|Retrieved {{{access-date}}}.}} {{#if:{{{quote|}}}|“{{{quote}}}”}}</includeonly><noinclude>Use this template inside a reference to format a source.
<templatedata>
<templatedata>
{
{
Line 160: Line 160:
     "quote": {
     "quote": {
       "label": "Quotation",
       "label": "Quotation",
      "type": "string"
    },
    "last1": {
      "label": "First author surname",
      "description": "Alternative to last for the first author.",
      "type": "string"
    },
    "first1": {
      "label": "First author given name",
      "description": "Alternative to first for the first author.",
      "type": "string"
    },
    "url-status": {
      "label": "Original URL status",
      "description": "Use dead, unfit, or usurped to link the title to the archived copy when one is supplied.",
      "type": "string"
    },
    "url-access": {
      "label": "URL access",
      "description": "Use subscription, registration, or limited when the source URL restricts access.",
      "type": "string"
    },
    "doi-access": {
      "label": "DOI access",
      "description": "Use free when the DOI links to free access.",
       "type": "string"
       "type": "string"
     }
     }
Line 165: Line 190:
   "paramOrder": [
   "paramOrder": [
     "last",
     "last",
    "last1",
     "first",
     "first",
    "first1",
     "author",
     "author",
     "date",
     "date",
Line 171: Line 198:
     "title",
     "title",
     "url",
     "url",
    "url-status",
    "url-access",
     "website",
     "website",
     "work",
     "work",
Line 197: Line 226:
     "page",
     "page",
     "doi",
     "doi",
    "doi-access",
     "issn",
     "issn",
     "pmid",
     "pmid",

Latest revision as of 04:20, 2 November 2026

Use this template inside a reference to format a source.

Format a source citation in an article reference.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Author surnamelast

no description

Stringoptional
First author surnamelast1

Alternative to last for the first author.

Stringoptional
Author given namefirst

no description

Stringoptional
First author given namefirst1

Alternative to first for the first author.

Stringoptional
Authorauthor

no description

Stringoptional
Publication datedate

no description

Dateoptional
Publication yearyear

no description

Stringoptional
Titletitle

no description

Stringrequired
Source URLurl

no description

URLsuggested
Original URL statusurl-status

Use dead, unfit, or usurped to link the title to the archived copy when one is supplied.

Stringoptional
URL accessurl-access

Use subscription, registration, or limited when the source URL restricts access.

Stringoptional
Websitewebsite

no description

Stringoptional
Workwork

no description

Stringoptional
Magazinemagazine

no description

Stringoptional
Publisherpublisher

no description

Stringoptional
Languagelanguage

no description

Stringoptional
Access dateaccess-date

no description

Dateoptional
Archive URLarchive-url

no description

URLoptional
Archive datearchive-date

no description

Dateoptional
Translated titletrans-title

no description

Stringoptional
ISBNisbn

no description

Stringoptional
Viavia

no description

Stringoptional
Second author given namefirst2

no description

Stringoptional
Second author surnamelast2

no description

Stringoptional
Third author given namefirst3

no description

Stringoptional
Third author surnamelast3

no description

Stringoptional
Editoreditor

no description

Stringoptional
Translatortranslator

no description

Stringoptional
Journaljournal

no description

Stringoptional
Publication placelocation

no description

Stringoptional
Editionedition

no description

Stringoptional
Seriesseries

no description

Stringoptional
Volumevolume

no description

Stringoptional
Issueissue

no description

Stringoptional
Pagespages

no description

Stringoptional
Pagepage

no description

Stringoptional
DOIdoi

no description

Stringoptional
DOI accessdoi-access

Use free when the DOI links to free access.

Stringoptional
ISSNissn

no description

Stringoptional
PMIDpmid

no description

Stringoptional
PMCpmc

no description

Stringoptional
OCLCoclc

no description

Stringoptional
Chapterchapter

no description

Stringoptional
Quotationquote

no description

Stringoptional