مستخدم:Mr. Ibrahem/ts.js
Documentation for this user script can be added at مستخدم:Mr. Ibrahem/ts. |
ملاحظة: بعد الحفظ، قد يلزمك إفراغ الكاش لرؤية التغييرات.
/**
* 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([
{ name: 'كاتب', template: '{{رأس نقاش}}\n{{غلاف شريط مشروع ويكي|حي=نعم|\n{{مشروع ويكي أعلام|الصنف=بذرة}}\n{{مشروع ويكي اليمن|الصنف=بذرة|الأهمية=قليلة}}\n{{مقالة مسابقة|مسابقة كاتب مكتوب - الدورة الأولى}}\n}}'
,position: 'before', editSummary: '', forNamespaces: '1' },
// add your own templates or scripts here
{ name: 'person', template: '{{صندوق معلومات شخص}}\n'
, position: 'before', editSummary: '+ [[قالب:صندوق معلومات شخص]]', forNamespaces: '0' },
{ name: 'Navseasoncats', template: '{{تصنيف موسم}}\n'
, position: 'before', editSummary: '+ [[قالب:تصنيف موسم]]', forNamespaces: '14' },
{ name: 'سعودية', template: '{{رأس نقاش}}\n{{مشروع ويكي السعودية}}\n{{مقالة مسابقة|مسابقة ويكيبيديا السعودية}}\n'
,position: 'before', editSummary: '', forNamespaces: '1' },
{ name: 'كوفيد-19', template: '{{مشروع ويكي طب|كوفيد-19=نعم}}\n'
,position: 'before', editSummary: 'إضافة تقييم كوفيد-19', forNamespaces: '1,11,15' },
{ name: 'سياسة', template: '{{رأس نقاش}}\n{{مشروع ويكي سياسة|الصنف=بذرة|الأهمية=قليلة}}\n'
,position: 'before', editSummary: '', forNamespaces: '1' },
{ name: 'سياسي يمني', template: '{{رأس نقاش}}\n{{غلاف شريط مشروع ويكي|حي=نعم|\n{{مشروع ويكي أعلام|الصنف=بذرة|السياسيون وصناع القرار=نعم|السياسيون وصناع القرار-أهمية=قليلة}}\n{{مشروع ويكي اليمن|الصنف=بذرة|الأهمية=قليلة}}\n}}'
,position: 'before', editSummary: '', forNamespaces: '1' },
]);
});
// </nowiki>