User:Nastoshka/TemplateScript.js

Note: You may have to bypass your browser’s cache to see the changes. In addition, after saving a sitewide CSS file such as MediaWiki:Common.css, it will take 5-10 minutes before the changes take effect, even if you clear your cache.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

/* globals $, pathoschild */

/**
 * 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([
		{
			category: 'Traduzioni',
			name: 'Ceco',
			template: '==Czech==\n===Etymology==={{rfelite|cs}} \nFrom {{inh|cs|sla-pro|*voda}}, ultimately from {{inh|ine-pro|cs|*wódr̥}} \n {{der|en|la|dictionarius}}, {{cog|no|fri||free}} \n {{bor|en|la|thēsaurus}}\n \n ===Pronunciation=== \n* {{cs-IPA|voda}}\n* {{hyphenation|у|каз|lang=cs}}\n* {{audio|Cs-voda.ogg|audio|lang=cs}}\n* {{rhymes|oda|lang=cs}}\n\n ===Noun===\n {{cs-noun|g=f}}\n{{cs-verb|a=p}} \n\n# [[translation]]\n#: {{ux|uk|Ex. bold the lem.|t= traslation |inline=1}}\n\n====Declension====\n{{cs-decl-noun|voda|vody|vodě|vodu|vodo|vodě|vodou|vody|vod|vodám|vody|vody|vodách|vodami}}\n\n====Derived terms====\n{{l|cs|lemma}}',
			position: 'cursor',
			editSummary: 'new czech word',
		},
		{
			category: 'Traduzioni',
			name: 'Ucraino',
			template: '== Ukrainian ==\n===Alternative forms===\n* {{alter|en|color||dialect}}\n===Etymology=== \n From {{inh|uk|sla-pro|*voda}} {{inh|uk|orv|*voda}}\n {{der|en|la|dictionarius}}, {{cog|no|fri||free}} \n {{bor|en|la|thēsaurus}} \n \n===Pronunciation=== \n* {{uk-IPA|voda}}\n* {{hyphenation|у|каз|lang=uk}}\n* {{rhymes|oda|lang=uk}}\n\n ===Verb===\n {{uk-verb|іти́|impf|pf=піти́}}\n{{uk-noun|імя́|gen2=імя́|n-in|і́мені|імена́}} \n\n# [[translation]]\n#: {{ux|uk|Example подобається.|t= traslation |inline=1}}\n\n====Declension====\n{{uk-decl-noun|voda|vody|vodě|vodu|vodo|vodě|vodou|vody|vod|vodám|vody|vody|vodách|vodami}}\n\n====Derived terms====\n{{l|cs|lemma}}\n\n===References===\n* {{R:uk:SUM-11}}' ,
			position: 'cursor',
			editSummary: 'new ukrainian word',
		},
		{
			category: 'Traduzioni',
			name: 'Serbo-croato',
			template: '==Serbo-Croatian== \n===Etymology=== \n From {{inh|sh|sla-pro|*voda}} {{inh|sh|orv|*voda}}\n {{der|en|la|dictionarius}}, {{cog|no|fri||free}} \n {{bor|en|la|thēsaurus}} \n\n===Pronunciation=== \n* {{sh-IPA|voda}}\n* {{hyphenation|у|каз|lang=sh}}\n* {{rhymes|oda|lang=sh}}\n\n ===Verb===\n {{sh-noun|g=m|head=у́ка̄з}}\n{{sh-verb|head=vȉti|a=impf}} \n\n# [[translation]]\n#: {{ux|sh|Example подобається.|t= traslation |inline=1}}\n\n====Declension====\n{{sh-decl-noun|voda|vody|vodě|vodu|vodo|vodě|vodou|vody|vod|vodám|vody|vody|vodách|vodami}}\n\n====Derived terms====\n{{l|sh|lemma}}\n',
			position: 'cursor',
			editSummary: 'new serbo-croatian word',
		},
		{
			category: 'Traduzioni',
			name: 'Sloveno',
			template: '==Slovene== \n===Etymology=== \n From {{inh|sh|sla-pro|*voda}} {{inh|sh|orv|*voda}}\n {{der|en|la|dictionarius}}\n\n===Pronunciation=== \n* {{IPA|//|lang=sl}}\n* {{sl-tonal|objáviti}}\n\n ===Verb===\n{{sl-verb|objáviti|impf|objávim|objavil}}} \n\n# [[translation]]\n#: {{ux|sl|Example подобається.|t= traslation |inline=1}}\n\n====Conjugation====\n{{sl-conj-iti-im|obj|á|v|\n|grnd=y\n|c-p=\n|e-g=\n|vsi-p=\n|nt-p=y\n}}\n\n====Derived terms====\n{{l|sh|lemma}}\n====References====\n* {{R:sl:SSKJ}}\n* {{R:sl:Fran}}',
			position: 'cursor',
			editSummary: 'new serbo-croatian word',
		},
		{
			category: 'Traduzioni',
			name: ' Bulgaro',
			template: '==Bulgarian==\n\n===Etymology===\nFrom {{inh|sh|sla-pro|*voda}} {{inh|sh|orv|*voda}}\n {{der|en|la|dictionarius}}\n\n===Pronunciation=== \n* {{IPA|//|lang=bg}}\n* {{hyphenation|по|ло|же|ние|lang=bg}}\n\n===Noun===\n{{bg-noun|g=n}}\n{{bg-noun-n-sg}} [[:Category:Bulgarian_headword-line_templates]]\n\n# [[translation]]\n#: {{ux|bg|Example подобається.|t= traslation |inline=1}}\n\n====Declension====\n[[:Category:Bulgarian_inflection-table_templates]]\n\n====Derived terms====\n{{l|sh|lemma}}\n\n====Synonyms====\n* {{sense|location, position}} {{l|bg|местоположение}}\n\n====References====\n* {{R:bg:BER}}\n* {{R:RBE}}',
			position: 'cursor',
			editSummary: 'new Bulgarian lemma',
		},
		{
			category: 'Aggiuntivi',
			name: 'Pronuncia',
			template: '===Pronunciation=== \n* {{sh-IPA|{{subst:pagename}}}}\n',
			position: 'cursor',
			editSummary: '+IPA',
		},
		{
			category: 'Aggiuntivi',
			name: 'uk-verb',
			template: '{{uk-conj-table|aspect=impf\n|infinitive=чита́ти\n|pres_actv_part=-\n|past_actv_part=-<!--|pres_adv_part=- absent-->\n|pres_adv_part=чи\n|past_adv_part=вши\n|pres_pasv_part=-\n|past_pasv_part=ий\n|past_pasv_part_impers=\n|pres_fut_1sg=ю\n|pres_fut_2sg=єш\n|pres_fut_3sg=є\n|pres_fut_1pl=ємо\n|pres_fut_2pl=єте\n|pres_fut_3pl=ють\n|impr_sg=й\n|impr_pl_1sg=ймо\n|impr_pl_2sg=йте\n|past_m=в\n|past_f=ла\n|past_n=ло\n|past_pl=ли}}\n\n{{uk-decl-adj|украї́нськ|и}}',
			position: 'cursor',
			editSummary: 'uk-conj',
		},
		{
			category: 'Aggiuntivi',
			name: 'uk-usage_ex',
			template: '{{ux|uk|Зві́дк ви?|Where are you from?}}}',
			position: 'cursor',
			editSummary: 'usage example (ukr)',
		},
		{
			category: 'Aggiuntivi',
			name: 'uk-reference',
			template: '===References===\n* {{R:uk:SUM-11}}',
			position: 'cursor',
			editSummary: '(ukr)',
		},
		{
			category: 'Aggiuntivi',
			name: 'it-reference',
			template: '===References===\n* {{R:CIE}}\n* {{R:DIO}}\n* {{R:it:Trec}}\n* {{R:it:dipi}}',
			position: 'cursor',
			editSummary: '(ukr)',
		},
		{
			category: 'Aggiuntivi',
			name: 'sh-reference',
			template: '===References===\n* {{R:sh:HJP}}\n* {{R:sh:RSHKJ}}\n* {{R:sh:RGJS}}\n* {{R:sh:Skok1971}}',
			position: 'cursor',
			editSummary: 'References',
		},		
		{
			category: 'Aggiuntivi',
			name: 'cz-reference',
			template: '===References===\n* {{R:ASCS}}\n* {{R:sh:RSHKJ}}\n* {{R:PSJC}}\n* {{R:SSJC}}',
			position: 'cursor',
			editSummary: 'References',
		},
{
			category: 'Ricostruzione',
			name: 'sla-pro',
			template: '{{reconstructed}}\n==Proto-Slavic==\n\n===Etymology===\n{{PIE root|sla-pro|}}\nfrom {{inh|sla-pro|ine-bsl-pro}} from {{der|sla-pro|ine-pro}}...\n\n===Verb/Noun===\n{{sla-decl-noun|nastroj|g=f}}\n{{sla-pro|a=impf}}\n\n# [[]]\n====Inflection====\n{{sla-conj-i/ě|bъ|d}}\n\n====Derived terms====\n{{der-top|Derived terms (13)}}\n* {{l|sla-pro|*bъdětva}}?\n{{der-mid}}\n{{der-bottom}}\n====Related termn===\n*{{l|sla-pro|}}\n\n====Descendants====\n* Church Slavonic: {{l|cu|бъдѣти}}\n{{top3}}\n* East Slavic:\n** Old East Slavic: {{l|orv|бъдѣти}}\n*** Russian: {{l|ru|бдеть}}\n*** Belarussian: {{l|be|бдеть}}\n*** Ukrainian: {{l|uk|бдеть}}\n{{mid3}}\n* South Slavic:\n** Old Church Slavonic:\n**: Cyrillic: {{l|cu|бъдѣти}}\n**: Glagolitic: {{l|cu|ⰱⱏⰴⱑⱅⰹ}}\n** Bulgarian: {{l|bg|бдя}}\n** Macedonian: {{l|mk|бдее}}\n** Serbo-Croatian:\n**: Cyrillic: {{l|sh|бде̏ти}},\n{{l|sh|бдје̏ти}}\n**: Latin: {{l|sh|bdȅti}}, {{l|sh|bdjȅti}}\n** Slovene: {{l/sl-tonal|bǝdẹ́ti|bdẹ́ti}}\n{{mid3}}\n* West Slavic:\n** Czech: {{l|cs|bdít}}\n** Old Polish: {{l|zlw-opl|bdzieć}}\n** Polish: {{l|pl|budzić}}\n** Slovak: {{l|sk|bdieť}}\n** Sorbian:\n*** Lower Sorbian: {{l|dsb|bźeś}}\n*** Lower Sorbian: {{l|dsb|buźiś}}\n{{bottom}}\n===References===\n* {{R:Derksen 2008|67}}\n* {{R:ru:Vasmer|будить}}\n* {{R:ru:Chernykh|будить|page=117|vol=2}}\n* {{R:sla:ESSJa|recons=*buditi|page-left=076|page-right=077|page=76f|vol=3}}\n',
			position: 'cursor',
			editSummary: '+ {{subst:PAGENAME}}',
		},
	]);
	});
// </nowiki>