Template:Clickable button
Vai alla navigazione
Vai alla ricerca
Questo template è stato protetto dalle modifiche per prevenire il vandalismo. Per favore discuti dei cambiamenti nella pagina di discussione o richiedi la sprotezione. |
This documentation is transcluded from Template:Clickable button/doc.
(questa parte di documentazione è disponibile solo in alcune lingue)
Provides a button with hover effects.
Uso
{{Clickable button |target= |text= |external= }}
(questa parte di documentazione è disponibile solo in alcune lingue)
{{Clickable button|target={{fullurl:{{FULLPAGENAME}}|withJS=MediaWiki:VisualFileChange.js}}|text=This page with '''VisualFileChange'''|external=true}}
→
{{Clickable button|:en:Wikipedia:Manual of Style/Layout|'''Wikipedia's manual of Style'''|class=ui-button-green ui-button-large}}
→
{{Clickable button|:en:Wikipedia:Twinkle/Preferences|'''Twinkle preferences'''|iconPrimary=ui-icon-wrench|class=ui-button-blue ui-button-large}}
→
Parametri template
Parametro | Descrizione | Predefinito | Stato | |
---|---|---|---|---|
target 1 | The target page of the "button". For external links, however, it is recommended using the named parameter target. Please use named parameters if it is an external link because they often contain = which would confuse the parser. | empty | obbligatorio | |
text 2 | Text (caption) the button should carry. Either you specify text or an icon. | empty | obbligatorio | |
external 3 | Is this an external link? If it is, set to yes or aye, or whatever you like, except nothing. | empty | facoltativo | |
iconPrimary 4 | A jquery UI icon class for the primary icon (in LTR languages on the left side of the button label/text). E.g. ui-icon-gear[1] | empty | facoltativo | |
iconSecondary 5 | A jquery UI icon class for the secondary icon (in LTR languages on the right side of the button label/text). E.g. ui-icon-triangle-1-s | empty | facoltativo | |
class | Add classes like ui-button-green ui-button-large | empty | facoltativo | |
id | Unique id to be used as the button's ID-Attribute. Useful for JavaScript-binding and CSS-styling. | empty | facoltativo |
Informazioni aggiuntive
Questo template è concepito per essere usato nei seguenti namespace: tutti i namespace
Questo template è concepito per essere usato dai seguenti gruppi utente: tutti gli utenti
Dipende da:
Vedi anche
(questa parte di documentazione è disponibile solo in alcune lingue)
- {{Button}} (works without JS enabled)
- {{Clickable button 2}} (import from de.wikipedia)
- {{Key press}}
- {{Clickable button 3}}
Localizzazione
Questo template non è concepito per essere localizzato.
Test suite/ Unit tests
Icon only | |||
Icon text | |||
Text only, links | |||
Colors |