Vai al contenuto

Template:Cite web: differenze tra le versioni

nessun oggetto della modifica
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 1: Riga 1:
<p>
{{#if: {{{last|}}}
{{#if: {{{last|}}}
|{{{last}}}, {{{first}}} {{#if: {{{date|}}} |({{{date}}}).}}&nbsp;
  | {{{last}}}, {{{first}}} {{#if: {{{date|}}} | ({{{date}}}). }}
|{{#if: {{{author|}}}
  | {{#if: {{{author|}}}
|{{{author}}} {{#if: {{{date|}}} |({{{date}}}).}}&nbsp;}}}}{{#if: {{{url|}}}
      |{{{author}}} {{#if: {{{date|}}} | ({{{date}}}). }} }} }}
|[{{{url}}} {{{title|<span style="color: red;">'''ERROR: No Title provided in cite web template'''</span>}}}].
{{#if: {{{url|}}}
|<span style="color: red;">'''ERROR: No URL provided in cite web template.'''</span>}} {{#if: {{{website|}}}
| [{{{url}}} {{{title|<span style="color: red;">'''ERROR: No Title provided in cite web template'''</span>}}}].
|''{{{website}}}''. }} {{#if: {{{publisher|}}}
| <span style="color: red;">'''ERROR: No URL provided in cite web template.'''</span>}}
|{{{publisher}}}. }} {{#ifeq: {{{date}}} | {{{last}}} {{{author}}} {{{date}}}  
 
|{{{date}}}. }} {{#if: {{{quote|}}}
{{#if: {{{website|}}}   | ''{{{website}}}''. }}
|"{{{quote}}}"}}
{{#if: {{{publisher|}}} | {{{publisher}}}.   }}
{{#ifeq: {{{date}}} | {{{last}}} {{{author}}} {{{date}}}  
  | {{{date}}}.
}}
{{#if: {{{quote|}}} | "{{{quote}}}" }}
</p>