User:Polyhedron/editplus.js
外观
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
//<pre>
$(function (){
if(!document.getElementById('editform')) return;
var menu=document.getElementById("articleTags");
menu.options[menu.options.length]=new Option('引用杂志','citeJournal');
menu.options[menu.options.length]=new Option('引用网页','citeWeb');
menu.options[menu.options.length]=new Option('引用书籍','citeBook');
menu.options[menu.options.length]=new Option('引用新闻','citeNews');
menu.options[menu.options.length]=new Option('標音','biaoyin');
Templates["citeJournal"]=['<ref name="','xxx','">{\{cite journal | author = | title = | url = | journal = | volume = | issue = | pages = | year = | id = }\}<\/ref>'];
Templates["citeWeb"]=['<ref name="','xxx','">{\{cite web | publisher = | author = | title = | url = | accessdate = | accessyear =}\}<\/ref>'];
Templates["citeBook"]=['<ref name="','xxx','">{\{cite book |last= |first= |title= |url= |date= |publisher= |id= |pages=}\}<\/ref>'];
Templates["citeNews"]=['<ref name="','xxx','">{\{cite news | first = | last = | author = | coauthors =| url = | title = | work = | publisher = | pages = | page = | date = | accessdate = | language =}\}<\/ref>'];
Templates["biaoyin"]=['\{\{標音 | 字 = | 拼音 =',' ','| 注音 = | 中古 = | 反切 = | 同音字 = }\}'];
});
//</pre>