用戶討論:Bounce1996
/define buttons 定義按鈕與下拉菜單 addEditButton('btnInterLink',{ src : 'c/c0/Button_link.png', tagOpen : '[[', sampleText : '連結標題', tagClose : ']]', speedTip : wgULS("內部連結","內部連結") }); addEditButton('btnInterHashLink',{ src : "9/93/Button_sub_link.png", tagOpen : wgULS("[[條目#","[[條目#"), sampleText : wgULS("章節|文本","章節|文本"), tagClose : "]]", speedTip : wgULS("內部段落連結","內部段落連結") }); addEditButton('btnCategoryLink',{ src : "b/b0/Button_category02.png", tagOpen : "[[:Category:", sampleText : wgULS("分類名","分類名"), tagClose : "]]", speedTip : wgULS("分類連結","分類連結") }); addEditButton('btnMediaLink',{ src : '9/9d/Media_icon.png', tagOpen : '[[Media:', sampleText : 'Example.ogg', tagClose : ']]', speedTip : wgULS('媒體文件連結','媒體文件連結') }); addEditButton('btnExtraLink',{ src : '7/73/External_link_icon.png', tagOpen : '[', sampleText : 'http://www.example.com 連結標題', tagClose : ']', speedTip : wgULS('外部連結(加前綴 http://)',"外部連接(加前綴http://)") }); addEditButton('btnTemplateLink',{ src : "9/97/Template_button.png", tagOpen : "{{", sampleText : "模板名", tagClose : "}}", speedTip : wgULS("應用模板","模板") }); addEditButton('btnCategory',{ src : "b/b4/Button_category03.png", tagOpen : "[[Category:", sampleText : wgULS("分類名","分類名"), tagClose : "]]", speedTip : wgULS("分類","分類") }); addEditButton('btnRedirect',{ src : "4/47/Button_redir.png", tagOpen : "#REDIRECT [[", sampleText : wgULS("目標條目名","目標條目名"), tagClose : "]]", speedTip : "重定向" }); addEditButton('btnImage',{ src : 'f/f0/Image_icon.png', tagOpen : '[[File:', sampleText : 'Example.jpg', tagClose : ']]', speedTip : wgULS('嵌入圖像','內嵌影像') }); addEditButton('btnAdvImage',{ src : "1/1c/Button_advanced_image.png",
tagOpen : "
錯誤:必須指定影像於第一行。
",
speedTip : wgULS("高級畫像", "高級畫像") }); var __temp="\nFile:PictureFileName.jpg|"+wgULS("圖片題注","圖片題注"); addEditButton('btnGallery',{ src : "9/9e/Btn_toolbar_gallery.png",
tagOpen : "
",
speedTip : wgULS("畫廊", "畫廊")
});
addEditButton('btnMath',{
src : '5/5b/Math_icon.png',
tagOpen : '解析失败 (语法错误): {\displaystyle ', sampleText : '插入数学公式', tagClose : '}
',
speedTip : wgULS('插入數學公式(LaTeX)',"插入數學公式(LaTeX)")
});
addEditButton('btnNowiki',{
src : '8/82/Nowiki_icon.png',
tagOpen : '',
sampleText : '插入非格式文本',
tagClose : '',
speedTip : wgULS('插入非格式文本','非維基格式文字')
});
addEditButton('btnSigOnly',{
src : 'd/d8/Button_sig_zh.png',
tagOpen : '~~\~',
sampleText : ,
tagClose : ,
speedTip : wgULS('簽名(無日期)','簽名(無日期)'),
width : 12
});
addEditButton('btnSignature',{
src : '6/6d/Button_sig.png',
tagOpen : '—~~\~~',
sampleText : ,
tagClose : ,
speedTip : wgULS('簽名','簽名')
});
addEditButton('btnHeadline2',{
src : 'e/e9/Button_headline2.png',
tagOpen : '== ',
sampleText : '標題文字',
tagClose : ' ==',
speedTip : wgULS('二級標題',"二級標題"),
action : 'lineInsert'
});
addEditButton('btnHeadline3',{
src : "3/3a/Button_headline3.png",
tagOpen : "=== ",
sampleText : wgULS("標題文本","標題文本"),
tagClose : " ===",
speedTip : wgULS("三級子標題","三級副標題"),
action : 'lineInsert'
});
addEditButton('btnHr',{
src : 'a/a4/H-line_icon.png',
tagOpen : '\n----\n',
sampleText : ,
tagClose : ,
speedTip : wgULS('水平線','水平線')
});
addEditButton('btnBr',{
src : "1/13/Button_enter.png",
tagOpen : "
",
sampleText : "",
tagClose : "",
speedTip : wgULS("換行","分行")
});
addEditButton('btnBold',{
src : '6/6f/Bold_icon.png',
tagOpen : '\'\'\,
sampleText : '粗體',
tagClose : '\'\'\,
speedTip : wgULS('粗體',"粗體")
});
addEditButton('btnItalic',{
src : 'd/d7/Italic_icon.png',
tagOpen : '\'\,
sampleText : '斜體',
tagClose : '\'\,
speedTip : wgULS('斜體',"斜體")
});
addEditButton('btnUnderline',{
src : 'f/fd/Button_underline.png',
tagOpen : '',
sampleText : wgULS("下劃線","下劃線"),
tagClose : '',
speedTip : wgULS("下劃線","下劃線")
});
addEditButton('btnStrike',{
src : "c/c9/Button_strike.png",
tagOpen : "",
sampleText : wgULS("刪除線","刪除線"),
tagClose : "",
speedTip : wgULS("刪除線","刪除線")
});
addEditButton('btnAlignLeft',{
src : "e/ea/Button_align_left.png",
tagOpen : '
sampleText : wgULS("左對齊","左對齊"),
tagClose : "\n",
speedTip : wgULS("左對齊","靠左對齊"), action : 'lineInsert' }); addEditButton('btnAlignCenter',{ src : "5/5f/Button_center.png",
tagOpen : '
sampleText : wgULS("居中","置中"),
tagClose : "\n",
speedTip : wgULS("居中","置中"), action : 'lineInsert' }); addEditButton('btnAlignRight',{ src : "a/a5/Button_align_right.png",
tagOpen : '
sampleText : wgULS("右對齊","靠右對齊"),
tagClose : "\n",
speedTip : wgULS("右對齊","靠右對齊"),
action : 'lineInsert'
});
addEditButton('btnSup',{
src : "6/6a/Button_sup_letter.png",
tagOpen : "",
sampleText : wgULS("上標","上標"),
tagClose : "",
speedTip : wgULS("上標","上標")
});
addEditButton('btnSub',{
src : "a/aa/Button_sub_letter.png",
tagOpen : "",
sampleText : wgULS("下標","下標"),
tagClose : "",
speedTip : wgULS("下標","下標")
});
addEditButton('btnBig',{
src : "5/56/Button_big.png",
tagOpen : '',
sampleText : "放大",
tagClose : "",
speedTip : "放大"
});
addEditButton('btnSmall',{
src : "5/58/Button_small.png",
tagOpen : '',
sampleText : wgULS("縮小","縮小"),
tagClose : "",
speedTip : wgULS("縮小","縮小")
});
addEditButton('btnShift',{
src : "8/8e/Button_shifting.png",
tagOpen : ":",
sampleText : "",
tagClose : "",
speedTip : wgULS("縮進","縮排"),
action : 'lineInsert'
});
addEditButton('btnEnum',{
src : "8/88/Btn_toolbar_enum.png",
tagOpen : "#",
sampleText : "",
tagClose : "",
speedTip : wgULS("數字列表","數字列表"),
action : 'lineInsert'
});
addEditButton('btnList',{
src : "1/11/Btn_toolbar_liste.png",
tagOpen : "*",
sampleText : "",
tagClose : "",
speedTip : wgULS("符號列表","符號列表"),
action : 'lineInsert'
});
addEditButton('btnDefine',{
src : "d/d3/Button_definition_list.png",
tagOpen : "; ",
sampleText : wgULS("釋義","釋義") ,
tagClose : " : ",
speedTip : wgULS("定義文本","定義文本"),
action : 'lineInsert'
});
addEditButton('btnColor',{
src : "1/1e/Button_font_color.png",
tagOpen : '',
sampleText : "彩色文本",
tagClose : "",
speedTip : "彩色文字"
});
addEditButton('btnQuote',{
src : "f/fd/Button_blockquote.png",
tagOpen : '{\{quote|\n',
sampleText : "引文",
tagClose : "\n}\}",
speedTip : wgULS("塊引用","塊引用")
});
addEditButton('btnCode',{
src : "2/23/Button_code.png",
tagOpen : "",
sampleText : wgULS("代码","程式碼"),
tagClose : "
",
speedTip : wgULS("代碼文本","程式碼文字")
});
addEditButton('btnSource',{
src : "d/d2/Button_source.png",
tagOpen : '
',
sampleText : wgULS("源代码","源程式碼"),
tagClose : "
",
speedTip : wgULS("高亮代碼","高亮程式碼") }); addEditButton('btnComment',{ src : "3/34/Button_hide_comment.png", tagOpen : "", speedTip : wgULS("註釋或隱藏文字","註釋或隱藏文字") }); addEditButton('btnTable',{ src : "0/04/Button_array.png", tagOpen : '\n{| border="1" \n|- \n| 第一部分 || 第二部分 \n|- \n| 第三部分 || 第四部分', sampleText : "", tagClose : "\n|}\n", speedTip : "插入表格" }); addEditButton('btnRef',{ src : "c/c4/Button_ref.png", tagOpen : "[1]", speedTip : wgULS("參考","參考") }); addEditButton('btnRef2',{ src : "c/cf/Button_ref_adv.png", tagOpen : '[2]', speedTip : wgULS("同項參考","同項參考"), width : 12 }); addEditButton('btnReferences',{ src : "f/fe/Button_refs.png",
tagOpen : '\n==參考資料==\n
',
sampleText : , tagClose : , speedTip : wgULS("參考資料區","參考資料區") }); delete __temp;
addDropdownMenu("articleEdit",wgULS('條目編輯','條目編輯'),[
{
id : "elink",
text : wgULS("外部連結章節","外部連結章節"),
tagOpen : "\n==外部連結==\n* [" ,
sampleText : "網頁地址 網頁說明" ,
tagClose : "]\n"
},
{
id : "image",
text : wgULS("地區語言圖像","地區語言圖像"),
tagOpen : "{\{Image\n" ,
sampleText : "\t|zh=無轉換圖像名\n\t|zh-hans=簡體圖像名\n\t|zh-hant= 繁體圖像名\n\t|zh-cn=大陸圖像名\n\t|zh-tw=臺灣圖像名\n\t|zh-hk=香港圖像名\n\t|zh=馬新圖像名\n\t|圖像屬性\n" ,
tagClose : "}\}"
},
{
id : "seealso",
text : wgULS("參見章節","參見章節"),
tagOpen : "\n==參見==\n* [[" ,
sampleText : "參見地址" ,
tagClose : "]]\n"
},
{
id : "Disambig",
text : wgULS("消歧義","消歧義"),
tagOpen : "\nBounce1996可以指:\n" ,
sampleText : "* 歧義1,描述1\n* 歧義2,描述2" ,
tagClose : "\n{\{disambig}\}"
},
{
id : "otheruses",
text : wgULS("條目消歧義","條目消歧義"),
tagOpen : "{\{Otheruses|",
sampleText : "條目名稱|subject=本頁主題描述|other=同名或類似名的其它條目描述",
tagClose : "}\}"
},
{
id : "Current",
text : wgULS("正在發生","正在發生"),
tagOpen : "{\{Current}\}",
sampleText : "",
tagClose : ""
},
{
id : "noconv",
text : wgULS("取消繁簡轉換","取消繁簡轉換"),
tagOpen : "-\{" ,
sampleText : "不轉換內容",
tagClose : "}\-"
},
{
id : "title",
text : wgULS("標題錯誤","標題錯誤"),
tagOpen : "-\{T|",
sampleText : "正確標題名稱",
tagClose : "}\-"
},
{
id : "noteTA",
text : wgULS("標題全文轉換","標題全文轉換"),
tagOpen : '{\{noteTA\n',
sampleText : '|G1=公共組名\n|1=zh-cn:大陸;zh-tw:台灣;zh-hk:香港;zh-sg:新馬;\n|2=zh-cn:大陸;zh-tw:台灣;zh-hk:香港;zh-sg:新馬;\n',
tagClose : "}\}"
},
{
id : "lrm",
text : "LRM符",
tagOpen : "\u200E",
sampleText : "",
tagClose : ""
}
]);
addDropdownMenu("articleMaintenance",wgULS('頁面維護','頁面維護'),[ { id : "stub", text : "小作品", tagOpen : "\n{\{" , sampleText : "" , tagClose : "小作品}\}" }, { id : "inuse", text : wgULS("正在編輯","正在編輯"), tagOpen : "{\{Inuse}\}", sampleText : "", tagClose : "" }, { id : "Unreferenced", text : wgULS("缺少參考文獻","缺少參考文獻"), tagOpen : "{\{subst:Unreferenced/auto}\}", sampleText : "", tagClose : "" }, { id : "Substub", text : wgULS("小小條目","小小條目"), tagOpen : "{\{subst:Substub/auto}\}", sampleText : "", tagClose : }, { id : "vfd", text : wgULS("標示刪除","標示刪除"), tagOpen : "{\{subst:vfd/auto|", sampleText : "理由", tagClose : "}\}" }, { id : "sd", text : wgULS("標示快速刪除","標示快速刪除"), tagOpen : "{\{Delete|", sampleText : "理由", tagClose : "}\}" }, { id : "Copyvio", text : wgULS("標示侵權","標示侵權"), tagOpen : "\n{\{subst:Copyvio/auto|url=", sampleText : "*http://url1\n*http://url2\n*http://url3", tagClose : "}\}\n" }, { id : "mergeto", text : wgULS("合併本條目到","合併本條目到"), tagOpen : "{\{mergeto|", sampleText : "合併本條目到的條目名稱", tagClose : "}\}" }, { id : "mergefrom", text : wgULS("合併到本條目","合併到本條目"), tagOpen : "{\{mergefrom|", sampleText : "需要合併到本條目的條目名稱", tagClose : "}\}" }, { id : "split", text : wgULS("分拆條目","分拆條目"), tagOpen : "{\{Split}\}", sampleText : "", tagClose : "" }, { id : "translation", text : wgULS("正在翻譯","正在翻譯"), tagOpen : "{\{translation|tfrom=", sampleText : "在此填入來源", tagClose : "|tpercent=翻譯進度百分數}\}" } ]);
addDropdownMenu("langTags",wgULS('非中文標明','非中文標明'),[ { id : "en", text : wgULS("英語","英語"), tagOpen : "{\{lang|en|", sampleText : wgULS("英語","英語"), tagClose : "}\}" }, { id : "de", text : wgULS("德語","德語"), tagOpen : "{\{lang|de|", sampleText : wgULS("德語","德語"), tagClose : "}\}" }, { id : "fr", text : wgULS("法語","法語"), tagOpen : "{\{lang|fr|", sampleText : wgULS("法語","法語"), tagClose : "}\}" }, { id : "ja", text : wgULS("日語","日語"), tagOpen : "{\{lang|ja|", sampleText : wgULS("日語","日語"), tagClose : "}\}" }, { id : "es", text : wgULS("西班牙語","西班牙語"), tagOpen : "{\{lang|es|", sampleText : wgULS("西班牙語","西班牙語"), tagClose : "}\}" }, { id : "ar", text : wgULS("阿拉伯語","阿拉伯語"), tagOpen : "{\{lang|ar|", sampleText : wgULS("阿拉伯語","阿拉伯語"), tagClose : "|\u200E}\}" }, { id : "ru", text : wgULS("俄語","俄語"), tagOpen : "{\{lang|ru|", sampleText : wgULS("俄語","俄語"), tagClose : "}\}" }, { id : "he", text : wgULS("希伯來語","希伯來語"), tagOpen : "{\{lang|he|", sampleText : wgULS("希伯來語","希伯來語"), tagClose : "|\u200E}\}" }, { id : "el", text : wgULS("希臘語","希臘語"), tagOpen : "{\{lang|el|", sampleText : wgULS("希臘語","希臘語"), tagClose : "}\}" }, { id : "pt", text : wgULS("葡萄牙語","葡萄牙語"), tagOpen : "{\{lang|pt|", sampleText : wgULS("葡萄牙語","葡萄牙語"), tagClose : "}\}" }, { id : "langcode", text : wgULS("其他語言","其他語言"), tagOpen : "{\{lang|"+wgULS("在此填上語言代碼|","在此填上語言代碼|"), sampleText : wgULS("其他語言","其他語言"), tagClose : "}\}" }, { id : 'nochineseRedirect', text : '非中文重定向', tagOpen : '{\{非中文重定向}\}', sampleText : , tagClose : } ]);
與Bounce1996發起討論
討論頁是用於討論如何將Wikipedia上的內容變得更好的地方。您可以發起新討論來建立聯繫以及與Bounce1996的協作。您在此處的發言將會公開顯示。