Diferencia entre revisiones de «Plantilla:Cite web»

Sufrera (discusión | contribs.)
Sin resumen de edición
Sufrera (discusión | contribs.)
Sin resumen de edición
Línea 3: Línea 3:
   |then= ({{{PublishYear|{{{publishyear|}}}}}})
   |then= ({{{PublishYear|{{{publishyear|}}}}}})
}}{{qif
}}{{qif
  |test={{boolor
    |1={{{Author|{{{author|}}}}}}
    |2={{{PublishYear|{{{publishyear|}}}}}}}}
  |then=.}}{{qif
   |test={{booland
   |test={{booland
     |1={{{URL|{{{url|}}}}}}
     |1={{{URL|{{{url|}}}}}}
Línea 12: Línea 8:
   |then= [{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}].
   |then= [{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}].
}}{{qif
}}{{qif
   |test={{{format|{{{Format|}}}}}}
   |test={{{Work|{{{work|}}}}}}
   |then= ({{{Format|{{{format}}}}}})
   |then= ''{{{Work|{{{work}}}}}}''.
}}{{qif
}}{{qif
  |test={{{Work|{{{work|}}}}}}
  |then= ''{{{Work|{{{work}}}}}}''.}}{{qif
   |test={{{Publisher|{{{publisher|}}}}}}
   |test={{{Publisher|{{{publisher|}}}}}}
   |then= {{{Publisher|{{{publisher}}}}}}.
   |then= {{{Publisher|{{{publisher}}}}}}.
}}{{qif
}}{{qif
   |test={{{Date|{{{date|}}}}}}   
   |test={{{Date|{{{date|}}}}}}   
   |then= Página visitada el {{{Date|{{{date}}}}}}{{qif
   |then= Página visitada el {{{Date|{{{date}}}}}}
    |test={{{Year|{{{year|}}}}}}
}}{{qif
    |then=, {{{Year|{{{year}}}}}}
  |test={{{Year|{{{year|}}}}}}
  }}{{qif
  |then=, {{{Year|{{{year}}}}}}.
}}{{qif
   |test={{{Nota|{{{nota|}}}}}}   
   |test={{{Nota|{{{nota|}}}}}}   
   |then=<br>Nota: {{{Nota|{{{nota}}}}}}
   |then=<br><small>Nota: {{{Nota|{{{nota}}}}}}.</small>
}}.</cite></includeonly><noinclude>
}}</cite></includeonly><noinclude>
Esta plantilla se utiliza con el siguiente código:
Esta plantilla se utiliza con el siguiente código:
  <nowiki>{{</nowiki>cite web
  <nowiki>{{</nowiki>cite web
|Author=Apellidos, Nombre [de autor]
  |PublishYear=año de publicación
  |PublishYear=año de publicación
|Author=autor
  |URL=https://webquesea.es (no olvides https)
  |URL=https://webquesea.com (no olvides https)
  |Title=título
  |Title=título
  |Work=título de la web
  |Work=título de la web
Línea 41: Línea 36:
  }}
  }}
donde cada parámetro se substituye por el dato que corresponda. Quedaría así:
donde cada parámetro se substituye por el dato que corresponda. Quedaría así:
  {{cite web|PublishYear=PublishYear|Author=Author|URL=https://eu.com |Title=Title|Work=Work|Publisher=Publisher|Date=Date|Year=Year}}
  {{cite web|Author=Apellidos, Nombre [de autor]|PublishYear=año de publicación|URL=https://webquesea.es|Title=Título|Work=Web|Publisher=Editora|Date=Fecha de consulta|Year=Año de consulta|Nota=comentario}}
Plantilla duplicada en: [[:plantilla:Cita web]]
Plantilla duplicada en: [[:plantilla:Cita web]]
[[categoría:plantillas]]
[[categoría:plantillas]]
</noinclude>
</noinclude>