Diferència entre revisions de la pàgina «Plantilla:Ref-web»

De Infancia
Dreceres ràpides: navegació, cerca
(Es crea la pàgina amb «<includeonly><span class="citation" style="font-style:normal" {{ #switch: {{{ref|¬}}} |none|cap= ||¬|IEC|Institut d'Estudis Catalans|harv=id="CITEREF{{anchoren...».)
 
(Contingut canviat per «<includeonly>{{#invoke:citation/CS1|citation |CitationClass=web }}</includeonly><noinclude> {{documentation}} </noinclude>».)
Línia 1: Línia 1:
<includeonly><span class="citation" style="font-style:normal" {{
+
<includeonly>{{#invoke:citation/CS1|citation
  #switch: {{{ref|¬}}}
+
|CitationClass=web
  |none|cap=
+
}}</includeonly><noinclude>
  ||¬|IEC|Institut d'Estudis Catalans|harv=id="CITEREF{{anchorencode:{{{cognom|{{{darrer|{{{last}}}}}}}}}{{{cognom2|{{{last2|}}}}}}{{{cognom3|}}}{{{cognom4|}}}{{{any|{{{year|{{{data|}}}}}}}}}}}"
+
{{documentation}}
  |#default=id="{{anchorencode:{{{ref}}}}}"
 
}}>{{
 
#if: {{#if: {{{url|}}} | {{#if: {{{títol|}}} |1}}}}
 
  ||Error en el '''''títol''''' o la '''''url'''''.
 
}}{{
 
#if: {{{arxiuurl|}}}{{{arxiudata|}}}
 
  | {{#if: {{#if: {{{arxiuurl|}}}| {{#if: {{{arxiudata|}}} |1}}}}
 
    ||Error en '''''arxiuurl''''' o '''''arxiudata'''''.
 
}}
 
}}{{#if: {{{autor|}}}{{{cognom|}}}
 
  | {{#if: {{{enllaçautor|{{{autorenllaç|}}}}}}
 
    | [[{{{enllaçautor|{{{autorenllaç}}}}}}|{{#if: {{{cognom|}}}
 
      | <span style="font-variant: small-caps;">{{{cognom}}}</span>{{#if: {{{nom|}}} | , {{{nom}}} }}
 
      | {{{autor}}}
 
    }}]]
 
    | {{#if: {{{cognom|}}}
 
      | <span style="font-variant: small-caps;">{{{cognom}}}</span>{{#if: {{{nom|}}} | , {{{nom}}} }}
 
      | {{{autor}}}
 
    }}
 
  }}
 
}}{{
 
  #if: {{{cognom2|}}}
 
  | &#59; {{
 
    #if: {{{enllaçautor2|}}}
 
    | [[{{{enllaçautor2}}}|<span style="font-variant: small-caps;">{{{cognom2|}}}</span>{{ #if: {{{nom2|}}} | , {{{nom2|}}} }}]]
 
    | <span style="font-variant: small-caps;">{{{cognom2|}}}</span>{{ #if: {{{nom2|}}} | , {{{nom2}}} }}
 
  }}
 
}}{{
 
  #if: {{{autor2|}}}
 
  | &#59; {{
 
    #if: {{{enllaçautor2|}}}
 
    | [[{{{enllaçautor2}}}|{{{autor2|}}}]]
 
    | {{{autor2|}}}
 
  }}
 
}}{{
 
  #if: {{{cognom3|}}}
 
  | &#59; {{
 
    #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|}}}
 
  | &#59; {{
 
    #if: {{{enllaçautor3|}}}
 
    | [[{{{enllaçautor3}}}|{{{autor3|}}}]]
 
    | {{{autor3|}}}
 
  }}
 
}}{{
 
  #if: {{{cognom4|}}}
 
  | &#59; {{
 
    #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|}}}
 
  | &#59; {{
 
    #if: {{{enllaçautor4|}}}
 
    | [[{{{enllaçautor4}}}|{{{autor4|}}}]]
 
    | {{{autor4|}}}
 
  }}
 
}}{{
 
  #if: {{{cognom5|}}}
 
  | &#59; {{
 
    #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|}}}
 
  | &#59; {{
 
    #if: {{{enllaçautor5|}}}
 
    | [[{{{enllaçautor5}}}|{{{autor5|}}}]]
 
    | {{{autor5|}}}
 
  }}
 
}}{{#if: {{{autor|}}}{{{cognom|}}}
 
  | {{#if: {{{coautors|}}}| <nowiki>;</nowiki>&#32;{{{coautors}}} }}
 
}}{{#if: {{{cognom|}}}{{{autor|}}}
 
  | {{#ifeq:{{#invoke:String|sub| s=x{{{nom|{{{autor|}}}}}}{{{nom2|{{{autor2|}}}}}}{{{nom3|{{{autor3|}}}}}}{{{nom4|{{{autor4|}}}}}}{{{nom5|{{{autor5|}}}}}}{{{coautors|}}} | i=-1}}|.||.}}&#32;}}«{{#if: {{{arxiuurl|}}}
 
  | {{#if: {{{arxiuurl|}}} | {{#if: {{{títol|}}} | [{{{arxiuurl}}} {{{títol}}}] }}}}
 
  | {{#if: {{{url|}}} | {{#if: {{{títol|}}} | [{{{url}}} {{{títol}}}] }}}}
 
}}»{{#if: {{{format|}}} | &#32;({{{format}}})
 
}}{{#if:{{{llengua|{{{idioma|}}}}}}
 
  | &#32;(en {{lc:{{{llengua|{{{idioma}}}}}}}})
 
}}{{#if: {{{obra|}}}
 
  | .&#32;''{{{obra}}}''
 
}}{{#if: {{{pàgines|{{{pàgina|}}}}}}
 
  | &#32;{{#ifeq:{{padleft:|1|{{{pàgines|{{{pàgina}}}}}}}}|p||p.&nbsp;}}{{{pàgines|{{{pàgina|}}}}}}
 
}}{{#if: {{{editor|}}}
 
  | .&#32; {{#if: {{{lloc|}}}
 
    | {{{lloc}}}:&#32;
 
  }} {{{editor}}}
 
}}{{#if: {{{data|}}}
 
    | ,&#32;{{#invoke:data|data_format|{{{data|}}}|d-m-Y}}
 
    | {{#if: {{{any|}}}
 
      | {{#if: {{{mes|}}}
 
        | ,&#32;{{{mes}}} {{{any}}}
 
        | ,&#32;{{{any}}}
 
    }}
 
  }}
 
}}.{{#if: {{{arxiudata|}}}
 
  | &#32;Arxivat de l'[{{{url}}} original] el {{{arxiudata}}}.
 
}}{{#if: {{{doi|}}}
 
  | &#32;[[DOI]]:&#32;[http://dx.doi.org/{{{doi|{{{doietiqueta|}}}}}} {{{doi}}}].
 
}}{{#if: {{{consulta|}}}
 
  | &#32;[Consulta: {{data consulta|{{{consulta}}}}}].
 
}}{{#if: {{{citació|}}}
 
  | &nbsp;«{{{citació}}}»
 
}}</span></includeonly><noinclude>
 
{{ús de la plantilla}}
 
 
</noinclude>
 
</noinclude>

Revisió del 17:11, 12 maig 2018

Plantilla:Documentation