Template:Cita web: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica
templare tradotto e compatibile con i vecchi parametri + spostamento istruzioni in MAN
Riga 1:
<noinclude>{{T|lingua=inglese|argomento=template|data=giugno 2006}}</noinclude><cite style="font-style:normal;"><includeonly>{{
#if: {{#if: {{{url|{{{1|}}}}}} | {{#if: {{{title|{{{titolo|{{{2|}}} }}}}}}|1}}}}
||<font color=red>Errore</font> la sintassi minima richiesta e {{tl|cita web|URL sito|titolo|<nowiki>accesso=GG - MM - AAAA</nowiki>}}
||Errore del template [[template:cita web]]: i parametri '''url''' e '''title''' devono essere specificati
}}</includeonly>{{#if: {{{author|{{{last|}}}}}}{{{autore|{{{cognome|}}}}}}
| {{#if: {{{authorlink|}}}{{{linkautore|}}}
| [[{{{authorlink}}}{{{linkautore}}}|{{#if: {{{last|}}}{{{cognome|}}}
| {{{last|}}}{{{cognome|}}}{{#if: {{{first|}}} {{{nome|}}} | , {{{first|}}} {{{nome}}} }}
| {{{author|}}}{{{autore|}}}
}}]]
| {{#if: {{{last|}}}{{{cognome|}}}
| {{{last|}}}{{{cognome|}}}{{#if: {{{first|}}} {{{nome|}}}| , {{{first|}}}{{{nome|}}} }}
| {{{author|}}}{{{autore|}}}
}}
}}
}}{{#if: {{{author|{{{last|}}}}}}{{{autore|{{{cognome|}}}}}}
| {{#if: {{{coauthors|}}} {{{coautori|}}}| <nowiki>;</nowiki>&#32;{{{coauthors|}}}{{{coautori|}}} }}
}}{{#if: {{{author|}}}{{{autore|}}}{{{last|}}}{{{cognome|}}}|
{{#if: {{{date|}}}{{{data|}}}
| &#32;({{{date|}}}{{{data|}}})
| {{#if: {{{year|}}}{{{anno|}}}
| {{#if: {{{month|}}}{{{mese|}}}
| &#32;({{{month|}}}{{{mese|}}} {{{year|}}}{{{anno|}}})
| &#32;({{{year|}}}{{{anno|}}})
}}
}}
|}}
}}{{#if: {{{last|}}}{{{cognome|}}}{{{author|}}}{{{autore}}}
| .&#32;}}{{#if: {{{url|{{{1|}}}}}} | {{#if: {{{title|{{{2|}}}}}}{{{titolo|{{{2|}}}}}}
| {{#if: {{{curly|}}}|“|"}}[{{{url|{{{1|}}}}}} {{{title|{{{titolo|{{{2|}}}}}}}}}]{{#if: {{{language|}}} {{{lingua|}}}| &#32;(in {{{language|}}}{{{lingua|}}}) }}.{{#if: {{{curly|}}}|”|"}} }}
}}{{#if: {{{format|}}}{{{formato|}}}
| &#32;({{{format|}}}{{{formato|}}})
}}{{#if: {{{work|}}}{{{opera|}}}
| &#32;''{{{work|}}}{{{opera|}}}''.
}}{{#if: {{{pages|}}}{{{pagine|}}}
| &#32;pp. {{{pages|}}}{{{pagine|}}}
}}{{#if: {{{publisher|}}}{{{editore|}}}
| &#32;{{{publisher|}}}{{{editore}}}{{#if: {{{author|}}}{{{autore|}}} {{{last|}}}{{{cognome|}}}
| .
| {{#if: {{{date|}}}{{{data|}}} {{{anno|}}}{{{year|}}} {{{month|}}}{{{mese|}}} | &#58; | . }}
}}
}}{{#if: {{{author|}}}{{{autore|}}} {{{last|}}}{{{cognome|}}}
||{{#if: {{{date|}}}{{{data|}}}
| &#32;({{{date|}}}{{{data|}}}).
| {{#if: {{{year|}}}{{{anno|}}}
| {{#if: {{{month|}}}{{{mese|}}}
| &#32;({{{month|}}}{{{mese|}}} {{{year|}}}{{{anno|}}}).
| &#32;({{{year|}}}{{{anno|}}}).
}}
}}
}}
}}{{#if: {{{accessdate|}}}{{{accesso|}}}
| &#32;URL verificata in data [[{{{accessdate|}}}{{{accesso|}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear|}}}]] }}.
}}{{#if: {{{accessmonthday|}}}
| &#32;URL verificata in data {{{accessmonthday|}}}, {{{accessyear|}}}.
}}</cite>
<noinclude>
{{esoteric}}
{{man}}
 
== Uso ==
<pre>{{cita web
| last =
| first =
| authorlink =
| coauthors =
| date =
| year =
| month =
| monthday =
| url =
| title =
| format =
| work =
| pages =
| publisher =
| language =
| accessdate =
| curly =
}}</pre>
<code><nowiki>{{cita web|last= |first= |authorlink= |coauthors= | date= |url= |title= |format= |work= |pages= |publisher= | language= |accessdate= |curly= }}
</nowiki></code>
=== Parametri richiesti ===
* '''url''': URL of online item.
* '''title''': Title of online item.
* One of the two date format parameters:
** '''accessdate''': Full date when item was accessed, in [[ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked; it will be linked automatically.
** '''accessmonthday''' and '''accessyear''': Month and day when item was accessed, e.g. May 10, and year when item was accessed, e.g. 2005. Will not be wikilinked.
 
=== Parametri opzionali ===
* '''author''': Autore
** '''last''' works with '''first''' to produce <code>last, first</code>
** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate article
** '''coauthors''': allows additional authors
* '''date''': Full date of publication, in [[ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked.
** OR: '''year''': Year of publication, and '''month''': Name of the month of publication. If you also have the day, use ''date'' instead. Must not be wikilinked.
* '''format''': Format, i.e. PDF. HTML implied if not specified.
* '''work''': If this item is part of a larger work, name of that work.
* '''publisher''': Publisher, if any.
* '''pages''': Pages, if any, especially if pdf format
* '''language''': language of publication
* '''curly''': uses Unicode curly quotes instead of straight quotes if non-blank
 
[[bg:Шаблон:Cite web]]