Template:Editnotice/man: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m per il momento
 
m Tradotto un po' da en:Template:Editnotice/doc
Riga 1:
{{softredirect|:en:Template:Editnotice/doc}}
<!-- LE GATEGORIE E GLI INTERWIKI VANNO INSERITE A FONDO PAGINA -->
 
=== Uso ===
 
<!----This template is a wrapper template for editnotices, notices that appear above the text area on edit pages. Editnotices can be per-namespace or per-article.----->
Questo template è una fascetta per ''editnotice'', avvisi che appaiono sopra lo spazio di scrittura sulle pagine in modifica. Avvisi che possono essere destinati ad un ''namespace'' o ad una voce specifica.
<!----To create a new editnotice, please follow the instructions at [[WP:Editnotice]]. See also standard editnotice templates at [[:Category:Editnotice templates]].---->
Per creare una nuova ''editnotice'', segui le istruzioni che trovi [[en:WP:Editnotice|Wikipedia:Editnotice]]. Vedi inoltre i ''template'' standard di editnotice nella [[:Categoria:Template editnotice]].
 
<pre style="overflow: auto">
{{editnotice
| header =
| headerstyle =
| text =
| textstyle =
| image =
}}
</pre>
 
<!----'''''Note''': All parameters are optional except <code>text</code>.''----->
'''''Nota''': Tutti i parametri sono opzionali tranne <code>text</code>.''
 
=== Parametri ===
<!---{{para|id}} don't know what this is for --->
* header = testo dell'intestazione
* headerstyle = CSS per lo stile dell'intestazione
* '''text = testo dell'avviso'''
* textstyle = CSS per lo stile del testo
* image = immagine
=== Esempi ===
 
<pre style="overflow: auto">
{{editnotice
| header = Attention editors
| headerstyle = font-size: 150%;
| text = Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
| textstyle = font-size: 120%;
| image =
}}
</pre>
{{editnotice
| header = Attention editors
| headerstyle = font-size: 150%;
| text = Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
| textstyle = font-size: 120%;
| image =
}}
 
<pre style="overflow: auto">
{{editnotice
| header = Frequently asked questions
| headerstyle = font-size: 120%;
| text = Before editing, please consult the list of Frequently Asked Questions specific to this article. The FAQ includes questions on many issues that have been discussed.
| textstyle = background-color: #fee;
| image =
}}
</pre>
{{editnotice
| header = Frequently asked questions
| headerstyle = font-size: 120%;
| text = Before editing, please consult the list of Frequently Asked Questions specific to this article. The FAQ includes questions on many issues that have been discussed.
| textstyle = background-color: #fee;
| image =
}}
 
<pre style="overflow: auto">
{{editnotice
| header =
| headerstyle =
| text = This article is written in '''[[British English]]''', which differs from [[American English]] in some ways. See [[American and British English differences]]. According to the [[Wikipedia:Manual of Style#National varieties of English|relevant style guide]], this should not be changed without broad consensus.
| textstyle =
| image = [[File:Flag of the United Kingdom.svg|50px]]
}}
</pre>
{{editnotice
| header =
| headerstyle =
| text = This article is written in '''[[British English]]''', which differs from [[American English]] in some ways. See [[American and British English differences]]. According to the [[Wikipedia:Manual of Style#National varieties of English|relevant style guide]], this should not be changed without broad consensus.
| textstyle =
| image = [[File:Flag of the United Kingdom.svg|50px]]
}}
 
==== Namespace key ====
<poem>
0 – (Main)
1 – Talk:
2 – User: <ref group="note">User edit notices are now implemented by creating a subpage on the user page named "/Editnotice". This allows non-admin users to edit their own notices. Display of the user edit notice is controlled by [[MediaWiki:Editnotice-2]].</ref>
3 – User talk: <ref group="note">User talk edit notices are now implemented by creating a subpage on the user talk page named "/Editnotice". This allows non-admin users to edit their own notices. Display of the user talk edit notice is controlled by [[MediaWiki:Editnotice-3]].</ref>
4 – Wikipedia:
5 – Wikipedia talk:
6 – File:
7 – File talk:
8 – MediaWiki:
9 – MediaWiki talk:
10 – Template:
11 – Template talk:
12 – Help:
13 – Help talk:
14 – Category:
15 – Category talk:
100 – Portal:
101 – Portal talk:
</poem>
<!-------------------------
{{reflist|group="note"}}
 
=== Editnotices created so far ===
This list is created automatically by [[Special:PrefixIndex]]. {{Special:PrefixIndex/MediaWiki:Editnotice}}{{Special:PrefixIndex/Template:Editnotices/}}
 
=== See also ===
* [[Wikipedia:Editnotice]] – More about editnotices.
* {{tl|editnotice pagename}} – Returns the pagename for the editnotice for the current page.
* {{tl|editnotice talkpagename}} – Returns the talkpage name for the editnotice for the current page.
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia editnotices| ]]
 
[[ar:قالب:إشعارتحرير]]
[[nl:Sjabloon:Editnotice]]
[[zh:Template:Editnotice]]
</includeonly>
---------------->