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

Contingut suprimit Contingut afegit
netejo sinònims substituïts, en tot cas a discutir quins farien falta
netejo paràmetres ara convertits per cite book
Línia 1:
<includeonly><cite class="citation book" style="font-style:normal" {{
#if: {{{ref|}}}
|{{#switch:{{{ref}}}|none|cap=|IEC|Institut d'Estudis Catalans|harv=id="CITEREF{{anchorencode:{{{cognom|{{{last}}}}}}{{{cognom2|{{{last2|}}}}}}{{{cognom3|}}}{{{cognom4|}}}{{{any|{{{year|{{{data|}}}}}}}}}}}"|#default=id="{{{ref}}}"}}
|{{#if:{{{cognom|{{{last|}}}}}} | {{#if:{{{any|{{{year|{{{data|}}}}}}}}} | id="Reference-{{{cognom|{{{last}}}}}}-{{{any|{{{year|{{{data|}}}}}}}}}" }} }}
}}>{{
#if: {{{autor|{{{author|}}}}}}{{{cognom|{{{last|{{{last1|}}}}}}}}}
| {{
#if: {{{enllaçautor|{{{authorlink|{{{author-link|}}}}}}}}}
| [[{{{enllaçautor|{{{authorlink|{{{author-link}}}}}}}}}|{{
#if: {{{cognom|{{{last|{{{last1|}}}}}}}}}
| <span style="font-variant: small-caps;">{{{cognom|{{{last|{{{last1|}}}}}}}}}</span>{{ #if: {{{nom|{{{first|{{{first1|}}}}}}}}} | , {{{nom|{{{first|{{{first1|}}}}}}}}} }}
| {{{autor|{{{author}}}}}}
}}]]
| {{
#if: {{{cognom|{{{last|{{{last1|}}}}}}}}}
| <span style="font-variant: small-caps;">{{{cognom|{{{last|{{{last1|}}}}}}}}}</span>{{ #if: {{{nom|{{{first|{{{first1|}}}}}}}}} | , {{{nom|{{{first|{{{first1|}}}}}}}}} }}
| {{{autor|{{{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}}}}}} }}
}}
}}{{
Línia 40:
}}
}}{{
#if: {{{autor|{{{author|}}}}}}{{{cognom|{{{last|{{{last1|}}}}}}}}}
| {{ #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: {{{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|{{{author|}}}}}}{{{cognom|{{{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|{{{first}}}}}}|{{formatnum:{{{nom|{{{first}}}}}}|R}}.| |.}}}}}}}}}}
}}{{
#if: {{{capítol|{{{chapter|}}}}}}
| &#32;«{{
#if: {{{urlcapítol|{{{chapterurl|}}}}}}
| [{{{urlcapítol|{{{chapterurl}}}}}} {{{capítol|{{{chapter}}}}}}]
| {{{capítol|{{{chapter}}}}}}
}}». A:}}{{
#if: {{{editor|}}}
| &#32;{{{editor|}}}{{#ifeq:{{{editor|}}}|{{formatnum:{{{editor|}}}|R}}.||.}}
}} {{
#if: {{{url|}}} | [{{{url}}} <i>{{{títol|{{{title|}}}}}}</i>] | <i>{{{títol|{{{title}}}}}}</i>
}}{{
#if: {{{format|}}} | &#32;({{{format}}})
}}{{
#if: {{{altres|{{{others|}}}}}} | . {{{altres|{{{others}}}}}}
}}{{
#if: {{{volum|{{{volume|}}}}}} | . {{{volum|{{{volume|}}}}}}
}}{{
#if: {{{edició|{{{edition|}}}}}} | . {{{edició|{{{edition}}}}}}
}}{{
#if: {{{llengua|{{{language|}}}}}} | &#32;(en {{{llengua|{{{language}}}}}})
}}{{
#if: {{{editorial|{{{publisher|}}}}}}
| .&#32; {{
#if: {{{lloc|{{{location|}}}}}}
| {{{lloc|{{{location}}}}}}:&#32;
}}{{{editorial|{{{publisher}}}}}}
}}{{
#if: {{{data|{{{date|}}}}}}
| ,&#32;{{{data|{{{date}}}}}}
| {{
#if: {{{any|{{{year|}}}}}}
| {{
#if: {{{mes|{{{month|}}}}}}
| ,&#32;{{{mes|{{{month}}}}}} {{{any|{{{year}}}}}}
| ,&#32;{{{any|{{{year}}}}}}
}}
}}
}}{{
#if: {{{pàgines|{{{pàgina|{{{page|{{{pages|}}}}}}}}}}}} | ,&#32;{{{pàgines|{{{pàgina|{{{page|{{{pages}}}}}}}}}}}}
}}{{
#if: {{{col·lecció|{{{series|}}}}}} | &#32;({{{col·lecció|{{{series}}}}}})
}}{{
#if: {{{doi|}}} | . [[DOI]]: [http://dx.doi.org/{{{doi}}} {{{doi}}}]
}}{{
#if: {{{id|}}} | . {{{id}}}
Línia 105:
#if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
}}{{
#if: {{{consulta|{{{accessdate|}}}}}}
| &#32;[Consulta: {{{consulta|{{{accessdate}}}}}}]
| {{
#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}}}}}}}}}»
}}</cite><!--
 
Línia 122:
-->&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|{{{cognom|}}}}}} | &rft.aulast={{urlencode:{{{last|{{{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|{{{nom|}}}}}} | &rft.aufirst={{urlencode:{{{first|{{{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|}}} | &rft.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}}} }}<!--