Ovaj se predložak koristi na velikom broju stranica. Predložak Citation (navod) stvara u tekstu navod za knjigu, novine, časopis, prilog skupnom radu, patent ili web stranicu. On određuje vrstu navoda ispitujući upotrebljene parametre. Kao i s ostalim predlošcima vezanima uz navođenje izvora, ovaj predložak može se koristiti u fusnoti (između oznaka <ref>...</ref> ili u odjeljku koji prikazuje izvore. Ovaj predložak koristi isti Lua kôd kao predlošci vezani uz Citation Style 1 (CS1) s parametrima za promjenu prikazanog formata u Citation Style 2 (CS2). Uz ispravne parametre ovaj predložak stvara output identičan predlošcima skupine Cite, kao {{Citiranje knjiga}} i {{Citiranje weba}}, s jednom važnom razlikom: prema zadanim postavkama, ovaj predložak koristi zareze tamo gdje predlošci skupine Cite koriste točke; i jedan i drugi predložak mogu koristiti točke ili zareze uz upotrebu neobaveznih parametara. Također prema zadanim postavkama stvara HTML anchor (sidro) za navode u harvardskom stilu, dok predlošci Cite to ne čine, a što se može omogućiti. Bez obzira na to koji se predložak za navođenje izvora koristio, a čak i da ih se uopće ne koristi, svi bi navodi trebali imati isti format duž članka u spremljenom, prikazanom tekstu. Napomena: svi parametri moraju biti unijeti malim slovima. PrimjeriOvaj odjeljak pokriva najčešće korištene parametre. Odavde ih možete kopirati u horizontalnom ili vertikalnom obliku, te ubaciti dodatne parametre iz punog popisa. Razmaci i raspored parametara unutar predloška nije bitan i ne utječe na konačni prikazani tekst.
Primjer
Ovi parametri mogu se koristiti za sve vrste izdanja osim za patente. Svi su neobavezni, a udubljenje se samo koristi za grupiranje vezanih stavki — za njih je moguće, gdje je naznačeno, da su međusobno isključivi. Imena sa povlakom mogu se postaviti bez povlake.
PrimjeriKnjige
Web
Časopisi, stručni časopisi, novine
Konferencijski radovi i javna predavanja
Dijelovi knjiga, uključujući enciklopedijske članke
Priopćenja za javnost
Parametri (svi su neobavezni)
Anchored citationsThis template can generate a citation that can be combined with shortened footnotes or parenthetical referencing. It does this by creating an HTML anchor containing an ID. The special parameter To disable anchor generation, specify
which generates the citation:
Then, the markup " Anchors for Harvard referencing templatesIDs compatible with Harvard referencing templates such as {{harv}} are computed from the last names of the authors (or editors, if no authors are given) and the year of the cited source. For example, the markup "
In this example the {{citation}} template defines, and the {{harv}} template uses, the HTML ID " Related methods which leave only a number in the text are to use the {{harvnb}} template enclosed in the <ref></ref> html code, or to use the {{sfn}} template alone. The example above would be
The names of only the first four authors are used; other author names are not concatenated to the ID. If no author names are given, editor names are used instead. For patents, inventor names are used instead of authors or editors. If these names are not given, this template does not generate an anchor. Last names are used, as specified by the parameters Similarly, the year is used, as specified by IDs must be uniqueNames, years, and hand-specified IDs must be chosen so that the IDs are unique within a page; otherwise the HTML will not conform to the W3C standards, and any references to the citations will not work reliably. For example, suppose a page contains the following two citations with {{harv}}-compatible IDs:
If these citations were altered to say "2008" rather than "2008a" and "2008b", the resulting page would not work, because the two different citations would both attempt to use the ID " It is good practice to verify that a page does not contain duplicate IDs by using the W3C Markup Validation Service; see External links. Dates
ToolsSee Wikipedia:Citing sources § Citation templates and tools for a list of tools that can help create a reference in the "citation" format. TemplateData<templatedata> { "description": "The Citation template generates a citation for a book, periodical, contribution in a collective work, patent, or a web page. It determines the citation type by examining which parameters are used.", "params": { "1": { "label": "1", "type": "string", "required": false }, "2": { "label": "2", "type": "string", "required": false }, "3": { "label": "3", "type": "string", "required": false }, "last": { "label": "author surname", "type": "string", "description": "surname of the author of the cited material" }, "first": { "label": "author given name", "type": "string", "description": "given name (first name) of the author of the cited material" }, "title": { "label": "title of source", "type": "string", "description": "Title of source; displays in italics.", "required": true }, "date": { "label": "date of source", "type": "string", "description": "Full date of source being referenced in the same format as other publication dates in the citations.[1] Do not wikilink. Displays after the authors and enclosed in parentheses. If there is no author, then displays after publisher." }, "url": { "label": "url of source", "type": "string", "description": "URL of an online location where the text of the publication can be found." }, "inventor-surname": { "label": "inventor-surname", "type": "string", "required": false }, "inventor1-surname": { "label": "inventor1-surname", "type": "string", "required": false }, "inventor-last": { "label": "inventor-last", "type": "string", "required": false }, "inventor1-last": { "label": "inventor1-last", "type": "string", "required": false }, "inventor": { "label": "inventor", "type": "string", "required": false }, "invent1": { "label": "invent1", "type": "string", "required": false }, "invent-1": { "label": "invent-1", "type": "string", "required": false }, "country-code": { "label": "country-code", "type": "string", "required": false }, "inventor2-surname": { "label": "inventor2-surname", "type": "string", "required": false }, "inventor2-last": { "label": "inventor2-last", "type": "string", "required": false }, "inventor2": { "label": "inventor2", "type": "string", "required": false }, "invent2": { "label": "invent2", "type": "string", "required": false }, "inventor3-surname": { "label": "inventor3-surname", "type": "string", "required": false }, "inventor3-last": { "label": "inventor3-last", "type": "string", "required": false }, "inventor3": { "label": "inventor3", "type": "string", "required": false }, "invent3": { "label": "invent3", "type": "string", "required": false }, "inventor4-surname": { "label": "inventor4-surname", "type": "string", "required": false }, "inventor4-last": { "label": "inventor4-last", "type": "string", "required": false }, "inventor4": { "label": "inventor4", "type": "string", "required": false }, "invent4": { "label": "invent4", "type": "string", "required": false }, "inventor-given": { "label": "inventor-given", "type": "string", "required": false }, "inventor1-given": { "label": "inventor1-given", "type": "string", "required": false }, "inventor-first": { "label": "inventor-first", "type": "string", "required": false }, "inventor1-first": { "label": "inventor1-first", "type": "string", "required": false }, "inventor2-given": { "label": "inventor2-given", "type": "string", "required": false }, "inventor2-first": { "label": "inventor2-first", "type": "string", "required": false }, "inventor3-given": { "label": "inventor3-given", "type": "string", "required": false }, "inventor3-first": { "label": "inventor3-first", "type": "string", "required": false }, "inventor4-given": { "label": "inventor4-given", "type": "string", "required": false }, "inventor4-first": { "label": "inventor4-first", "type": "string", "required": false }, "inventorlink1": { "label": "inventorlink1", "type": "string", "required": false }, "inventorlink": { "label": "inventorlink", "type": "string", "required": false }, "inventorlink2": { "label": "inventorlink2", "type": "string", "required": false }, "inventorlink3": { "label": "inventorlink3", "type": "string", "required": false }, "inventorlink4": { "label": "inventorlink4", "type": "string", "required": false }, "country": { "label": "country", "type": "string", "required": false }, "publication-number": { "label": "publication-number", "type": "string", "required": false }, "patent-number": { "label": "patent-number", "type": "string", "required": false }, "number": { "label": "number", "type": "string", "required": false }, "description": { "label": "description", "type": "string", "required": false }, "status": { "label": "status", "type": "string", "required": false }, "publication-date": { "label": "publication-date", "type": "string", "required": false }, "pubdate": { "label": "pubdate", "type": "string", "required": false }, "issue-date": { "label": "issue-date", "type": "string", "required": false }, "gdate": { "label": "gdate", "type": "string", "required": false }, "year": { "label": "year", "type": "string", "required": false }, "fdate": { "label": "fdate", "type": "string", "required": false }, "pridate": { "label": "pridate", "type": "string", "required": false }, "assign1": { "label": "assign1", "type": "string", "required": false }, "assign2": { "label": "assign2", "type": "string", "required": false }, "ref": { "label": "ref", "type": "string", "required": false }, "separator": { "label": "separator", "type": "string", "required": false }, "quote": { "label": "quote", "type": "string", "required": false }, "postscript": { "label": "postscript", "type": "string", "required": false }, "author-separator": { "label": "author-separator", "type": "string", "required": false }, "author-mask": { "label": "author-mask", "type": "string", "required": false }, "authormask": { "label": "authormask", "type": "string", "required": false }, "surname": { "label": "surname", "type": "string", "required": false }, "last1": { "label": "last1", "type": "string", "required": false }, "surname1": { "label": "surname1", "type": "string", "required": false }, "author1": { "label": "author1", "type": "string", "required": false }, "author": { "label": "author", "type": "string", "required": false }, "authors": { "label": "authors", "type": "string", "required": false }, "last2": { "label": "last2", "type": "string", "required": false }, "surname2": { "label": "surname2", "type": "string", "required": false }, "author2": { "label": "author2", "type": "string", "required": false }, "last3": { "label": "last3", "type": "string", "required": false }, "surname3": { "label": "surname3", "type": "string", "required": false }, "author3": { "label": "author3", "type": "string", "required": false }, "last4": { "label": "last4", "type": "string", "required": false }, "surname4": { "label": "surname4", "type": "string", "required": false }, "author4": { "label": "author4", "type": "string", "required": false }, "last5": { "label": "last5", "type": "string", "required": false }, "surname5": { "label": "surname5", "type": "string", "required": false }, "author5": { "label": "author5", "type": "string", "required": false }, "last6": { "label": "last6", "type": "string", "required": false }, "surname6": { "label": "surname6", "type": "string", "required": false }, "author6": { "label": "author6", "type": "string", "required": false }, "last7": { "label": "last7", "type": "string", "required": false }, "surname7": { "label": "surname7", "type": "string", "required": false }, "author7": { "label": "author7", "type": "string", "required": false }, "last8": { "label": "last8", "type": "string", "required": false }, "surname8": { "label": "surname8", "type": "string", "required": false }, "author8": { "label": "author8", "type": "string", "required": false }, "last9": { "label": "last9", "type": "string", "required": false }, "surname9": { "label": "surname9", "type": "string", "required": false }, "author9": { "label": "author9", "type": "string", "required": false }, "first1": { "label": "first1", "type": "string", "required": false }, "given1": { "label": "given1", "type": "string", "required": false }, "given": { "label": "given", "type": "string", "required": false }, "first2": { "label": "first2", "type": "string", "required": false }, "given2": { "label": "given2", "type": "string", "required": false }, "first3": { "label": "first3", "type": "string", "required": false }, "given3": { "label": "given3", "type": "string", "required": false }, "first4": { "label": "first4", "type": "string", "required": false }, "given4": { "label": "given4", "type": "string", "required": false }, "first5": { "label": "first5", "type": "string", "required": false }, "given5": { "label": "given5", "type": "string", "required": false }, "first6": { "label": "first6", "type": "string", "required": false }, "given6": { "label": "given6", "type": "string", "required": false }, "first7": { "label": "first7", "type": "string", "required": false }, "given7": { "label": "given7", "type": "string", "required": false }, "first8": { "label": "first8", "type": "string", "required": false }, "given8": { "label": "given8", "type": "string", "required": false }, "first9": { "label": "first9", "type": "string", "required": false }, "given9": { "label": "given9", "type": "string", "required": false }, "author-link": { "label": "author-link", "type": "string", "required": false }, "author1-link": { "label": "author1-link", "type": "string", "required": false }, "authorlink": { "label": "authorlink", "type": "string", "required": false }, "authorlink1": { "label": "authorlink1", "type": "string", "required": false }, "author2-link": { "label": "author2-link", "type": "string", "required": false }, "authorlink2": { "label": "authorlink2", "type": "string", "required": false }, "author3-link": { "label": "author3-link", "type": "string", "required": false }, "authorlink3": { "label": "authorlink3", "type": "string", "required": false }, "author4-link": { "label": "author4-link", "type": "string", "required": false }, "authorlink4": { "label": "authorlink4", "type": "string", "required": false }, "author5-link": { "label": "author5-link", "type": "string", "required": false }, "authorlink5": { "label": "authorlink5", "type": "string", "required": false }, "author6-link": { "label": "author6-link", "type": "string", "required": false }, "authorlink6": { "label": "authorlink6", "type": "string", "required": false }, "author7-link": { "label": "author7-link", "type": "string", "required": false }, "authorlink7": { "label": "authorlink7", "type": "string", "required": false }, "author8-link": { "label": "author8-link", "type": "string", "required": false }, "authorlink8": { "label": "authorlink8", "type": "string", "required": false }, "author9-link": { "label": "author9-link", "type": "string", "required": false }, "authorlink9": { "label": "authorlink9", "type": "string", "required": false }, "coauthor": { "label": "coauthor", "type": "string", "required": false }, "coauthors": { "label": "coauthors", "type": "string", "required": false }, "origyear": { "label": "origyear", "type": "string", "required": false }, "month": { "label": "month", "type": "string", "required": false }, "trans_chapter": { "label": "trans_chapter", "type": "string", "required": false }, "trans_title": { "label": "trans_title", "type": "string", "required": false }, "type": { "label": "type", "type": "string", "required": false }, "archiveurl": { "label": "archiveurl", "type": "string", "required": false }, "deadurl": { "label": "deadurl", "type": "string", "required": false }, "series": { "label": "series", "type": "string", "required": false }, "version": { "label": "version", "type": "string", "required": false }, "journal": { "label": "journal", "type": "string", "required": false }, "periodical": { "label": "periodical", "type": "string", "required": false }, "newspaper": { "label": "newspaper", "type": "string", "required": false }, "magazine": { "label": "magazine", "type": "string", "required": false }, "work": { "label": "work", "type": "string", "required": false }, "volume": { "label": "volume", "type": "string", "required": false }, "issue": { "label": "issue", "type": "string", "required": false }, "pages": { "label": "pages", "type": "string", "required": false }, "page": { "label": "page", "type": "string", "required": false }, "at": { "label": "at", "type": "string", "required": false }, "nopp": { "label": "nopp", "type": "string", "required": false }, "chapter": { "label": "chapter", "type": "string", "required": false }, "contribution": { "label": "contribution", "type": "string", "required": false }, "chapter-url": { "label": "chapter-url", "type": "string", "required": false }, "chapterurl": { "label": "chapterurl", "type": "string", "required": false }, "contribution-url": { "label": "contribution-url", "type": "string", "required": false }, "chapter-format": { "label": "chapter-format", "type": "string", "required": false }, "others": { "label": "others", "type": "string", "required": false }, "edition": { "label": "edition", "type": "string", "required": false }, "place": { "label": "place", "type": "string", "required": false }, "location": { "label": "location", "type": "string", "required": false }, "publication-place": { "label": "publication-place", "type": "string", "required": false }, "publisher": { "label": "publisher", "type": "string", "required": false }, "editor-last": { "label": "editor-last", "type": "string", "required": false }, "editor-surname": { "label": "editor-surname", "type": "string", "required": false }, "editor1-last": { "label": "editor1-last", "type": "string", "required": false }, "editor1-surname": { "label": "editor1-surname", "type": "string", "required": false }, "editor1": { "label": "editor1", "type": "string", "required": false }, "editor": { "label": "editor", "type": "string", "required": false }, "editors": { "label": "editors", "type": "string", "required": false }, "editor2-last": { "label": "editor2-last", "type": "string", "required": false }, "editor2-surname": { "label": "editor2-surname", "type": "string", "required": false }, "editor2": { "label": "editor2", "type": "string", "required": false }, "editor3-last": { "label": "editor3-last", "type": "string", "required": false }, "editor3-surname": { "label": "editor3-surname", "type": "string", "required": false }, "editor3": { "label": "editor3", "type": "string", "required": false }, "editor4-last": { "label": "editor4-last", "type": "string", "required": false }, "editor4-surname": { "label": "editor4-surname", "type": "string", "required": false }, "editor4": { "label": "editor4", "type": "string", "required": false }, "editor-first": { "label": "editor-first", "type": "string", "required": false }, "editor-given": { "label": "editor-given", "type": "string", "required": false }, "editor1-first": { "label": "editor1-first", "type": "string", "required": false }, "editor1-given": { "label": "editor1-given", "type": "string", "required": false }, "editor2-first": { "label": "editor2-first", "type": "string", "required": false }, "editor2-given": { "label": "editor2-given", "type": "string", "required": false }, "editor3-first": { "label": "editor3-first", "type": "string", "required": false }, "editor3-given": { "label": "editor3-given", "type": "string", "required": false }, "editor4-first": { "label": "editor4-first", "type": "string", "required": false }, "editor4-given": { "label": "editor4-given", "type": "string", "required": false }, "editor-link": { "label": "editor-link", "type": "string", "required": false }, "editor1-link": { "label": "editor1-link", "type": "string", "required": false }, "editor2-link": { "label": "editor2-link", "type": "string", "required": false }, "editor3-link": { "label": "editor3-link", "type": "string", "required": false }, "editor4-link": { "label": "editor4-link", "type": "string", "required": false }, "language": { "label": "language", "type": "string", "required": false }, "in": { "label": "in", "type": "string", "required": false }, "format": { "label": "format", "type": "string", "required": false }, "arxiv": { "label": "arxiv", "type": "string", "required": false }, "asin": { "label": "asin", "type": "string", "required": false }, "ASIN": { "label": "ASIN", "type": "string", "required": false }, "asin-tld": { "label": "asin-tld", "type": "string", "required": false }, "bibcode": { "label": "bibcode", "type": "string", "required": false }, "doi": { "label": "doi", "type": "string", "required": false }, "DOI": { "label": "DOI", "type": "string", "required": false }, "doi_inactivedate": { "label": "doi_inactivedate", "type": "string", "required": false }, "doi_brokendate": { "label": "doi_brokendate", "type": "string", "required": false }, "isbn": { "label": "isbn", "type": "string", "required": false }, "ISBN": { "label": "ISBN", "type": "string", "required": false }, "issn": { "label": "issn", "type": "string", "required": false }, "ISSN": { "label": "ISSN", "type": "string", "required": false }, "jfm": { "label": "jfm", "type": "string", "required": false }, "JFM": { "label": "JFM", "type": "string", "required": false }, "jstor": { "label": "jstor", "type": "string", "required": false }, "JSTOR": { "label": "JSTOR", "type": "string", "required": false }, "lccn": { "label": "lccn", "type": "string", "required": false }, "LCCN": { "label": "LCCN", "type": "string", "required": false }, "mr": { "label": "mr", "type": "string", "required": false }, "MR": { "label": "MR", "type": "string", "required": false }, "oclc": { "label": "oclc", "type": "string", "required": false }, "OCLC": { "label": "OCLC", "type": "string", "required": false }, "ol": { "label": "ol", "type": "string", "required": false }, "OL": { "label": "OL", "type": "string", "required": false }, "osti": { "label": "osti", "type": "string", "required": false }, "OSTI": { "label": "OSTI", "type": "string", "required": false }, "pmc": { "label": "pmc", "type": "string", "required": false }, "PMC": { "label": "PMC", "type": "string", "required": false }, "pmid": { "label": "pmid", "type": "string", "required": false }, "PMID": { "label": "PMID", "type": "string", "required": false }, "rfc": { "label": "rfc", "type": "string", "required": false }, "RFC": { "label": "RFC", "type": "string", "required": false }, "ssrn": { "label": "ssrn", "type": "string", "required": false }, "SSRN": { "label": "SSRN", "type": "string", "required": false }, "zbl": { "label": "zbl", "type": "string", "required": false }, "id": { "label": "id", "type": "string", "required": false }, "ID": { "label": "ID", "type": "string", "required": false }, "access-date": { "label": "access-date", "type": "string", "required": false }, "accessdate": { "label": "accessdate", "type": "string", "required": false }, "laysummary": { "label": "laysummary", "type": "string", "required": false }, "laysource": { "label": "laysource", "type": "string", "required": false }, "laydate": { "label": "laydate", "type": "string", "required": false }, "author-name-separator": { "label": "author-name-separator", "type": "string", "required": false }, "lastauthoramp": { "label": "lastauthoramp", "type": "string", "required": false }, "display-authors": { "label": "display-authors", "type": "string", "required": false }, "archivedate": { "label": "archivedate", "type": "string", "required": false }, "translator-first": {}, "translator-last": {}, "translator2-first": {}, "translator2-last": {} }, "maps": { "citoid": { "edition": "edition", "title": "title", "caseName": "title", "nameOfAct": "title", "url": "url", "label": "publisher", "company": "publisher", "studio": "publisher", "network": "publisher", "distributor": "publisher", "publisher": "publisher", "university": "publisher", "publicationTitle": "journal", "date": "date", "issueDate": "date", "dateEnacted": "date", "dateDecided": "date", "accessDate": "accessdate", "location": "location", "ISSN": [ "issn" ], "ISBN": [ "isbn" ], "PMCID": "pmc", "PMID": "pmid", "oclc": "oclc", "pages": "pages", "firstPage": "pages", "codePages": "pages", "volume": "volume", "reporterVolume": "volume", "codeVolume": "volume", "series": "series", "programTitle": "series", "patentNumber": "issue", "episodeNumber": "issue", "billNumber": "issue", "documentNumber": "issue", "publicLawNumber": "issue", "docketNumber": "issue", "issue": "issue", "DOI": "doi", "language": "language", "podcaster": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "cartographer": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "interviewee": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "performer": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "programmer": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "sponsor": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "artist": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "director": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "contributor": "others", "author": [ [ "first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "translator": [ [ "translator-first", "translator-last" ], [ "translator2-first", "translator2-last" ] ], "inventor": [ [ "inventor-first", "inventor-last" ], [ "inventor2-first", "inventor2-last" ], [ "inventor3-first", "inventor3-last" ] ], "editor": [ [ "editor-first", "editor-last" ], [ "editor2-first", "editor2-last" ] ] } } } </templatedata> |
Pogreška u citiranju: oznake <ref>
postoje za skupinu "n", ali nema pripadajuće oznake <references group="n"/>