匿名
未登录
创建账号
登录
istudylinux
搜索
查看“模板6:Tabber窗口切换/doc”的源代码
来自istudylinux
命名空间
模板6
讨论
更多
更多
页面操作
阅读
查看源代码
历史
←
模板6:Tabber窗口切换/doc
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
This template is used, together with 模板:TabbedWindowEnd, to create the a tabbed window interface in documentation, e.g. for code snippets in multiple programming languages. The tabs will be created from the level 3 headings between the start/end templates. The template relies on [[MediaWiki:Gadget-tabbedwindow.js|Gadget-tabbedwindow.js]]. It can be used in the API, Help, Manual and the main namespace. == Example == <pre> {{TabbedWindowBegin}} === Python === <syntaxhighlight lang="Python" line='line'> code </syntaxhighlight> === JavaScript === <syntaxhighlight lang="javascript" line='line'> code </syntaxhighlight> {{TabbedWindowEnd}} </pre> {{TabbedWindowBegin}} === Python === <syntaxhighlight lang="Python" line='line'> code </syntaxhighlight> === JavaScript === <syntaxhighlight lang="javascript" line='line'> code </syntaxhighlight> {{TabbedWindowEnd}}
本页使用的模板:
模板:TabbedWindowBegin
(
查看源代码
)
模板:TabbedWindowEnd
(
查看源代码
)
返回至“
模板6:Tabber窗口切换/doc
”。
导航
导航
首页
最近更改
随机页面
MediaWiki帮助
Wiki工具
Wiki工具
特殊页面
页面值
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志