Plantilla:Ref-llibre: diferència entre les revisions

Contingut suprimit Contingut afegit
Cap resum de modificació
actualització
 
Línia 2:
#switch: {{{ref|¬}}}
|none|cap=
||¬|IEC|Institut d'Estudis Catalans|harv=id="CITEREF{{anchorencode:{{{cognom|{{{darrer|{{{last}}}}}}}}}{{{cognom2|{{{last2|}}}}}}{{{cognom3|}}}{{{cognom4|}}}{{{any|{{{year|{{{data|}}}}}}}}}}}"
|#default=id="{{anchorencode:{{{ref}}}}}"
}}>{{
#if: {{{autor|}}}{{{Autor|{{{authorautor1|}}}}}}}}}{{{cognom|}}}{{{darrercognom1|{{{last|{{{last1|}}}}}}}}}}}}
| {{
#if: {{{enllaçautor|}}}{{{authorlinkenllaçautor1|{{{author-link|}}}}}}}}}
| [[{{{enllaçautor|{{{authorlinkenllaçautor1|{{{author-link}}}}}}}}}|{{
#if: {{{cognom|{{{darrercognom1|{{{last|{{{last1|}}}}}}}}}}}}
| <span style="font-variant: small-caps;">{{{cognom|{{{darrer|{{{last|{{{last1cognom1|}}}}}}}}}}}}</span>{{ #if: {{{nom|{{{primer|{{{first|{{{first1nom1|}}}}}}}}}}}} | , {{{nom|{{{primernom1|{{{first|{{{first1|}}}}}}}}}}}} }}
| {{{autor|{{{Autorautor1|{{{author}}}}}}}}}
}}]]
| {{
#if: {{{cognom|}}}{{{darrercognom1|{{{last|{{{last1|}}}}}}}}}}}}
| <span style="font-variant: small-caps;">{{{cognom|{{{darrer|{{{last|{{{last1cognom1|}}}}}}}}}}}}</span>{{ #if: {{{nom|{{{primer|{{{first|{{{first1nom1|}}}}}}}}}}}} | , {{{nom|{{{primernom1|{{{first|{{{first1|}}}}}}}}}}}} }}
| {{{autor|{{{Autorautor1|{{{author}}}}}}}}}
}}
}}
}}{{
#if: {{{cognom2|{{{last2|}}}}}}
| <nowiki>;</nowiki>&#32;{{
#if: {{{enllaçautor2|}}}
| [[{{{enllaçautor2}}}|<span style="font-variant: small-caps;">{{{cognom2|{{{last2}}}}}}</span>{{ #if: {{{nom2|{{{first2|}}}}}} | , {{{nom2|{{{first2}}}}}} }}]]
| <span style="font-variant: small-caps;">{{{cognom2|{{{last2}}}}}}</span>{{ #if: {{{nom2|{{{first2|}}}}}} | , {{{nom2|{{{first2}}}}}} }}
}}
}}{{
#if: {{{idautor2|}}} | . {{{id}}}
| <nowiki>;</nowiki>&#32;{{
#if: {{{enllaçautor2|}}}
| [[{{{enllaçautor2}}}|{{{autor2|}}}]]
| {{{autor2|}}}
}}
}}{{
Linha 30 ⟶ 37:
| <nowiki>;</nowiki>&#32;{{
#if: {{{enllaçautor3|}}}
| [[{{{enllaçautor3}}}|<span style="font-variant: small-caps;">{{{cognom3}}}</span>{{ #if: {{{nom3|}}} | , {{{nom3}}} }}]]
| <span style="font-variant: small-caps;">{{{cognom3}}}</span>{{ #if: {{{nom3|}}} | , {{{nom3}}} }}
}}
}}{{
#if: {{{autor3|}}}
| <nowiki>;</nowiki>&#32;{{
#if: {{{enllaçautor3|}}}
| [[{{{enllaçautor3}}}|{{{autor3|}}}]]
| {{{autor3|}}}
}}
}}{{
Linha 37 ⟶ 51:
| <nowiki>;</nowiki>&#32;{{
#if: {{{enllaçautor4|}}}
| [[{{{enllaçautor4}}}|<span style="font-variant: small-caps;">{{{cognom4}}}</span>{{ #if: {{{nom4|}}} | , {{{nom4}}} }}]]
| <span style="font-variant: small-caps;">{{{cognom4}}}</span>{{ #if: {{{nom4|}}} | , {{{nom4}}} }}
}}
}}{{
#if: {{{autor4|}}}
#if: {{{autor|{{{Autor|{{{author|}}}}}}}}}{{{cognom|{{{darrer|{{{last|{{{last1|}}}}}}}}}}}}
| <nowiki>;</nowiki>&#32;{{
| {{ #if: {{{coautors|{{{coauthors|}}}}}} |{{#switch:{{anchorencode:{{formatnum:{{{coautors|{{{coauthors|}}}}}}|R}}}}|et_al|et_alii|et_alia|et_aliae|.26_al|.26al|i_m.C3.A9s|i_altres=&#32;[''et al'']|#default={{#ifeq:{{{coautors|{{{coauthors}}}}}}|{{formatnum:{{{coautors|{{{coauthors}}}}}}|R}}.|<nowiki>;</nowiki>&#32;{{formatnum:{{{coautors|{{{coauthors}}}}}}|R}}|<nowiki>;</nowiki>&#32;{{{coautors|{{{coauthors}}}}}}}}}} }}
#if: {{{enllaçautor4|}}}
| [[{{{enllaçautor4}}}|{{{autor4|}}}]]
| {{{autor4|}}}
}}
}}{{
#if: {{{cognom5|}}}
| <nowiki>;</nowiki>&#32;{{
#if: {{{enllaçautor5|}}}
| [[{{{enllaçautor5}}}|<span style="font-variant: small-caps;">{{{cognom5}}}</span>{{ #if: {{{nom5|}}} |, {{{nom5}}} }}]]
| <span style="font-variant: small-caps;">{{{cognom5}}}</span>{{ #if: {{{nom5|}}} |, {{{nom5}}} }}
}}
}}{{
#if: {{{autor5|}}}
| <nowiki>;</nowiki>&#32;{{
#if: {{{enllaçautor5|}}}
| [[{{{enllaçautor5}}}|{{{autor5|}}}]]
| {{{autor5|}}}
}}
}}{{
#if: {{{llocautor|}}}{{{locationcognom|}}}}}}
| {{ #if: {{{coautors|{{{coauthors|}}}}}} |{{#switch:{{anchorencode:{{formatnum:{{{coautors|{{{coauthors|}}}}}}|R}}}}|et_al|et al|''et al''|et al.|''et al.''|et_alii|et_alia|et_aliae|.26_al|.26al|i_m.C3.A9s|i_altres=&#32;[''et al'']|#default={{#ifeq:{{{coautors|{{{coauthors}}}}}}|{{formatnum:{{{coautors|{{{coauthors}}}}}}|R}}.|<nowiki>;</nowiki>&#32;{{formatnum:{{{coautors|{{{coauthors}}}}}}|R}}|<nowiki>;</nowiki>&#32;{{{coautors|{{{coauthors}}}}}}}}}} }}
}}{{
#if: {{{dataarxiu|{{{origdate|}}}}}}
| &#32;<nowiki>[</nowiki>{{{dataarxiu|{{{origdate}}}}}}]
| {{
#if: {{{anyarxiu|{{{origyear|}}}}}}
| {{
#if: {{{mesarxiu|{{{origmonth|}}}}}}
| &#32;<nowiki>[</nowiki>{{{mesarxiu|{{{origmonth}}}}}} {{{anyarxiu|{{{origyear}}}}}}]
| &#32;<nowiki>[</nowiki>{{{anyarxiu|{{{origyear}}}}}}]
}}
}}
}}{{ #if: {{{autor|{{{Autor|{{{author|}}}}}}}}}{{{cognom|}}}{{{darrercognom1|{{{last|{{{last1|}}}}}}}}}}}} | {{#if:{{{dataarxiu|{{{origdate|}}}}}}{{{anyarxiu|{{{origyear|}}}}}}{{{coautors|{{{coauthors|}}}}}}|.|{{#if:{{{cognom4|}}}|{{#ifeq:{{{nom4|}}}|{{formatnum:{{{nom4|}}}|R}}.||.}}|{{#if:{{{cognom3|}}}|{{#ifeq:{{{nom3|}}}|{{formatnum:{{{nom3|}}}|R}}.||.}}|{{#if:{{{cognom2|{{{last2|}}}}}}|{{#ifeq:{{{nom2|{{{first2|}}}}}}|{{formatnum:{{{nom2|{{{first2|}}}}}}|R}}.||.}}|{{#ifeq:{{{nom|{{{primer|{{{first}}}}}}}}}|{{formatnum:{{{nom|{{{primer|{{{first}}}}}}}}}|R}}.| |.}}}}}}}}}}
}}{{
#if: {{{capítol|{{{chapter|}}}}}}
| &#32;«{{
#if: {{{urlcapítol|{{{chapterurl|}}}}}}
| [{{{urlcapítol|{{{chapterurl}}}}}} {{{capítol|{{{chapter}}}}}}]
| {{{capítol|{{{chapter}}}}}}
}}». A:}}{{
#if: {{{editor|{{{Editor|}}}}}}
| &#32;{{{editor|{{{Editor}}}}}}{{#ifeq:{{{editor|{{{Editor}}}}}}|{{formatnum:{{{editor|{{{Editor}}}}}}|R}}.||.}}
}} {{
#if: {{{url|}}} | [{{{url}}} <i>{{{títol|{{{Títol|{{{title|}}}}}}}}}</i>] | <i>{{{títol|{{{Títol|{{{title}}}}}}}}}</i>
}}{{
#if: {{{títoltraduït|}}} | &#32;[<i>{{{títoltraduït}}}</i>]
}}{{
#if: {{{format|}}} | &#32;({{{format}}})
}}{{
#if: {{{altresllengua|{{{othersidioma|}}}}}} | .&#32;(en {{lcfirst:{altres{{llengua|{{{othersidioma}}}}}}}})
}}{{
#if: {{{volum|{{{volumetraductor|}}}}}} | . Traducció: {{{volum|{{{volume|}}}traductor}}}
}}{{
#if: {{{edició|{{{editionaltres|}}}}}} | . {{{edició|{{{edition}}}altres}}}
}}{{
#if: {{{llengua|{{{idioma|{{{languagevolum|}}}}}}}}} | &#32;(en. {{{llengua|{{{idioma|{{{language}}}}}}volum}}})
}}{{
#if: {{{editorial|{{{publisheredició|}}} |. {{{edició}}}
| .&#32; {{
#if: {{{lloc|{{{location|}}}}}}
| {{{lloc|{{{location}}}}}}:&#32;
}}{{{editorial|{{{publisher}}}}}}
}}{{
#if: {{{dataeditorial|{{{date|}}}}}}
| .&#32; {{
|,&#32;{{#ifeq:{{#invoke:string|find|source={{{data|{{{date|}}}}}}|target=01-01}}|6|<!--correcció de l'any retornat per Zotero amb format 2016-01-01 > 2016
#if: {{{lloc|}}}
-->{{padleft:|4|{{{data|{{{date|}}}}}}}}|{{{data|{{{date|}}}}}}}}
| {{{lloc|{{{location}}}}}}:&#32;
}}{{{editorial|{{{publisher}}}}}}
}}{{
#if: {{{data|}}}
|,&#32;{{#ifeq:{{#invoke:string|find|source={{{data|{{{date|}}}}}}|target=01-01}}|6|<!--correcció de l'any retornat per Zotero amb format 2016-01-01 > 2016
-->{{padleft:|4|{{{data|{{{date|}}}}}}}}|{{{data|{{{date|}}}}}}}}
| {{
#if: {{{any|{{{year|}}}}}}
| {{
#if: {{{mes|{{{month|}}}}}}
| ,&#32;{{{mes|{{{month}}}}}} {{{any|{{{year}}}}}}
| ,&#32;{{{any|{{{year}}}}}}
}}
}}
}}{{
#if: {{{pàgina|{{{pàgines|{{{page|{{{pagesprimera_edició|}}}}}}}}}}}} |, &#32nbsp;[1a. ped. {{{pàgina|{{{pàgines|{{{page|{{{pages}}}}}}}}}primera_edició}}}]
}}{{
#if: {{{pàgines|{{{pàgina|}}}}}} |,&#32;{{#ifeq:{{padleft:|1|{{{pàgines|{{{pàgina}}}}}}}}|p||p.&nbsp;}}{{{pàgines|{{{pàgina|}}}}}}
}}{{
#if: {{{col·lecció|}}} | &#32;({{{col·lecció}}})
}}{{
#if: {{{doi|}}} |. <span style="font-size:90%;">[[DOI]]&nbsp;[http://dx.doi.org/{{{doi}}} {{{doi}}}]</span>
}}{{
#if: {{{col·lecció|{{{seriesid|}}}}}} |. &#32;({{{col·lecció|{{{series}}}id}}})
}}{{
#if: {{{doiisbn|{{{ISBN|}}}}}} | . <span style="font-size:90%; white-space:nowrap;">[[DOI]]Special:[http://dx.doi.orgBookSources/{{{doiisbn|{{{ISBN|}}}}}}|ISBN {{{doiisbn|{{{ISBN|}}}}}}]]</span>
}}{{
#if: {{{oclc|}}} |. <span style="font-size:90%;">[[OCLC]]&nbsp;[http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]</span>
#if: {{{id|}}} | . {{{id}}}
}}{{
#if: {{{isbn|{{{ISBNlccn|}}}}}} |. <span style="font-size:90%; white-space:nowrap;">[[SpecialNombre de Control de la Biblioteca del Congrés|LCCN]]&nbsp;[http:BookSources//lccn.loc.gov/{{{isbn|{{{ISBNlccn|}}}}}}|ISBN {{{isbn#tag:nowiki|{{{ISBNlccn|}}}}}}]]</span>
}}{{
#if: {{{oclcbnf|}}} | . <span style="font-size:90%;">[[OCLCBiblioteca Nacional de França|BNF]] &nbsp;[http://worldcatwww.orgbnf.fr/oclcfr/acc/x.accueil.html/{{urlencode:{{{oclc}}bnf|}}} {{#tag:nowiki|{oclc{{bnf|}}}}}]</span>
}}{{
#if: {{{consulta|{{{dataaccés|{{{accessdate|}}}}}}}}}
| &#32;[Consulta: {{{data consulta|{{{dataaccés|{{{accessdate}}}}consulta}}}}}]
| {{
#if: {{{anyaccés|{{{accessyear|}}}}}}
| &#32;[Consulta: {{
#if: {{{mesaccés|{{{accessmonth|}}}}}}
| {{{mesaccés|{{{accessmonth}}}}}} {{{anyaccés|{{{accessyear}}}}}}
| {{{anyaccés|{{{accessyear}}}}}}
}}]
}}
}}.{{ #if: {{{citació|{{{cita|{{{quote|}}}}}}}}} | &#32;«{{{citació|{{{cita|{{{quote}}}}}}}}}»
}}</span><!--
 
Linha 124 ⟶ 169:
-->&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}<!-- Field descriptions: http://www.openurl.info/registry/docs/mtx/info:ofi/fmt:kev:mtx:book
-->&rft.genre=book<!-- book: a publication that is complete in one part or a designated finite number of parts, often identified with an ISBN. (genre could also be bookitem, conference, proceeding, report, document, or unknown)
-->&rft.btitle={{urlencode:{{{title|{{{títol|}}}}}}}}<!-- The title of the book. This can also be expressed as title, for compatibility with version 0.1. "moby dick or the white whale"
-->{{#if: {{{chapter|{{{capítol|}}}}}} | &rft.atitle={{urlencode:{{{chapter|{{{capítol}}}}}}}} }}<!-- Chapter title. Chapter title is included if it is a distinct title, e.g. "The Push Westward."
-->{{#if: {{{last|{{{darrer|{{{cognom|}}}}}}}}} | &rft.aulast={{urlencode:{{{last|{{{darrer|{{{cognom}}}}}}}}}}} }}<!-- First author's family name. This may be more than one word ... e.g. Smith, Fred James is recorded as "aulast=smith"
-->{{#if: {{{first|{{{primer|{{{nom|}}}}}}}}} | &rft.aufirst={{urlencode:{{{first|{{{primer|{{{nom}}}}}}}}}}} }}<!-- First author's given name or names or initials. This data element may contain multiple words and punctuation, e.g. "Fred F", "Fred James"
-->{{#if: {{{author|{{{autor|}}}}}} | &rft.au={{urlencode:{{{author|{{{autor}}}}}}}} }}<!-- This data element contains the full name of a single author, e.g. "Smith, Fred M", "Harry S. Truman".
-->{{#if: {{{date|{{{data|}}}}}} <!--
--> | &rft.date={{urlencode:{{{date|{{{data}}}}}}}} <!-- Date of publication. ISO 8601 is allowed and preferred by us, although
--> | {{#if: {{{year|{{{any|}}}}}} | &rft.date={{urlencode:{{{year|{{{any}}}}}}}} }} }}<!-- "Book dates are assumed to be a single year."
-->{{#if: {{{edition|{{{edició|}}}}}} | &rft.edition={{urlencode:{{{edition|{{{edició}}}}}}}} }}<!-- Statement of the edition of the book. This will usually be a phrase, with or without numbers, but may be a single number, e.g. "First edition", "4th ed."
-->{{#if: {{{publisher|{{{editorial|}}}}}} | &rft.pub={{urlencode:{{{publisher|{{{editorial}}}}}}}} }}<!-- Publisher name. "Harper and Row"
-->{{#if: {{{location|{{{lloc|}}}}}} | &rft.place={{urlencode:{{{location|{{{lloc}}}}}}}} }}<!-- Place of publication. "New York"
-->{{#if: {{{pages|{{{pagepàgina|{{{pàgines|}}}}}}}}} | &rft.pages={{urlencode:{{{pages|{{{pagepàgina|{{{pàgines}}}}}}}}}}} }}<!-- Start and end pages for parts of a book, e.g. "124-147" ... This data element includes the OpenURL 0.1 definition of "pages".
-->{{#if: {{{seriescol·lecció|}}} | &rft.series={{urlencode:{{{seriescol·lecció}}}}} }}<!-- The title of a series in which the book or document was issued. There may also be an ISSN associated with the series.
-->{{#if: {{{isbn|{{{ISBN|}}}}}} | &rft.isbn={{{isbn|{{{ISBN}}}}}} }}<!-- International Standard Book Number (ISBN) ... i.e. "057117678X" but it may contain hyphens, e.g. "1-878067-73-7"
-->{{#if: {{{oclc|}}} | &rft_id=info:oclcnum/{{{oclc}}} }}<!--
-->{{#if: {{{doi|}}} | &rft_id=info:doi/{{urlencode:{{{doi}}}}} }}<!--
-->{{#if: {{{url|}}} | &rft_id={{urlencode:{{{url}}}}} }}<!--
-->"><span style="display: none;">&nbsp;</span></span></includeonly><noinclude>
{{ús de la plantilla}}
</noinclude>