Help:User style/it
Questa pagina non è ancora stata tradotta dall'inglese all'italiano o la sua traduzione deve ancora essere completata. Se desideri aiutarci nella traduzione sei pregato di modificare la pagina presente su meta e poi copiala sul tuo progetto. I due collegamenti sottostanti dovrebbero puntare alla pagina in inglese su meta e alla pagina in italiano su meta.
This page has not been translated from English to Italian or its translation is not yet finished. If you want to help us in translation, please edit the Italian page on Meta and copy it to this page. The two links below should point to the English page on Meta and to the Italian page on Meta.
Questa pagina è una traduzione della corrispondente pagina del manuale in inglese di MediaWiki.
Puoi consultare (in inglese) le linee guida del manuale | la Politica editoriale
Sommario delle pagine di Aiuto - Pagine nel namespace Aiuto su: Meta b: n: w: q: wiktionary Per i lettori:
Vai |
Ricerche |
URL |
Namespace |
Nomi delle pagine |
Sezioni |
Collegamenti |
Puntano qui |
Piped link |
Collegamenti Interwiki |
Reindirizzamenti |
Variabili |
Categorie |
Pagine speciali
|
Generale
Per ciascuno stile definibile da un utente, deve essere selezionato uno skin ed il Cascading Style Sheet (CSS) corrispondente. Per ciascuno skin l'utente può fare diverse scelte riguardo i fonts, i colori, la posizione dei links e dei margini, etc. Il CSS viene indicato specificando i selettori [1]: HTML elements, le classi e gli id specificati nel codice HTML. Accordingly, what the possibilities are for each skin can be seen by looking at the HTML source code of a page, in particular looking at these classes and id's: the more there are, the more versatility there is.
Ad esempio nella Wikipedia Inglese, gli standard sono:
- http://en.wikipedia.org/style/monobook/main.css and en:MediaWiki:Monobook.css
- http://en.wikipedia.org/style/wikistandard.css and en:MediaWiki:Standard.css
- http://en.wikipedia.org/style/cologneblue.css and en:MediaWiki:Cologneblue.css
- http://en.wikipedia.org/style/nostalgia.css and en:MediaWiki:Nostalgia.css
- en:MediaWiki:Myskin.css
e qui su Meta invece abbiamo:
- http://meta.wikimedia.org/style/monobook/main.css and MediaWiki:Monobook.css
- http://meta.wikimedia.org/style/wikistandard.css and MediaWiki:Standard.css
- http://meta.wikimedia.org/style/cologneblue.css and MediaWiki:Cologneblue.css
- http://meta.wikimedia.org/style/nostalgia.css and MediaWiki:Nostalgia.css
- MediaWiki:Myskin.css
I files nella directory degli stili sono per ciascuno stile probabilmente gli stessi. Il nome della directory degli stili viene stabilito durante l'istallazione. Vedi LocalSettings.php#Stylesheet_Location.
Nello skin monolibro, puoi ora cambiare qualunque aspetto dell'inerfaccia grafica, modificando i css presenti agli indirizzi http://en.wikipedia.org/style/monobook/main.css e en:MediaWiki:Monobook.css o usandone tuoi similari Javascript o CSS. I cambiamenti vengono mostrati in una sottopagina della tua pagina utente, chiamata monobook.css e monobook.js.
Inoltre puoi cambiare lo skin classico. Le tue sottopagine devono essere chiamate User:username/ standard.css e User:username/ standard.js (e in maniera similare per le altre skins).
Just enter some css/js in that page. The preview works here in a special way: it allows viewing of the margins of the page (not the contents) on the basis of the style info in the page, provided that the skin used is the skin for which the page applies. This has limitations. E.g., one can preview how links in the margin will look, but these may not be of all the types one would want to check. After saving, while still on the page or while on any other page, do a forced reload (shift-reload/ctrl-f5) to get the new files.
The HTML source contains lines like
<script type="text/javascript" src="/w/wiki.phtml?title=User:username/standard.js&action=raw&ctype=text/javascript"> </script> @import "/style/wikistandard.css"; @import "/w/wiki.phtml?title=User:username/standard.css&action=raw&ctype=text/css";
for the project-wide CSS for the particular skin (in this case here on Meta referring to //meta.wikimedia.org/style/wikistandard.css ) and the personal JS and CSS for a particular skin.
For "MySkin" there is no main.css applicable. The applicable personal css page is User:username/ myskin.css (all lowercase!).
See also Help:Sitewide css wiki page.