Template:TabbedWindowBegin
Appearance
From mediawiki.org
This template is used, together with {{TabbedWindowEnd }}, to create 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 Gadget-tabbedwindow.js. It can be used in the API, Help, Manual and main namespaces.
Example
[edit ]{{TabbedWindowBegin}} === Python === <syntaxhighlight lang="Python" line='line'> print("Hello World!") </syntaxhighlight> === JavaScript === <syntaxhighlight lang="javascript" line='line'> console.log("Hello World!"); </syntaxhighlight> {{TabbedWindowEnd}}
The above documentation is transcluded from Template:TabbedWindowBegin/doc. (edit | history)
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.