首页
最近更改
MediaWiki帮助
中文社区
模组
人物
团体
群聊
历史
外网社区
模组
发帖交流
论坛
聊天
博客
快捷访问
分类
文件列表
用户列表
用户通知
礼物列表
随机页面
聊天中的在线用户
模板
讨论
查看源代码
查看历史
刷新
创建账号
登录
查看“︁模板:VisualDataButton”︁的源代码
来自Age Of History 2 Chinese Wiki
←
VisualDataButton
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<noinclude> <pre> {{VisualDataButton |label = |value = |callback = |schema = |edit-page = |target-slot = |icon = }} </pre> <b>Attention!</b> VisualEditor won't handle the template correctly if it contains new lines!! <templatedata> { "description": "A parser function to print a button with value or data submitted to a (javascript) callback", "params": { "label": { "label": "label", "description": "button label", "type": "string", "required": true, "default": "", "example": "" }, "value": { "label": "label", "description": "button value", "type": "string", "required": false, "default": "", "example": "" }, "callback": { "label": "callback", "description": "(javascript) callback function", "type": "string", "required": true, "default": "", "example": "" }, "schema": { "label": "schema", "description": "schema name", "type": "string", "required": false, "default": "", "example": "" }, "edit-page": { "label": "edit-page", "description": "title of the page holding the data to edit (with edit action)", "type": "string", "required": false, "default": "", "example": "" }, "target-slot": { "label": "target-slot", "description": "target slot for article metadata, could be jsondata or main", "type": "string", "required": false, "default": "", "example": "" }, "icon": { "label": "icon", "description": "icon name (Mediawiki's OOUI)", "type": "string", "required": false, "default": "", "example": "" } } } </templatedata> </noinclude> <includeonly>{{#visualdatabutton:{{{label}}}|value = {{{value|}}}|callback = {{{callback|}}}|schema = {{{schema|}}}|edit-page = {{{edit-page|}}}|target-slot = {{{target-slot|}}}|icon = {{{icon|}}} }} </includeonly>
返回
VisualDataButton
。
工具
链入页面
相关更改
特殊页面
页面信息
Cargo数据