Bikarhêner:Balyozxane/ferhengvan-templateScript.js
Zanibe: Piştî weşandinê, ji bo dîtina guhartinan dibe ku hewce be "cache"ya geroka xwe paqij bikî.
- Firefox / Safari: Pê li Shift û Reload bike an jî Ctrl-F5 an Ctrl-R bike (ji bo Mac: ⌘-R)
- Google Chrome: Pê li Ctrl-Shift-R (ji bo Mac: ⌘-Shift-R) bike
- Internet Explorer / Edge: Pê li Ctrl û Refresh bike, an jî Ctrl-F5 bike
- Opera: Pê li Ctrl-F5 bike.
/**
* TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
* @see https://meta.wikimedia.org/wiki/TemplateScript
* @update-token [[File:Pathoschild/templatescript.js]]
*/
// <nowiki>
$.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() {
pathoschild.TemplateScript.add([
// add your own templates or scripts here
{
name: 'katbike',
template: '{{katbike}}',
position: 'cursor',
accessKey: '1',
forNamespaces: '14'
},
{
category: 'sererastkirin',
name: 'rêziman',
template: '{{subst:Bikarhêner:Balyozxane/preload-rengdêr|ziman=en|cure=lêker}}',
position: 'cursor',
accessKey: '1',
forNamespaces: '0'
},
{
category: 'sererastkirin',
name: 'dema borî',
template: '{{subst:Bikarhêner:Balyozxane/f/form|ziman=en|peyv=}}',
position: 'cursor',
accessKey: '2',
editSummary: '',
forNamespaces: '0'
},
]);
});
// </nowiki>