王国风云2
ParaWikis
Notice
: Undefined index: HTTP_ACCEPT_LANGUAGE in
/data/wwwroot/www.parawikis.com/skins/Liberty/LibertyTemplate.php
on line
185
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
帮助
译名手册
字词转换
编辑指南
编辑规范
练手沙盒
资助我们
ParaTranz
资助我们
×
欢迎访问王国风云2百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“MediaWiki:Gadget-Edittools-vector.js”的源代码
←
MediaWiki:Gadget-Edittools-vector.js
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此JavaScript页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* Generic code */ window.customizeToolbar = function( customizer ) { /* Check if we are in edit mode and the required modules are available and then customize the toolbar */ if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) !== -1 ) { if ( mw.user.options.get('usebetatoolbar') ) { mw.loader.using( 'ext.wikiEditor', function () { $(document).ready( function() { customizer.call( $( '#wpTextbox1' ) ); } ); } ); } } } /* If the user manually chose this gadget */ if ( mw.user.options.get('gadget-Edittools-vector') ) { customizeToolbar( function() { this.wikiEditor('addToToolbar', { 'section': 'main', 'group': 'insert', 'tools': { 'category': { label: '分类', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/0/00/Structure_du_site_ic%C3%B4ne.svg/23px-Structure_du_site_ic%C3%B4ne.svg.png', action: { type: 'encapsulate', options: { pre: "[\[Category:", post: "]]" } } } } } ); this.wikiEditor('addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'bolditalic': { label: '粗斜体', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/b/be/Toolbaricon_bolditalic_A.png', action: { type: 'encapsulate', options: { pre: "'''''", periMsg: '粗斜体文字', post: "'''''" } } }, 'red': { label: '红字', type: 'button', icon: '//www.eu4cn.com/images/7/7e/Toolbaricon_red.png', action: { type: 'encapsulate', options: { pre: "{\{red|", periMsg: '红色加粗字体', post: "}}" } } }, 'green': { label: '绿字', type: 'button', icon: '//www.eu4cn.com/images/8/8e/Toolbaricon_green.png', action: { type: 'encapsulate', options: { pre: "{\{green|", periMsg: '绿色加粗字体', post: "}}" } } }, 'strikethrough': { label: '删除线', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/1/1a/Toolbaricon_strike.png', action: { type: 'encapsulate', options: { pre: "<s>", post: "</s>" } } }, 'underline': { label: '下划线', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/9/99/Gnome-format-text-underline.svg/22px-Gnome-format-text-underline.svg.png', action: { type: 'encapsulate', options: { pre: "<u>", post: "</u>" } } }, 'source': { label: '源代码', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Toolbaricon_source.svg/22px-Toolbaricon_source.svg.png', action: { type: 'encapsulate', options: { pre: "<source lang=\"text\">", post: '</source>' } } } } } ); this.wikiEditor('addToToolbar', { 'section': 'advanced', 'group': 'insert', 'tools': { 'math': { label: '数学公式', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/c/c2/Nuvola_apps_edu_mathematics-p.svg/22px-Nuvola_apps_edu_mathematics-p.svg.png', action: { type: 'encapsulate', options: { pre: "<math>", periMsg: '插入数学公式', post: "</math>" } } }, 'hidden': { label: '注释或隐藏文字', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/1/11/Toolbaricon_hiddencomment.png', action: { type: 'encapsulate', options: { pre: "<!-- ", post: " -->" } } }, 'hans-hant': { label: '繁简转换', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/9/9d/Toolbaricon_sr.png', action: { type: 'encapsulate', options: { pre: "-{", periMsg: '转换文字', post: "}-" } } }, 'references': { label: '参考资料区', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/8/8d/Wikieditor-references.png', action: { type: 'encapsulate', options: { pre: "\n==参考资料==\n<references />\n", } } } } } ); } ); }
返回
MediaWiki:Gadget-Edittools-vector.js
。
×
登录
密码
记住登录
加入王国风云2百科
忘记密码?
其他方式登录