ਮੀਡੀਆਵਿਕੀ:WikiLove.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
//See https://www.mediawiki.org/wiki/Extension:WikiLove for basic documentation on configuration.
//<nowiki>
( function( $ ) {
$.wikiLoveOptions.types.barnstar.subtypes['laborious'] = {
fields: [ 'message' ],
option: 'ਅਣਥੱਕ ਮਿਹਨਤ ਬਾਰਨਸਟਾਰ',
descr: 'ਇਹ ਬਾਰਨਸਟਾਰ ਅਜਿਹੇ ਵਰਤੋਂਕਾਰ ਨੂੰ ਦੇਵੋ ਜਿਸਨੇ ਕਿਸੇ ਖ਼ਾਸ ਖੇਤਰ ਵਿੱਚ ਬਹੁਤ ਮਿਹਨਤ ਕਰਕੇ ਵਿਕੀਪਰਿਯੋਜਨਾਵਾਂ ਨੂੰ ਲਾਭ ਪਹੁੰਚਾਇਆ ਹੋਵੇ।',
header: 'ਤੁਹਾਡੇ ਲਈ ਇੱਕ ਸਨਮਾਨ',
title: 'ਅਣਥੱਕ ਮਿਹਨਤ ਬਾਰਨਸਟਾਰ',
image: 'Barnstar of Diligence Hires.png'
};
$.wikiLoveOptions.types.barnstar.subtypes['contribs'] = {
fields: [ 'message' ],
option: 'ਸ਼੍ਰੇਸ਼ਠ ਯੋਗਦਾਨੀ ਬਾਰਨਸਟਾਰ',
descr: 'ਇਹ ਬਾਰਨਸਟਾਰ ਅਜਿਹੇ ਵਰਤੋਂਕਾਰ ਨੂੰ ਦੇਵੋ ਜੋ ਬਹੁਤ ਨਿਮਰ ਹੈ ਅਤੇ ਦੂਜਿਆਂ ਦੀ ਸਹਾਇਤਾ ਕਰਨ ਲਈ ਸਦਾ ਤਿਆਰ ਰਹਿੰਦਾ ਹੈ।',
header: 'ਤੁਹਾਡੇ ਲਈ ਇੱਕ ਸਨਮਾਨ',
title: 'ਸ਼੍ਰੇਸ਼ਠ ਯੋਗਦਾਨੀ ਬਾਰਨਸਟਾਰ',
image: 'Barnstar of Humour Hires.png'
};
$.wikiLoveOptions.types.barnstar.subtypes['newcomer'] = {
fields: [ 'message' ],
option: 'ਨਵੀਨਤਾ ਬਾਰਨਸਟਾਰ',
descr: 'ਇਹ ਬਾਰਨਸਟਾਰ ਓਹਨਾ ਨਵੇਂ ਵਰਤੋਂਕਾਰਾਂ ਨੂੰ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ ਜੋ ਵਿਕੀ ਤੇ ਨਵੇਂ ਹਨ ਅਤੇ ਚੰਗਾ ਯੋਗਦਾਨ ਪਾ ਰਹੇ ਹਨ।',
header: 'ਤੁਹਾਡੇ ਲਈ ਇੱਕ ਸਨਮਾਨ',
title: 'ਨਵੀਨਤਾ ਬਾਰਨਸਟਾਰ',
image: 'Minor Barnstar Hires.png'
};
$.wikiLoveOptions.types.barnstar.subtypes['continuous'] = {
fields: [ 'message' ],
option: 'ਲਗਾਤਾਰ ਸਰਗਰਮ ਬਾਰਨਸਟਾਰ',
descr: 'ਵਿਕੀਪੀਡੀਆ ਦੀ ਗੁਣਵਤਾ ਵਿੱਚ ਵਾਧਾ ਕਰਦੇ ਹੋਏ ਲਗਾਤਾਰ ਕਾਫ਼ੀ ਸਮੇਂ ਤੋਂ ਸਰਗਰਮ ਰਹਿਣ ਹਿੱਤ।',
header: 'ਤੁਹਾਡੇ ਲਈ ਇੱਕ ਸਨਮਾਨ',
title: 'ਲਗਾਤਾਰ ਸਰਗਰਮ ਬਾਰਨਸਟਾਰ',
image: 'Tireless Contributor Barnstar Hires.gif'
};
$.wikiLoveOptions.types.barnstar.subtypes['rosetta'].option = 'ਅਨੁਵਾਦਕ ਬਾਰਨਸਟਾਰ';
$.wikiLoveOptions.types.kitten.gallery.imageList = [ 'Cucciolo gatto Bibo.jpg', 'Kitten (06) by Ron.jpg', 'Kitten-stare.jpg', 'Red Kitten 01.jpg', 'Kitten in a helmet.jpg', 'Cute grey kitten.jpg', 'Iris cat.jpg', 'Young cats.jpg', 'Youngkitten.JPG'];
$.wikiLoveOptions.types['sweet'] = {
name:'ਮਿੱਠਾ',
select:'ਮਿਠਾਈ ਚੁਣੋ:',
text: '{| style="background-color: $5; border: 1px solid $6;"\n\
|style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\
|style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\
|}', // custom text
subtypes:{
'ਬਰਫ਼ੀ':{fields: [ 'header', 'message' ],
option:'ਬਰਫ਼ੀ',
descr: '',
header: 'ਤੁਹਾਡੇ ਲਈ ਬਰਫ਼ੀ',
image: 'File:Barfi.JPG',
imageSize: '135px'},
'ਜਲੇਬੀ':{fields: [ 'header', 'message' ],
option:'ਜਲੇਬੀ',
descr: '',
header: 'ਤੁਹਾਡੇ ਲਈ ਜਲੇਬੀ',
image: 'Jalebi 2.jpg',
imageSize: '135px'},
'ਗੁਲਾਬ ਜਾਮੁਣ':{fields: [ 'header', 'message' ],
option:'ਗੁਲਾਬ ਜਾਮੁਣ',
descr: '',
header: 'ਤੁਹਾਡੇ ਲਈ ਗੁਲਾਬ ਜਾਮੁਣ',
image: 'Gulab jamun (Lav).JPG',
imageSize: '135px'}
},
icon:'//upload.wikimedia.org/wikipedia/commons/thumb/7/77/Royal_sweets_-_Slough.jpg/50px-Royal_sweets_-_Slough.jpg'
};
} )( jQuery );
//</nowiki>