सदस्यः:स/common.js

विकिपीडिया, कश्चन स्वतन्त्रः विश्वकोशः

सूचना : भवता/भवत्या कृतानि सम्पादनानि संरक्ष्य तानि परिवर्तनेषु द्रष्टुं गवेषकस्य पृष्ठस्य पुनरारोपणम् (reload) आवश्यकं भवति ।

  • Firefox / Safari: Shiftकुड्मलेन सह Reloadकुड्मलं नुदतु ।
  • Google Chrome: Ctrl-Shift-R नोदनेन पुनरारोपणं भवति । (⌘-R इति Mac तन्त्रांशप्रयोक्तॄभ्यः)
  • Internet Explorer: Ctrlकुड्मलेन सह Refreshकुड्मलं नुदतु, Ctrl-F5 नुदतु वा ।
  • Opera: Tools → Preferences इत्यत्र गत्वा कर्तुं शक्नोति ।
//See https://www.mediawiki.org/wiki/Extension:WikiLove for basic documentation on configuration.
//<nowiki>
( function( $ ) {
$.wikiLoveOptions.types.food =
	{
				name: mw.msg( 'wikilove-type-food' ), // name of the type (appears in the types menu)
				select: mw.msg( 'wikilove-food-select' ), // subtype select label
				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: { // some different subtypes
					// note that when not using subtypes you should use these subtype options
					// for the top-level type
					baklava: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-baklava-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-baklava-desc' ),
           header: mw.msg( 'wikilove-food-baklava-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Malpua (dessert).jpg', // image for the award
           imageSize: '335px' // size to display imagesize to display image
					},
					beer: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-beer-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-beer-desc' ),
           header: mw.msg( 'wikilove-food-beer-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Piimä.png', // image for the award
           imageSize: '335px' // size to display imagey imageSize: '70px'
					},
					brownie: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-brownie-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-brownie-desc' ),
           header: mw.msg( 'wikilove-food-brownie-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Calicut Black Halwa.jpg', // image for the award
           imageSize: '335px' // size to display imagey imageze: '120px'
					},
					bubbletea: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-bubbletea-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-bubbletea-desc' ),
           header: mw.msg( 'wikilove-food-bubbletea-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Kheer.jpg', // image for the award
           imageSize: '335px' // size to display imageay imageeSize: '65px'
					},
					cheeseburger: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-cheeseburger-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-cheeseburger-desc' ),
           header: mw.msg( 'wikilove-food-cheeseburger-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Marro Dhokla.jpg', // image for the award
           imageSize: '335px' // size to display image imageze: '120px'
					},
					cookie: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-cookie-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-cookie-desc' ),
           header: mw.msg( 'wikilove-food-cookie-header' ), // header that appears at the top of the talk page post (optional)
           image: 'MMutta- Savouries1.JPG', // image for the award
           imageSize: '335px' // size to display image imageze: '120px'
					},
					coffee: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-coffee-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-coffee-desc' ),
           header: mw.msg( 'wikilove-food-coffee-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Ras Malai 2.JPG', // image for the award
           imageSize: '335px' // size to display imageimageze: '120px'
					},
					tea: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-tea-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-tea-desc' ),
           header: mw.msg( 'wikilove-food-tea-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Mishti Doi.jpg', // image for the award
           imageSize: '335px' // size to display imagey imageze: '120px'
					},
					cupcake: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-cupcake-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-cupcake-desc' ),
           header: mw.msg( 'wikilove-food-cupcake-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Rasgullas.JPG', // image for the award
           imageSize: '335px' // size to display imageimageeSize: '120px'
					},
					pie: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-pie-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-pie-desc' ),
           header: mw.msg( 'wikilove-food-pie-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Besan Laddu cropped.jpg', // image for the award
           imageSize: '335px' // size to display imageSize: '120px'
					},
					strawberries: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-strawberries-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-strawberries-desc' ),
           header: mw.msg( 'wikilove-food-strawberries-header' ), // header that appears at the top of the talk page post (optional)
           image: 'La Trinidad Strawberries.jpg', // image for the award
           imageSize: '335px' // size to display imagegeSize: '120px'
					},
					stroopwafels: {
           fields: ['message' ], // fields to ask for in form
           option: mw.msg( 'wikilove-food-stroopwafels-option' ), // option listed in the select list
           descr: mw.msg( 'wikilove-food-stroopwafels-desc' ),
           header: mw.msg( 'wikilove-food-stroopwafels-header' ), // header that appears at the top of the talk page post (optional)
           image: 'Chikki assortment.jpg', // image for the award
           imageSize: '335px' // size to display imageageSize: '135px'
					}
				},
				icon: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Indian_Thali_(Gujrati).jpg/56px-Indian_Thali_(Gujrati).jpg'
			};

$.wikiLoveOptions.types.kitten =
{
        name: mw.msg( 'wikilove-type-kittens' ),
        fields: [ 'header', 'message' ],
        header: mw.msg( 'wikilove-kittens-header' ),
        text: '[[$3|left|150px]]\n$1\n\n~~~~\n<br style="clear: both;"/>', // $3 is the image filename
        gallery: {
          imageList: [ 'Braunvieh Jungtier 1 Tag alt 02.JPG', 'Calf still in fields.jpg', 'Sanketh dairy3.jpg', 'Pure Innocence.jpg', 'Auerochse, Kalb (Bos primigenius primigenius).jpg', 'Braunvieh Jungtier 1 Tag alt 01.JPG' ],
          width: 145,
          height: 150,
          number: 3
        },
        icon: 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Veau%2C_Gauhadi%2C_MP%2C_India.jpg/56px-Veau%2C_Gauhadi%2C_MP%2C_India.jpg'
        
};

} )( jQuery );
//</nowiki>
"https://sa.wikipedia.org/w/index.php?title=सदस्यः:स/common.js&oldid=435264" इत्यस्माद् प्रतिप्राप्तम्