Plantilla:Ref-web: diferència entre les revisions
[canvi no comprovat] | [canvi no comprovat] |
Contingut suprimit Contingut afegit
m Vriullop ha desplaçat la pàgina Plantilla:Citar web a Plantilla:Ref-web: unificació de la família de plantilles |
prova per veure si funciona l'àncora (codi copiat de Plantilla:Ref-llibre) |
||
Línia 1:
<includeonly><span class="citation" style="font-style:normal" {{
#
|none|cap=
|
|#default=id="{{anchorencode:{{{ref}}}}}"
}}>{{
| {{
}}{{▼
| <span style="font-variant: small-caps;">{{{cognom|}}}</span>{{ #if: {{{nom|}}} | , {{{nom|}}} }}▼
}}▼
}}{{#if: {{{autor|}}}{{{cognom|}}}▼
▲ | {{#if: {{{enllaçautor|{{{autorenllaç|}}}}}}
▲ | <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}}}
}}
Linha 26 ⟶ 23:
| <nowiki>;</nowiki> {{
#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}}} }}
}}
}}{{
Linha 35 ⟶ 32:
| [[{{{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: {{{autor|}}}{{{cognom|}}}▼
▲}}{{
| {{#if: {{{coautors|}}}| <nowiki>;</nowiki> {{{coautors}}} }}▼
|
| {{#if: {{{arxiuurl|}}} | {{#if: {{{títol|}}} | [{{{arxiuurl}}} {{{títol}}}] }}}}▼
| [[{{
| <span style="font-variant: small-caps;">{{{cognom4}}}
}}
}}{{#if:{{{llengua|{{{idioma|}}}}}} ▼
}}{{
| {{ #if: {{{coautors|}}} |{{#switch:{{anchorencode:{{formatnum:{{{coautors|}}}|R}}}}|et_al|et_alii|et_alia|et_aliae|.26_al|.26al|i_m.C3.A9s|i_altres= [''et al'']|#default={{#ifeq:{{{coautors}}}|{{formatnum:{{{coautors}}}|R}}.|<nowiki>;</nowiki> {{formatnum:{{{coautors}}}|R}}|<nowiki>;</nowiki> {{{coautors}}}}}}} }}
| . ''{{{obra}}}''▼
}}{{
▲}}{{#if: {{{pàgines|}}}
}}{{#if: {{{editor|}}}▼
|
#if: {{{anyarxiu|}}}
| {{
#if: {{{mesarxiu|}}}
|  <nowiki>[</nowiki>{{{mesarxiu}}} {{{anyarxiu}}}]
|  <nowiki>[</nowiki>{{{anyarxiu}}}]
}}
}}
}}{{ #if: {{{autor|}}}{{{cognom|}}} | {{#if:{{{dataarxiu|}}}{{{anyarxiu|}}}{{{coautors|}}}|.|{{#if:{{{cognom4|}}}|{{#ifeq:{{{nom4|}}}|{{formatnum:{{{nom4|}}}|R}}.||.}}|{{#if:{{{cognom3|}}}|{{#ifeq:{{{nom3|}}}|{{formatnum:{{{nom3|}}}|R}}.||.}}|{{#if:{{{cognom2|}}}|{{#ifeq:{{{nom2|}}}|{{formatnum:{{{nom2|}}}|R}}.||.}}|{{#ifeq:{{{nom}}}|{{formatnum:{{{nom|}}}|R}}.| |.}}}}}}}}}}
}}{{
#if: {{{capítol|}}}
|  «{{
#if: {{{urlcapítol|}}}
| [{{{urlcapítol}}} {{{capítol}}}]
| {{{capítol}}}
}}». A:}}{{
|  {{{editor|}}}{{#ifeq:{{{editor|}}}|{{formatnum:{{{editor|}}}|R}}.||.}}
}} {{
▲
}}{{
#if: {{{format|}}} |  ({{{format}}})
}}{{
}}{{
}}{{
#if: {{{edició|}}} | . {{{edició}}}
}}{{
}}{{
| {{{lloc}}}: 
}}
}}{{
#if: {{{data|}}} #if: {{{any|}}} #if: {{{mes|}}} }}
}}
}}{{
▲}}.{{#if: {{{arxiudata|}}}
#if: {{{pàgines|{{{pàgina|}}}}}} | , {{#ifeq:{{padleft:|1|{{{pàgines|{{{pàgina}}}}}}}}|p||p. }}{{{pàgines|{{{pàgina|}}}}}}
}}{{
▲}}{{#if: {{{doi|}}}
#if: {{{col·lecció|}}} |  ({{{col·lecció}}})
|  [[DOI]]: [http://dx.doi.org/{{{doi|{{{doietiqueta|}}}}}} {{{doi}}}].▼
}}{{
▲}}{{#if: {{{consulta|}}}
▲ #if: {{{doi|}}}
|  [Consulta: {{{consulta}}}].▼
}}{{
▲}}{{#if: {{{citació|}}}
#if: {{{id|}}} | .
}}{{
#if: {{{isbn|}}} | . <span style="font-size:90%; white-space:nowrap;">ISBN {{{isbn|}}}</span>
}}{{
#if: {{{oclc|}}} | . <span style="font-size:90%;">[[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]</span>
}}{{
#if: {{{lccn|}}} | . <span style="font-size:90%;">[[Nombre de Control de la Biblioteca del Congrés|LCCN]] [http://lccn.loc.gov/{{{lccn|}}} {{#tag:nowiki|{{{lccn|}}}}}]</span>
}}{{
#if: {{{consulta|}}}
|  [Consulta: {{#iferror:{{#timel:j F Y|{{{consulta}}}}}|{{{consulta}}}|{{#timel:j F Y|{{{consulta}}}}}}}]
| {{
#if: {{{anyaccés|}}}
#if: {{{mesaccés|}}}
| {{{mesaccés}}} {{{anyaccés}}}
| {{{anyaccés}}}
}}]
}}
}}.{{ #if: {{{citació|{{{cita|}}}}}} |  «{{{citació|{{{cita}}}}}}»
}}</span></includeonly><noinclude>
|