MediaWiki:Gadget-Edittools-vector.js:修订间差异
跳到导航
跳到搜索
无编辑摘要
imported>=海豚= 小 (导入1个版本) |
imported>=海豚= 无编辑摘要 |
||
第24行: | 第24行: | ||
label: '分类', | label: '分类', | ||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons | icon: '//upload.wikimedia.org/wikipedia/commons/0/0c/VisualEditor_-_Icon_-_Tag.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: "[\[ | pre: "[\[ 分类:", | ||
post: "]]" | post: "]]" | ||
} | } | ||
第35行: | 第35行: | ||
} | } | ||
} ); | } ); | ||
this.wikiEditor('addToToolbar', { | this.wikiEditor('addToToolbar', { | ||
'section': 'advanced', | 'section': 'advanced', | ||
'group': 'format', | 'group': 'format', | ||
'tools': { | 'tools': { | ||
'strikethrough': { | 'strikethrough': { | ||
label: '删除线', | label: '删除线', | ||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons | icon: '//upload.wikimedia.org/wikipedia/commons/7/72/VisualEditor_-_Icon_-_Strikethrough-s.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
第70行: | 第55行: | ||
label: '下划线', | label: '下划线', | ||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons | icon: '//upload.wikimedia.org/wikipedia/commons/a/a9/VisualEditor_-_Icon_-_Underline-u.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
第79行: | 第64行: | ||
} | } | ||
}, | }, | ||
' | |||
label: ' | 'source': { | ||
label: ' 模板 引用', | |||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons/ | icon: '//upload.wikimedia.org/wikipedia/commons/2/2c/VisualEditor_-_Icon_-_Source.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: " | pre: "{{", | ||
post: | post: '}}' | ||
} | } | ||
} | } | ||
第95行: | 第81行: | ||
label: '左对齐', | label: '左对齐', | ||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons | icon: '//upload.wikimedia.org/wikipedia/commons/7/7f/OOjs_UI_icon_alignLeft.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
第108行: | 第94行: | ||
label: '居中', | label: '居中', | ||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons | icon: '//upload.wikimedia.org/wikipedia/commons/b/ba/OOjs_UI_icon_alignCenter.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: "< | pre: "<center>", | ||
post: "</ | post: "</center>" | ||
} | } | ||
} | } | ||
第121行: | 第107行: | ||
label: '右对齐', | label: '右对齐', | ||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons | icon: '//upload.wikimedia.org/wikipedia/commons/1/13/OOjs_UI_icon_alignRight.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
第127行: | 第113行: | ||
pre: "<div style=\"text-align: right;\">", | pre: "<div style=\"text-align: right;\">", | ||
post: "</div>" | post: "</div>" | ||
} | } | ||
} | } | ||
第150行: | 第123行: | ||
'group': 'insert', | 'group': 'insert', | ||
'tools': { | 'tools': { | ||
'hidden': { | 'hidden': { | ||
label: '注释或隐藏文字', | label: '注释或隐藏文字', | ||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons | icon: '//upload.wikimedia.org/wikipedia/commons/d/d1/VisualEditor_-_Icon_-_Comment.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
第180行: | 第140行: | ||
label: '水平线', | label: '水平线', | ||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons | icon: '//upload.wikimedia.org/wikipedia/commons/0/0e/VisualEditor_-_Icon_-_Remove-item.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
第186行: | 第146行: | ||
pre: "----", | pre: "----", | ||
ownline: true | ownline: true | ||
} | } | ||
} | } | ||
第207行: | 第153行: | ||
label: '参考文献区', | label: '参考文献区', | ||
type: 'button', | type: 'button', | ||
icon: '//upload.wikimedia.org/wikipedia/commons | icon: '//upload.wikimedia.org/wikipedia/commons/f/f9/VisualEditor_-_Icon_-_References.svg', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: "\n== | pre: "\n\n== 注释与外部链接==\n<references/>\n\n", | ||
} | } | ||
} | } |