Wikipedista:Jklamo/common.js
Vzhled
Poznámka: Po uložení musíte vyprázdnit mezipaměť vašeho prohlížeče, jinak změny neuvidíte.
/** Tlačíkta */
mw.loader.using('mediawiki.action.edit', function () {
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/commons/d/d4/Button_base_thin.png',
speedTip: 'znak |',
tagOpen: '|',
tagClose: '',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/commons/4/42/Buttonsablona.png',
speedTip: 'Šablonizace',
tagOpen: '\x7b\x7b',
tagClose: '}}',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/commons/b/b4/Button_category03.png',
speedTip: 'Kategorie',
tagOpen: '[[Kategorie:',
tagClose: ']]',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/en/3/34/Button_hide_comment.png',
speedTip: 'Komentář',
tagOpen: '<!--',
tagClose: '-->',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/commons/d/de/Button_image.png',
speedTip: 'Obrázek s příslušenstvím',
tagOpen: '[[Soubor:',
tagClose: '|thumb|right|]]',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/commons/b/bf/Button_easy_cite_pl.png',
speedTip: 'Šablona Fakt',
tagOpen: '\x7b\x7bsubst:Fakt}}',
tagClose: '',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/commons/0/0b/Button_fuente.png',
speedTip: 'Šablona Urgentně ověřit',
tagOpen: '\x7b\x7bsubst:Urgentně ověřit}}',
tagClose: '',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/commons/5/50/Button_tidyman.png',
speedTip: 'Šablona Významnost',
tagOpen: '\x7b\x7bsubst:Významnost}}',
tagClose: '',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/commons/e/e3/Button_bienvenido.png',
speedTip: 'Šablona Spam',
tagOpen: '\x7b\x7bsubst:Spam}}',
tagClose: '',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
var button = { id: 'button-comment',
imageFile: '/media/wikipedia/commons/1/17/Button_MH_black.png',
speedTip: 'Autoritní data',
tagOpen: '\x7b\x7bAutoritní data}}',
tagClose: '',
sampleText: ''
};
mw.toolbar.addButton(button.imageFile, button.speedTip, button.tagOpen, button.tagClose, button.sampleText, button.id, button.id);
});
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Dudemanfellabra/AddCommonsCatLinks.js&action=raw&ctype=text/javascript');
importScript('Wikipedista:Jklamo/Citoid.js');