跳转到内容

User:JAK/customEdittools.js

维基百科,自由的百科全书
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
addDropdownMenu("notetaa",wgULS('工具仔','工具仔'),[
	{ 
		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    : "" ,
		sampleText : "參考資料",
		tagClose   : ""
	},
	{ 
		id         : "ext",
		text       : wgULS("外部连结","外部連結"),
		tagOpen    : "" ,
		sampleText : "外部連結",
		tagClose   : ""
	},
	{ 
		id         : "footballer",
		text       : wgULS("足球运动员","足球運動員"),
		tagOpen    : "" ,
		sampleText : "足球運動員",
		tagClose   : ""
	},
	{ 
		id         : "squad",
		text       : wgULS("球员名单","球員名單"),
		tagOpen    : "" ,
		sampleText : "球員名單",
		tagClose   : ""
	},
	{ 
		id         : "nft",
		text       : wgULS("nft","nft"),
		tagOpen    : "{\{\n" ,
		sampleText : "nft|",
		tagClose   : "\n}\}"
	},
	{ 
		id         : "fc",
		text       : wgULS("fc","fc"),
		tagOpen    : "{\{\n" ,
		sampleText : "fc|",
		tagClose   : "\n}\}"
	},
	{ 
		id         : "subst",
		text       : wgULS("subst","subst"),
		tagOpen    : "{\{subst:\n" ,
		sampleText : "/auto",
		tagClose   : "\n}\}"
	}
]);