User:Altt311/votetools.js
外观
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
addDropdownMenu("VoteTags","投票",[
{
id : "support",
text : "支持",
tagOpen : "{\{support}\}",
tagClose : "—~~\~~\n"
},
{
id : "agree",
text : "贊成",
tagOpen : "{\{agree}\}",
tagClose : "—~~\~~\n"
},
{
id : "oppose",
text : "反對",
tagOpen : "{\{oppose}\}",
tagClose : "—~~\~~\n"
},
{
id : "neutral",
text : "中立",
tagOpen : "{\{neutral}\}",
tagClose : "—~~\~~\n"
},
{
id : "remind",
text : "提醒",
tagOpen : "{\{remind}\}",
tagClose : "—~~\~~\n"
},
{
id : "comment",
text : "意見",
tagOpen : "{\{comment}\}",
tagClose : "—~~\~~\n"
},
{
id : "reply",
text : "回覆",
tagOpen : "{\{reply}\}",
tagClose : "—~~\~~\n"
}
]);
addDropdownMenu("InvalidTags","無效票",[
{
id : "Container",
text : "無效票框",
tagOpen : "{\{\FollowLastIndent|#\|2=",
tagClose : "}\}"
},
{
id : "notQ",
text : "不合資格",
summary : "Notqualified",
tagOpen : "{\{Notqualifiedh}\}",
tagClose : "{\{Notqualifiedf}\}"
},
{
id : "noSign",
text : "無簽名",
summary : "Nosign",
tagOpen : "{\{Nosignh}\}",
tagClose : "{\{Nosignf}\}"
},
{
id : "dupe",
text : "重複票",
summary : "Votedup",
tagOpen : "{\{voteduph}\}",
tagClose : "{\{votedupf}\}"
},
{
id : "overtime",
text : "超過時限",
summary : "Overtime",
tagOpen : "{\{超過時限h}\}",
tagClose : "{\{超過時限f}\}"
},
{
id : "otherReason",
text : "其他原因",
summary : "Votevoid",
tagOpen : "{\{votevoidh}\}",
tagClose : "{\{votevoidf|原因}\}"
}
]);