Modifica di
Template:Tmbox/doc
(sezione)
Vai alla navigazione
Vai alla ricerca
Attenzione:
non hai effettuato l'accesso. Se effettuerai delle modifiche il tuo indirizzo IP sarà visibile pubblicamente. Se
accedi
o
crei un'utenza
, le tue modifiche saranno attribuite al tuo nome utente, insieme ad altri benefici.
Controllo anti-spam.
NON
riempirlo!
=== Parameters === List of all parameters: <pre> {{tmbox | name = name of the template | type = speedy / delete / content / style / notice / move / protection | image = none / [[File:Some image.svg|40px]] | imageright = [[File:Some image.svg|40px]] | style = CSS values | textstyle = CSS values | plainlinks = no | text = The message body text. | small = {{{small|}}} / yes | smallimage = none / [[File:Some image.svg|30px]] | smallimageright = none / [[File:Some image.svg|30px]] | smalltext = A shorter message body text. }} </pre> '''name''' :(Optional) Name of the template. This adds a CSS class with name <code>box-''name''</code> to the HTML element, for use by bots or scripts. '''type''' :If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a gray border. '''image''' :'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter. :'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example: ::<code><nowiki>image = [[File:Crystal package settings.png|40px]]</nowiki></code> :'''none''' = Means that no image is used. {{Anchor|imageright}}'''imageright''' :'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side. :'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example: ::<code><nowiki>imageright = [[File:Nuvola apps bookcase.png|40px]]</nowiki></code> :'''Anything''' = Any other object that you want to show on the right side. '''style''' :Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example: ::<code>style = margin-bottom: 0.5em;</code> '''textstyle''' :Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example: ::<code>textstyle = text-align: center;</code> '''plainlinks''' :Normally on Wikipedia, external links have an arrow icon next to them, like this: [http://www.example.com Example.com]. However, in message boxes, the arrow icon is suppressed by default, like this: <span class="plainlinks">[http://www.example.com Example.com]</span>. To get the normal style of external link with the arrow icon, use {{para|plainlinks|no}}. '''text''' :The message body text. ==== The small parameters ==== {{tmbox | small = yes | text = small = yes }} {{tmbox | type = style | small = yes | text = type = style <br> small = yes }} '''small''' :'''yes''' = Makes it a smaller right floating message box. This also makes the default images smaller. Note that any data fed to the '''smallimage''', '''smallimageright''' and '''smalltext''' parameters is only used if "small=yes". To make it so your template also understands the small parameter you can use this code: ::<code><nowiki>small = {{{small|}}}</nowiki></code> {{tmbox | small = yes | image = [[File:Nuvola apps bookcase.svg|40px]] | smallimage = [[File:Nuvola apps bookcase.svg|30px]] | text = small = yes <br> image = <nowiki>[[File:Nuvola apps bookcase.svg|40px]]</nowiki> <br> smallimage = <nowiki>[[File:Nuvola apps bookcase.png|30px]]</nowiki> }} '''smallimage''' :'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used. :'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example: ::<code><nowiki>smallimage = [[File:Crystal package settings.png|30px]]</nowiki></code> :'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=yes". {{tmbox | small = yes | imageright = [[File:Nuvola apps bookcase.svg|40px]] | text = small = yes <br> imageright = <nowiki>[[File:Nuvola apps bookcase.svg|40px]]</nowiki> }} {{tmbox | small = yes | imageright = [[File:Nuvola apps bookcase.svg|30px]] | smallimageright = none | text = small = yes <br> imageright = <nowiki>[[File:Nuvola apps bookcase.svg|40px]]</nowiki> <br> smallimageright = none }} '''smallimageright''' :'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side. :'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example: ::<code><nowiki>smallimageright = [[File:Nuvola apps bookcase.png|30px]]</nowiki></code> :'''Anything''' = Any other object that you want to show on the right side. :'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=yes". '''smalltext''' :A shorter version of the message body text. If no '''smalltext''' parameter is given then this template falls back to use the '''text''' parameter.
Oggetto:
Per favore tieni presente che tutti i contributi a Tematiche di genere si considerano pubblicati nei termini d'uso della licenza Creative Commons Attribuzione-Condividi allo stesso modo (vedi
Tematiche di genere:Copyright
per maggiori dettagli). Se non desideri che i tuoi testi possano essere modificati e ridistribuiti da chiunque senza alcuna limitazione, non inviarli qui.
Inviando il testo dichiari inoltre, sotto tua responsabilità, che è stato scritto da te personalmente oppure è stato copiato da una fonte di pubblico dominio o similarmente libera.
Non inviare materiale protetto da copyright senza autorizzazione!
Annulla
Guida
(si apre in una nuova finestra)
Menu di navigazione
Strumenti personali
Accesso non effettuato
discussioni
contributi
entra
Namespace
Template
Discussione
italiano
Visite
Leggi
Modifica sorgente
Cronologia
Altro
Navigazione
Pagina principale
Ultime modifiche
Categorie
Principali Categorie
Pagine orfane
Pagine prive di categorie
Semantic Ask
Una pagina a caso
Aiuto su MediaWiki
Modifica Sidebar
Strumenti
Puntano qui
Modifiche correlate
Carica un file
Pagine speciali
Informazioni pagina