Modulo:Citazione/Aiuto: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Moroboshi (discussione | contributi)
Nuova pagina: Questa pagina descrive i messaggi di errore generati dal modulo Lua che gestisce la visualizzazione dei template di citazione {{tl|Cita libro}}, {{tl|Cita news}}, {...
 
Moroboshi (discussione | contributi)
proseguito traduzione
Riga 225:
Le pagine con questo errore sono automaticamente inserite nella categoria {{#ifeq: {{FULLPAGENAME}} | Category:Pages with citations having redundant parameters | Category:Pages with citations having redundant parameters | [[:Category:Pages with citations having redundant parameters]]}}.<ref name="categories" /><section end=redundant_parameters_help_text />
{{anchor|text_ignored}}<!-- non rimuovete o cambiate l'ancora senza cambiare anche il riferimento in Modulo:Sandbox/Citazione -->
==TextTesto "????" ignoredignorato==
<section begin=text_ignored_help_text /><span class="error">TextTesto "????" ignoredignorato</span>
 
Questo errore viene segnalato quando viene usato un parametro non numerato oltre a quelli riconosciuti per il tipo di citazione usata, per esempio {{tl|Cita web}} riconosce solo tre parametri non numerati, <code><nowiki>{{cita web|url|titolo|accesso}}</nowiki></code>, se ne vengono inseriti quattro genera questo errore.
Unlike many Wikipedia templates, the [[Help:Citation Style 1|CS1 citations]] do not use unnamed or positional parameters. When a citation contains text between [[vertical bar]]s and that text does not contain an equal sign (=), CS1 ignores the text and reports the error. This is true even when the text is the name of a valid parameter.
 
ThisQuesto errorerrore canpuò alsoanche beessere causedcausato byda verticalbarre barsverticali thatche arefacciano partparte ofdi URLsURL oro titlestitoli. WhenQuando verticaluna barsbarra occurcompare in URLs,un replaceURL eachrimpiazzatela vertical bar withcon <code>%7c</code>. WhenQuando verticaloccorre barsnel occurvalore indi parameterun valuesparametro thatche arenon notè URLs,un replaceURL eachrimpiazzate verticalognuna barcon withil codice <code>&amp;#124;</code> o perchè ci si dimentica di inserire un "=" tra il nome di un parametro e il suo valore.
 
Per risolvere questo errore rimuovete il testo estraneo, sostituite barre verticali presenti negli URL o nel testo con il codice appropriato.
To resolve this error, remove the extraneous text, add '=', add an appropriate parameter name to complete the parameter, or properly encode vertical bars in URLs and titles.
 
Le pagine con questo errore sono automaticamente inserite nella categoria {{#ifeq: {{FULLPAGENAME}} | Category:Pages with citations using unnamed parameters | Category:Pages with citations using unnamed parameters | [[:Category:Pages with citations using unnamed parameters]]}}.<ref name="categories" /><section end=text_ignored_help_text />
 
Le pagine con questo errore sono automaticamente inserite nella categoria [[Categoria:Errori del modulo citazione - citationi che usano parametri posizionali sconosciuti|Errori del modulo citazione - citationi che usano parametri posizionali sconosciuti]].<ref name="categories" />
{{anchor|trans_missing_chapter}}<!-- non rimuovete o cambiate l'ancora senza cambiare anche il riferimento in Modulo:Sandbox/Citazione -->
 
Riga 260 ⟶ 259:
{{anchor|parameter_ignored}}<!-- non rimuovete o cambiate l'ancora senza cambiare anche il riferimento in Modulo:Sandbox/Citazione -->
 
==UnknownParametro parametersconosciuto |????= ignoredignorato==
<section begin=parameter_ignored_help_text /><span class="error">UnknownParametro parametersconosciuto <code>????=</code> ignoredignorato</span>
 
Questo errore viene segnalato quando il nome di un parametro non viene riconosciuto come valido, generamente questo è dovuto a un errore di scrittura. Il vecchio sistema di template si limitava a ignorare i parametri non riconosciuti, mentre il modulo Lua li segnala come errori. Non usate parametri sconosciuti come deposito di note e informazioni ancillari.
[[Help:Citation Style 1|CS1 citations]] report this error when the name portion of a parameter's <code>name|value</code> pair is not recognized as a valid name. Typically, this is caused by spelling errors.
 
Per risolvere qeusto errore assicuratevi che i nomi dei parametri siano scritti correttamente, eccetto che per spazi aggiuntivi tra la barra verticale "|" e il segno di uguale. Un elenco dei paramatri accettati può essere consultato leggendo il manuale dei template di citazione, come {{tl|Cita web}} o {{tl|Cita libro}}, ecc... Valutate se spostare informazioni aggiuntive contenute in parametri sconosciuti in un altro parametro o nella sezione di discussione della voce per preservarli.
With the old-style citation templates, it was possible to include information within the template that was simply ignored as unrecognized parameters. The Lua-based CS1 engine does not ignore unrecognized parameters. The purpose of the citation is to properly identify the source; not act as a repository of notes and ancillary information.
 
Nel caso di errori frequenti nello scrivere il nome di un parametro questo può essere aggiunto a una [[Modulo:Sandbox/Citazione/Suggerimenti|lista]] di errori comuni.
To resolve this error, ensure that the parameter's name is correctly spelled and that there are no characters except spaces between the parameter's name and the leading vertical bar (|) or trailing equal sign (=). A list of valid parameters can be found by consulting [[Help:Citation Style 1]] or visiting the description page of the specific template being used, such as {{tlx|cite web}}, {{tlx|cite book}}, {{tlx|cite journal}}, etc. Consider moving information associated with the unknown parameter into an appropriate parameter or to a section of the article's talk page for preservation.
 
Le pagine con questo errore sono automaticamente inserite nella categoria [[:Categoria:Errori del modulo citazione - citazioni che usano parametri non supportati|Errori del modulo citazione - citazioni che usano parametri non supportati]].<ref name="categories" />
For frequently encountered spelling errors, consider adding the misspelled parameter name to the [[Module:Citation/CS1/Suggestions|list]] of common parameter misspellings.
 
Le pagine con questo errore sono automaticamente inserite nella categoria {{#ifeq: {{FULLPAGENAME}} | Category:Pages with citations using unsupported parameters | Category:Pages with citations using unsupported parameters | [[:Category:Pages with citations using unsupported parameters]]}}.<ref name="categories" /><section end=parameter_ignored_help_text />
{{anchor|parameter_ignored_suggest}}<!-- non rimuovete o cambiate l'ancora senza cambiare anche il riferimento in Modulo:Sandbox/Citazione -->
==Parametro sconosciuto |xxxx= ignorato (forse intendevi |yyyy= )==
<section begin=parameter_case_help_text /><span class="error">UnknownParametro parametersconosciuto <code>|xxxx=</code> ignoredignorato (forse intendevi <code>|yyyy=</code> suggested)</span>
 
Questo errore viene segnalato quando il nome di un parametro non viene riconosciuto come valido. Eccetto che per alcuni parametri tutti i nomi di parametro sono in lettere minuscole, il modulo riporta questo errore quando il parametro contiene lettere maiuscole, per esempio "Xxxxxx" o "XXxxxx" ma il nome del parametro è in minuscolo "xxxxxx". Alcuni parametri come <code>isbn</code> possono essere tutti in maiusolo o tutti in minuscolo, ma non metà dell'uno e metà dell'altro "ISBN" o "isbn" sono corretti, "ISbn" è sbagliato. Il modulo riporta questo errore anche quando il nome del parametro corrisponde a uno di quelli elencati nella [[Modulo:Sandbox/Citazione/Suggerimenti|lista]] di errori comuni.
==Unknown parameter |xxxx= ignored (|yyyy= suggested)==
<section begin=parameter_case_help_text /><span class="error">Unknown parameter <code>|xxxx=</code> ignored (<code>|yyyy=</code> suggested)</span>
 
Il modulo suggerisce quale potrebbe essere il nome corretto del parametro. Per risolvere questo errore rimpiazzate il nome del parametro con quello corretto.
[[Help:Citation Style 1|CS1 citations]] report this error when the name portion of a parameter's <code>name|value</code>-pair is not recognized as a valid name. With very few exceptions CS1 citation parameters are lower case. CS1 will report this error when the parameter's name contains uppercase letters ({{!xt|Xxxx, xxXx, XXXX}}) but the parameter's name is defined as lowercase ({{xt|xxxx}}). Some parameters, like <code>isbn</code> can be either lowercase or uppercase, but not of mixed case ({{xt|<code>isbn</code>}} or {{xt|<code>ISBN</code>}} but not {{!xt|<code>Isbn</code>}}). CS1 will also report this error when the parameter's name matches a name in the [[Module:Citation/CS1/Suggestions|list]] of common parameter misspellings (found <code>acessdate</code> but expected <code>accessdate</code>).
 
Le pagine con questo errore sono automaticamente inserite nella categoria [[:Categoria:Errori del modulo citazione - citazioni che usano parametri non supportati|Errori del modulo citazione - citazioni che usano parametri non supportati]].<ref name="categories" />
CS1 will offer a suggested parameter name from the list of valid parameters or from the list of common parameter misspellings.
 
To resolve this error, replace the erroneous parameter name with a correct one, possibly using the suggested name.
 
Le pagine con questo errore sono automaticamente inserite nella categoria {{#ifeq: {{FULLPAGENAME}} | Category:Pages with citations using unsupported parameters | Category:Pages with citations using unsupported parameters | [[:Category:Pages with citations using unsupported parameters]]}}.<ref name="categories" /><section end=parameter_case_help_text />
{{anchor|wikilink_in_url}}<!-- non rimuovete o cambiate l'ancora senza cambiare anche il riferimento in Modulo:Sandbox/Citazione -->
 
==Wikilink embedded in URL title==
<section begin=wikilink_in_url_help_text /><span class="error">Wikilink embedded in URL title</span>
 
External links in a rendered citation are a combination of url-holding parameters, <code>url</code>, <code>chapterurl</code>, etc., with title-holding parameters, <code>title</code>, <code>chapter</code>, etc. Title-holding parameters may be [[wikilink]]ed to another Wikipedia article but not when there is a matching url-holding parameter in the citation. When this condition occurs, the wikilink is suppressed, the wiki markup ignored, and the rendered citation links to the external site.