User:JAK/customEdittools.js
外观
< User:JAK
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
addDropdownMenu("customeditmenu","工具仔",[
{
id : "noteta",
text : wgULS('noteta','noteta'),
tagOpen : "{\{NoteTA\n" ,
sampleText : "|T=zh-hans:;zh-hk:;\n|1=zh-hans:;zh-hk:;",
tagClose : "\n}\}"
},
{
id : "ref",
text : wgULS('参考资料','參考資料') ,
tagOpen : "{\{\n" ,
sampleText : "參考資料",
tagClose : "\n}\}"
},
{
id : "ext",
text : wgULS('外部连结','外部連結'),
tagOpen : "{\{\n" ,
sampleText : "外部連結",
tagClose : "\n}\}"
},
{
id : "footballer",
text : wgULS('足球运动员','足球運動員'),
tagOpen : "{\{\n" ,
sampleText : "足球運動員",
tagClose : "\n}\}"
},
{
id : "squad",
text : wgULS('球员名单','球員名單'),
tagOpen : "{\{\n" ,
sampleText : "球員名單",
tagClose : "\n}\}"
},
{
id : "nft",
text : wgULS('nft','nft'),
tagOpen : "{\{nft\n" ,
sampleText : "|",
tagClose : "\n}\}"
},
{
id : "fc",
text : wgULS('fc','fc'),
tagOpen : "{\{fc\n" ,
sampleText : "|",
tagClose : "\n}\}"
},
{
id : "subst",
text : wgULS('subst','subst'),
tagOpen : "{\{subst:\n" ,
sampleText : "/auto",
tagClose : "\n}\}"
},
]);