User:Nastoshka/TemplateScript.js

Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
// <pre><nowiki>
$.getScript('//tools.wmflabs.org/meta/scripts/pathoschild.templatescript.js', function() {
	pathoschild.TemplateScript.add(
	[
		{ name:'De minimis', template:'{{De minimis |1= |reason= }}', editSummary:'+de minimis!' },
		{ name:'descrizione', template:'{{Description missing', editSummary:'description missng'},
		{name:'Persona riconoscibile', template:'{{Personality rights}}', editSummary:' identifiable person(s)'},
		{name:'Bad source', template:'{{Bsr}}', editSummary:'Bad source'},
		],
	{ category:'Tag per il patrolling', position:'cursor', isMinorEdit:true} // common fields
);
	pathoschild.TemplateScript.add(
		[
			{ name:'Violazione di Copyright', template: '{{Copyvio |1= |source= }} ', editSummary: 'copyviol'},
			{ name:'Da cancellare', template: '{{Speedydelete |1= }}', editSummary: 'delete asap'},
			],
			{category:'Cancellazione', position:'cursor'} // common fields
		);
	pathoschild.TemplateScript.add(
		[
			{ name:'Congresso - Immagine', template: '{{LOC-image |id= |division= }}' },
			{ name:'Congresso - mappa', template: '{{LOC-map |id= |division= }}' },
			{ name:'70anni post mortem', template: '{{PD-old}}' },
			{ name:'100anni post mortem', template: '{{PD-old-100}}' },
			{name:'Pubblica amministrazione', template: '{{PD-Italy-EdictGov}}' },
			{name:'Opera di arte', template: '{{PD-Art |1=PD-old-auto, PD-old-auto-1923, PD-old-100, PD-USGov |deathyear= |country= }}' },
			{name:'Trademark', template:'{{Trademarked}}'},
			{name:'text logo', template:'{{PD-text-logo}}'},
			{name:'simple object', template:'{{PD-text/shape/font}}'},
			],
			{category:'Copyright', position:'cursor', editSummary: 'copyright tag added'} // common fields
		);
	pathoschild.TemplateScript.add(
		[
			{name:'Vector available', template: '{{Vector version available |1= }}', editSummary: 'vector version available'},
			{name:'Raster available', template: '{{Bitmap version available |1= }}', editSummary: 'raster version available'},
			{name:'Cleanup', template: '{{cleanup image|<explanation>}}', editSummary: 'cleanup needed'},
			{name:'Bassa qualità', template: '{{Low quality}}', editSummary:'Low quality'},
			{name:'Watermark', template:'{{Watermark}}', editSummary: 'Watermark'},
			{name:'Convert', template:'{{Convert to SVG}}', editSummary: 'Conversion needed'},
			{name:'Sfocato', template:'{{Blurry}}', editSummary: 'Blurry image'},
			{name:'Artwork', template:'{{Artwork\n|artist =\n|author =\n|title =\n|description =\n|date ={{Other date |1= |2= }}\n|medium ={{Technique}}\n|dimensions ={{Size|unit=cm|width=76.7|height=83.5}}\n|institution ={{Institution:Louvre}}\n|department =\n|place of discovery =\n|object history =\n|exhibition history =\n|credit line = |inscriptions ={{inscription |1= |full form= |type= |side= |position= |description= |comment= |ID= |language= |translation= |en= |de= |medium= }}\n|notes =\n|accession number =\n|place of creation  =\n|source =\n|permission ={{PD-art|PD-old-100}}\n|other_versions =\n|references =\n|wikidata =\n}}', editSummary: 'Infobox Artwork added'},
			{name:'Book', template:'{{Book\n|Author =\n|Translator =\n|Editor =\n|Illustrator=\n|Title  =\n|Subtitle   =\n|Series title   =\n|Volume =\n|Edition=\n|Publisher =\n|Printer=\n|Date ={{Other date |1= |2= }}\n|City =\n|Language =\n|Description=\n|Source =\n|Permission =\n|Image =\n|Image page =\n|Pageoverview =\n|Wikisource =\n|Homecat=\n|Other_versions =\n|ISBN   =\n|LCCN   =\n|OCLC   =\n|References =\n|Linkback   =\n}}', editSummary: 'Book infobox added'},
			{name:'Flag', template:'{{Flag\n|of =\n|default =\n|country =\n|othernames =\n|from =\n|until =\n|creator =\n|drawn by =\n|format =\n|shape =\n|FIAV =\n|maincolors =\n|characteristics =\n|permission =\n|notes =\n|other versions =\n}}', editSummary: 'Flag infobox added'},
			{name:'Coa-infobox', template:'{{COAInformation\n|blazon of =\n|blazon =\n|references =\n|tincture ={{Tincture|}}\n |description =|date =\n|artist  =\n|source  ={{Created with Inkscape}}\n|permission  =\n|other versions  =\n|other fields ={{Igen}}\n}}', editSummary:'infobox for coa'},
			],
			{category: 'Vari e cleanup', position: 'cursor'}
	);
});
// </nowiki></pre>