User:Cinemantique/common.js

function addExampleSentence{ /* var block = document.getElementById ('editpage-specialchars'); */ var block = document.getElementById ('editpage-copywarn'); if (!block) return; block.innerHTML =

'СУЩ ·  ' + 'ПРИЛ ·  ' + 'НАР ·  ' + 'СУЩ+ ·  ' + 'ПРИЛ+м-Р ·  ' + 'ПРИЛ+м-Д ·  ' + 'ПРИЛ+м-Т ·  ' + 'ПРИЛ+м-П ·  ' + '<a href=\'javascript:insertTags("&#123;{subst:User:Cinemantique/adj+|","|L=|C=nom|N=s|G=n|SH=|C2=acc|N2=s|G2=n|AN=|C3=|N3=|G3=|C4=|N4=|G4=}}","")\'>ПРИЛ+с1</a> ·  ' + '<a href=\'javascript:insertTags("&#123;{subst:User:Cinemantique/adj+|","|L=|C=nom|N=s|G=f|SH=|C2=|N2=|G2=|AN=|C3=|N3=|G3=|C4=|N4=|G4=}}","")\'>ПРИЛ+ж1</a> ·  ' + '<a href=\'javascript:insertTags("&#123;{subst:User:Cinemantique/adj+|","|L=|ins2=|C=gen|N=s|G=f|C2=dat|N2=s|G2=f|AN=|C3=ins|N3=s|G3=f|C4=prep|N4=s|G4=f}}","")\'>ПРИЛ+ж2</a> ·  ' + '<a href=\'javascript:insertTags("&#123;{subst:User:Cinemantique/adj+|","|L=|C=acc|N=s|G=f}}","")\'>ПРИЛ+ж3</a> ·  ' + '<a href=\'javascript:insertTags("&#123;{subst:User:Cinemantique/adj+ins2|","|L=|ins1=|C=ins|N=s|G=f}}","")\'>ПРИЛ+ж4</a> ·  ' + '<a href=\'javascript:insertTags("&#123;{subst:User:Cinemantique/adj+|","|L=|C=nom|N=p|G=|SH=|C2=acc|N2=p|G2=|AN=inan|C3=|N3=|G3=|C4=|N4=|G4=}}","")\'>ПРИЛ+мн1</a> ·  ' + '<a href=\'javascript:insertTags("&#123;{subst:User:Cinemantique/adj+|","|L=|C=gen|N=p|G=|SH=|C2=acc|N2=p|G2=|AN=an|C3=prep|N3=p|G3=|C4=|N4=|G4=}}","")\'>ПРИЛ+мн-Р</a> ·  ' + '<a href=\'javascript:insertTags("&#123;{subst:User:Cinemantique/adj+|","|L=|C=ins|N=p|G=|SH=|C2=|N2=|G2=|AN=|C3=|N3=|G3=|C4=|N4=|G4=}}","")\'>ПРИЛ+мн-Т</a> ·  ' + '<a href=\'javascript:insertTags("&#123;{subst:User:Cinemantique/adj+|","|L=|N=|G=|SH=1}}","")\'>ПРИЛ+кр</a> ' ; } $(addExampleSentence);

/** * Extra buttons in toolbar * @stats */ $.ajax({	url: 'https://meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/InsertWikiEditorButton.js&action=raw&ctype=text/javascript',	dataType: 'script',	cache: true }).done(function { // Акут	krInsertWikiEditorButton({ id: "mw-customeditbutton-myspecialbutton", icon: "//upload.wikimedia.org/wikipedia/commons/thumb/a/a2/A_with_acute.svg/22px-A_with_acute.svg.png", label: 'Акут', insertBefore: '́', insertAfter: '', sampleText: '' }); // Гравис	krInsertWikiEditorButton({ id: "mw-customeditbutton-myspecialbutton", icon: "//upload.wikimedia.org/wikipedia/commons/thumb/b/b2/A_with_grave.svg/22px-A_with_grave.svg.png", label: 'Гравис', insertBefore: '̀', insertAfter: '', sampleText: '' });

// Произношение krInsertWikiEditorButton({		id: "mw-customeditbutton-myspecialbutton",		icon: "//upload.wikimedia.org/wikipedia/commons/4/47/IPAicon.png",		label: 'Произношение',		insertBefore: '\n' +'===Pronunciation===\n' +'* \n',		sampleText: ''	});

// 	krInsertWikiEditorButton({		id: "mw-customeditbutton-myspecialbutton",		icon: "//upload.wikimedia.org/wikipedia/commons/6/66/L1-Lurraldebus.jpg",		label: ,		insertBefore: ,		sampleText: ''	});

// Этимология krInsertWikiEditorButton({		id: "mw-customeditbutton-myspecialbutton",		icon: "//upload.wikimedia.org/wikipedia/commons/thumb/4/47/List2_gray%26blue.svg/22px-List2_gray%26blue.svg.png",		label: ,		insertBefore: ' ',		sampleText: 	}); });