Jump to content

Template:Cite book: Difference between revisions

From MonoCloud Wiki
Restore missing imported article templates
 
Configure automatic citations
Line 1: Line 1:
<includeonly>{{#if:{{{author|}}}|{{{author}}}.}} {{#if:{{{last|}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}.}} {{#if:{{{date|}}}|({{{date}}}).|{{#if:{{{year|}}}|({{{year}}}).}}}} {{#if:{{{url|}}}|[{{{url}}} ''{{{title|Book}}}'']]|''{{{title|Book}}}''}}. {{#if:{{{trans-title|}}}|[{{{trans-title}}}].}} {{#if:{{{website|}}}|''{{{website}}}''.}} {{#if:{{{work|}}}|''{{{work}}}''.}} {{#if:{{{magazine|}}}|''{{{magazine}}}''.}} {{#if:{{{publisher|}}}|{{{publisher}}}.}} {{#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:{{{last2|}}}|{{{last2}}}{{#if:{{{first2|}}}|, {{{first2}}}}}.}} {{#if:{{{last3|}}}|{{{last3}}}{{#if:{{{first3|}}}|, {{{first3}}}}}.}} {{#if:{{{date|}}}|({{{date}}}).|{{#if:{{{year|}}}|({{{year}}}).}}}} {{#if:{{{url|}}}|[{{{url}}} ''{{{title|Book}}}'']]|''{{{title|Book}}}''}}. {{#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.
<templatedata>
<templatedata>
{
{
Line 76: Line 76:
     "via": {
     "via": {
       "label": "Via",
       "label": "Via",
      "type": "string"
    },
    "first2": {
      "label": "Second author given name",
      "type": "string"
    },
    "last2": {
      "label": "Second author surname",
      "type": "string"
    },
    "first3": {
      "label": "Third author given name",
      "type": "string"
    },
    "last3": {
      "label": "Third author surname",
      "type": "string"
    },
    "editor": {
      "label": "Editor",
      "type": "string"
    },
    "translator": {
      "label": "Translator",
      "type": "string"
    },
    "journal": {
      "label": "Journal",
      "type": "string"
    },
    "location": {
      "label": "Publication place",
      "type": "string"
    },
    "edition": {
      "label": "Edition",
      "type": "string"
    },
    "series": {
      "label": "Series",
      "type": "string"
    },
    "volume": {
      "label": "Volume",
      "type": "string"
    },
    "issue": {
      "label": "Issue",
      "type": "string"
    },
    "pages": {
      "label": "Pages",
      "type": "string"
    },
    "page": {
      "label": "Page",
      "type": "string"
    },
    "doi": {
      "label": "DOI",
      "type": "string"
    },
    "issn": {
      "label": "ISSN",
      "type": "string"
    },
    "pmid": {
      "label": "PMID",
      "type": "string"
    },
    "pmc": {
      "label": "PMC",
      "type": "string"
    },
    "oclc": {
      "label": "OCLC",
      "type": "string"
    },
    "chapter": {
      "label": "Chapter",
      "type": "string"
    },
    "quote": {
      "label": "Quotation",
       "type": "string"
       "type": "string"
     }
     }
Line 97: Line 181:
     "trans-title",
     "trans-title",
     "isbn",
     "isbn",
     "via"
     "via",
   ]
    "first2",
    "last2",
    "first3",
    "last3",
    "editor",
    "translator",
    "journal",
    "location",
    "edition",
    "series",
    "volume",
    "issue",
    "pages",
    "page",
    "doi",
    "issn",
    "pmid",
    "pmc",
    "oclc",
    "chapter",
    "quote"
   ],
  "maps": {
    "citoid": {
      "title": "title",
      "url": "url",
      "publisher": "publisher",
      "date": "date",
      "accessDate": "access-date",
      "archiveUrl": "archive-url",
      "archiveDate": "archive-date",
      "DOI": "doi",
      "ISBN": [
        "isbn"
      ],
      "ISSN": [
        "issn"
      ],
      "PMID": "pmid",
      "PMCID": "pmc",
      "oclc": "oclc",
      "pages": "pages",
      "volume": "volume",
      "issue": "issue",
      "language": "language",
      "author": [
        [
          "first",
          "last"
        ],
        [
          "first2",
          "last2"
        ],
        [
          "first3",
          "last3"
        ]
      ],
      "editor": "editor",
      "translator": "translator",
      "bookTitle": "work",
      "publicationTitle": "work",
      "edition": "edition",
      "place": "location",
      "series": "series"
    }
  }
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 01:48, 30 October 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
Author given namefirst

no description

Stringoptional
Authorauthor

no description

Stringoptional
Publication datedate

no description

Dateoptional
Publication yearyear

no description

Stringoptional
Titletitle

no description

Stringrequired
Source URLurl

no description

URLsuggested
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
ISSNissn

no description

Stringoptional
PMIDpmid

no description

Stringoptional
PMCpmc

no description

Stringoptional
OCLCoclc

no description

Stringoptional
Chapterchapter

no description

Stringoptional
Quotationquote

no description

Stringoptional