MediaWiki:Common.js : Différence entre versions
De geoLwiki - Guide géologique du Luxembourg
Ligne 13 : | Ligne 13 : | ||
"imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_liste.png", | "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_liste.png", | ||
"speedTip": "Liste", | "speedTip": "Liste", | ||
− | "tagOpen": "* élément 1 | + | "tagOpen": "* élément 1" , |
"tagClose": "", | "tagClose": "", | ||
"sampleText": ""}; | "sampleText": ""}; | ||
Ligne 20 : | Ligne 20 : | ||
"imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_enum.png", | "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_enum.png", | ||
"speedTip": "Énumération", | "speedTip": "Énumération", | ||
− | "tagOpen": "#", | + | "tagOpen": "# élément 1", |
"tagClose": "", | "tagClose": "", | ||
"sampleText": ""}; | "sampleText": ""}; | ||
Ligne 35 : | Ligne 35 : | ||
"imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_gallery.png", | "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_gallery.png", | ||
"speedTip": "Galerie d'images", | "speedTip": "Galerie d'images", | ||
− | "tagOpen": "", | + | "tagOpen": "<gallery>", |
− | "tagClose": "", | + | "tagClose": "</gallery>", |
− | "sampleText": ""}; | + | "sampleText": " Image:Exemple.jpg|[[Tournesol]] Image:Exemple1.jpg|[[La Joconde]] Image:Exemple2.jpg|Un [[hamster]] "}; |
mwCustomEditButtons[mwCustomEditButtons.length] = { | mwCustomEditButtons[mwCustomEditButtons.length] = { | ||
"imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_modele.png", | "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_modele.png", | ||
"speedTip": "Modèle", | "speedTip": "Modèle", | ||
− | "tagOpen": "{{ | + | "tagOpen": "{{", |
− | "tagClose": "", | + | "tagClose": "}}", |
− | "sampleText": ""}; | + | "sampleText": "Nom du modèle"}; |
Version du 27 octobre 2008 à 16:39
/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_enter.png", "speedTip": "Nouveau paragraphe", "tagOpen": "<br />", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_liste.png", "speedTip": "Liste", "tagOpen": "* élément 1" , "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_enum.png", "speedTip": "Énumération", "tagOpen": "# élément 1", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_tableau.png", "speedTip": "Tableau", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_gallery.png", "speedTip": "Galerie d'images", "tagOpen": "<gallery>", "tagClose": "</gallery>", "sampleText": " Image:Exemple.jpg|[[Tournesol]] Image:Exemple1.jpg|[[La Joconde]] Image:Exemple2.jpg|Un [[hamster]] "}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_modele.png", "speedTip": "Modèle", "tagOpen": "{{", "tagClose": "}}", "sampleText": "Nom du modèle"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_category.png", "speedTip": "Catégorie", "tagOpen": "[[Catégorie:nom de la catégorie]]", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_redirect.png", "speedTip": "Redirection", "tagOpen": "#REDIRECT [[", "tagClose": "]]", "sampleText": "Insert text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://geologie.pch.etat.lu/geowiki/skins/common/images/button_comment.png", "speedTip": "Commentaire uniquement visible aux éditeurs", "tagOpen": "<!-- ", "tagClose": " -->", "sampleText": "Insert comment here"} }