Diferència entre revisions de la pàgina «Plantilla:Referències»

De Infancia
Dreceres ràpides: navegació, cerca
Línia 1: Línia 1:
<includeonly><span class="citation" style="font-style:normal" {{
+
<div class="reflist <!--
  #switch: {{{ref|¬}}}
+
-->{{#if: {{{col|}}}
  |none|cap=
+
    | {{#iferror: {{#ifexpr: {{{col|1}}} > 1 }}
  ||¬|IEC|Institut d'Estudis Catalans|harv=id="CITEREF{{anchorencode:{{{cognom|{{{darrer|{{{last}}}}}}}}}{{{cognom2|{{{last2|}}}}}}{{{cognom3|}}}{{{cognom4|}}}{{{any|{{{year|{{{data|}}}}}}}}}}}"
+
       | references-column-width
  |#default=id="{{anchorencode:{{{ref}}}}}"
+
       | references-column-count references-column-count-{{{col}}}
}}>{{
+
       }}" style="<!--
#if: {{#if: {{{url|}}} | {{#if: {{{títol|}}} |1}}}}
+
-->{{#if: {{{col|}}}
  ||Error en el '''''títol''''' o la '''''url'''''.
+
     | {{#iferror: {{#ifexpr: {{{col|1}}} > 1 }}
}}{{
+
      | {{column-width|{{{col}}}}}
#if: {{{arxiuurl|}}}{{{arxiudata|}}}
+
      | {{column-count|{{{col}}}}}
  | {{#if: {{#if: {{{arxiuurl|}}}| {{#if: {{{arxiudata|}}} |1}}}}
+
      }}
    ||Error en '''''arxiuurl''''' o '''''arxiudata'''''.
+
     }} list-style-type: <!--
}}
+
-->{{{liststyle|{{#switch: {{{grup|{{{group|}}}}}}
}}{{#if: {{{autor|}}}{{{cognom|}}}
+
                | upper-alpha
  | {{#if: {{{enllaçautor|{{{autorenllaç|}}}}}}
+
                | upper-roman
    | [[{{{enllaçautor|{{{autorenllaç}}}}}}|{{#if: {{{cognom|}}}
+
                | lower-alpha
       | <span style="font-variant: small-caps;">{{{cognom}}}</span>{{#if: {{{nom|}}} | , {{{nom}}} }}
+
                | lower-greek
       | {{{autor}}}
+
                | lower-roman = {{{grup|{{{group|}}}}}}
    }}]]
+
                | #default = decimal}}}}};">
    | {{#if: {{{cognom|}}}
+
{{#tag:references|{{{refs|}}}|responsive={{#if:{{{col|}}}|0|1}}|group={{{grup|{{{group|}}}}}}}}</div><noinclude>
      | <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}}
 
{{ús de la plantilla}}
 
</noinclude>
 
</noinclude>

Revisió del 16:05, 12 maig 2018

1 }}
     | references-column-width 
     | references-column-count references-column-count-{{{col}}}
     }}" style="{{#if: 
   | {{#iferror: {{#ifexpr: 1 > 1 }}
     | column-width: {{{col}}}; -moz-column-width: {{{col}}}; -webkit-column-width: {{{col}}};
     | column-count: {{{col}}}; -moz-column-count: {{{col}}}; -webkit-column-count: {{{col}}};
     }}
   }} list-style-type: {{#switch: 
                | upper-alpha
                | upper-roman
                | lower-alpha
                | lower-greek
                | lower-roman = 
                | #default = decimal}};">
<references responsive="{{#if:|0|1}}" group=""></references>

Plantilla:Detecta espai de noms{{#ifeq:Plantilla{{#titleparts:Referències|1|2}}|UsuariMediaWiki:Templatesandbox-suffix | Plantilla:Ús de la plantilla/espai de proves |Plantilla:Ús de la plantilla/caixa-previ {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:Plantilla:Ús de la plantilla/espai doc:Plantilla:Ús de la plantilla/plantilla/ús|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ Plantilla:Ús de la plantilla/espai doc:Plantilla:Ús de la plantilla/plantilla/ús }} | 0000 | 0100 | 0010 | 0101 = }}Plantilla:Ús de la plantilla/peu-previ }}