Saltar para o conteúdo

Predefinição:Cite web: diferenças entre revisões

sem resumo de edição
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 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>