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

Contingut suprimit Contingut afegit
format et al entre claudators i sense punt i coma
netejo sinònims substituïts, en tot cas a discutir quins farien falta
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|{{{darrer|{{{last}}}}}}}}}{{{cognom2|{{{last2|}}}}}}{{{cognom3|}}}{{{cognom4|}}}{{{any|{{{year|{{{data|}}}}}}}}}}}"|#default=id="{{{ref}}}"}}
|{{#if:{{{cognom|{{{darrer|{{{last|}}}}}}}}} | {{#if:{{{any|{{{year|{{{data|}}}}}}}}} | id="Reference-{{{cognom|{{{darrer|{{{last}}}}}}}}}-{{{any|{{{year|{{{data|}}}}}}}}}" }} }}
}}>{{
#if: {{{autor|{{{Autor|{{{author|}}}}}}}}}{{{cognom|{{{darrer|{{{last|{{{last1|}}}}}}}}}}}}
| {{
#if: {{{enllaçautor|{{{authorlink|{{{author-link|}}}}}}}}}
| [[{{{enllaçautor|{{{authorlink|{{{author-link}}}}}}}}}|{{
#if: {{{cognom|{{{darrer|{{{last|{{{last1|}}}}}}}}}}}}
| <span style="font-variant: small-caps;">{{{cognom|{{{darrer|{{{last|{{{last1|}}}}}}}}}}}}</span>{{ #if: {{{nom|{{{primer|{{{first|{{{first1|}}}}}}}}}}}} | , {{{nom|{{{primer|{{{first|{{{first1|}}}}}}}}}}}} }}
| {{{autor|{{{Autor|{{{author}}}}}}}}}
}}]]
| {{
#if: {{{cognom|{{{darrer|{{{last|{{{last1|}}}}}}}}}}}}
| <span style="font-variant: small-caps;">{{{cognom|{{{darrer|{{{last|{{{last1|}}}}}}}}}}}}</span>{{ #if: {{{nom|{{{primer|{{{first|{{{first1|}}}}}}}}}}}} | , {{{nom|{{{primer|{{{first|{{{first1|}}}}}}}}}}}} }}
| {{{autor|{{{Autor|{{{author}}}}}}}}}
}}
}}
Línia 40:
}}
}}{{
#if: {{{autor|{{{Autor|{{{author|}}}}}}}}}{{{cognom|{{{darrer|{{{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}}}}}}}}}} }}
}}{{
Línia 53:
}}
}}
}}{{ #if: {{{autor|{{{Autor|{{{author|}}}}}}}}}{{{cognom|{{{darrer|{{{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|}}}}}}
Línia 61:
| {{{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: {{{format|}}} | &#32;({{{format}}})
Línia 74:
#if: {{{edició|{{{edition|}}}}}} | . {{{edició|{{{edition}}}}}}
}}{{
#if: {{{llengua|{{{idioma|{{{language|}}}}}}}}} | &#32;(en {{{llengua|{{{idioma|{{{language}}}}}}}}})
}}{{
#if: {{{editorial|{{{publisher|}}}}}}
Línia 93:
}}
}}{{
#if: {{{pàginapàgines|{{{pàginespàgina|{{{page|{{{pages|}}}}}}}}}}}} | ,&#32;{{{pàginapàgines|{{{pàginespàgina|{{{page|{{{pages}}}}}}}}}}}}
}}{{
#if: {{{col·lecció|{{{series|}}}}}} | &#32;({{{col·lecció|{{{series}}}}}})
Línia 101:
#if: {{{id|}}} | . {{{id}}}
}}{{
#if: {{{isbn|{{{ISBN|}}}}}} | . <span style="font-size:90%;">ISBN {{{isbn|{{{ISBN}}}}}}</span>
}}{{
#if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
}}{{
#if: {{{consulta|{{{dataaccés|{{{accessdate|}}}}}}}}}
| &#32;[Consulta: {{{consulta|{{{dataaccés|{{{accessdate}}}}}}}}}]
| {{
#if: {{{anyaccés|{{{accessyear|}}}}}}
Línia 124:
-->&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|}}}}}} <!--