function addExampleSentence(){
/* var block = document.getElementById ('editpage-specialchars'); */
var block = document.getElementById ('editpage-copywarn');
if (!block) return;
block.innerHTML =
'<a href=\'javascript:insertTags("{{subst:User:Cinemantique/n|","|m=|g=|a=|ix=|Der1=|Der2=|Der3=|etym=|g-sg=|n-pl=}}","")\'>СУЩ</a> · ' +
'<a href=\'javascript:insertTags("{{subst:User:Cinemantique/adj|","|comp=|sup=|m=|ix=|b1=|b2=|b3=|b4=|Der1=|Der2=|Der3=|etym=}}","")\'>ПРИЛ</a> · ' +
'<a href=\'javascript:insertTags("{{subst:User:Cinemantique/adv|","|m=|Der1=|Der2=|Der3=|etym=}}","")\'>НАР</a> · ' +
'<a href=\'javascript:insertTags("{{subst:User:Cinemantique/n+|","|L=|class=|C=|N=|C2=|N2=|C3=|N3=}}","")\'>СУЩ+</a> · ' +
'<a href=\'javascript:insertTags("{{subst:User:Cinemantique/adj+|","|L=|C=gen|N=s|G=m|SH=|C2=acc|N2=s|G2=m|AN=an|C3=gen|N3=s|G3=n|C4=|N4=|G4=|go=1}}","")\'>ПРИЛ+м-Р</a> · ' +
'<a href=\'javascript:insertTags("{{subst:User:Cinemantique/adj+|","|L=|C=dat|N=s|G=m|SH=|C2=dat|N2=s|G2=n|AN=|C3=|N3=|G3=|C4=|N4=|G4=}}","")\'>ПРИЛ+м-Д</a> · ' +
'<a href=\'javascript:insertTags("{{subst:User:Cinemantique/adj+|","|L=|C=ins|N=s|G=m|SH=|C2=ins|N2=s|G2=n|AN=|C3=dat|N3=p|G3=|C4=|N4=|G4=}}","")\'>ПРИЛ+м-Т</a> · ' +
'<a href=\'javascript:insertTags("{{subst:User:Cinemantique/adj+|","|L=|C=prep|N=s|G=m|SH=|C2=prep|N2=s|G2=n|AN=|C3=|N3=|G3=|C4=|N4=|G4=}}","")\'>ПРИЛ+м-П</a> · ' +
'<a href=\'javascript:insertTags("{{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("{{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("{{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("{{subst:User:Cinemantique/adj+|","|L=|C=acc|N=s|G=f}}","")\'>ПРИЛ+ж3</a> · ' +
'<a href=\'javascript:insertTags("{{subst:User:Cinemantique/adj+ins2|","|L=|ins1=|C=ins|N=s|G=f}}","")\'>ПРИЛ+ж4</a> · ' +
'<a href=\'javascript:insertTags("{{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("{{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("{{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("{{subst:User:Cinemantique/adj+|","|L=|N=|G=|SH=1}}","")\'>ПРИЛ+кр</a> ' ;
}
$(addExampleSentence);
/**
* Extra buttons in toolbar
* @stats ]
*/
$.ajax({
url: 'https://meta.wikimedia.orghttps://en.wiktionary.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'
+'* {{ru-IPA|',
insertAfter: '}}\n',
sampleText: ''
});
// {{l}}
krInsertWikiEditorButton({
id: "mw-customeditbutton-myspecialbutton",
icon: "//upload.wikimedia.org/wikipedia/commons/6/66/L1-Lurraldebus.jpg",
label: '{{l}}',
insertBefore: '{{l|ru|',
insertAfter: '}}',
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: '{{etyl}}',
insertBefore: '{{etyl|',
insertAfter: '|ru}} {{m||}}',
sampleText: ''
});
});