Template:Tabs
来自Valve Developer Community
跳转到导航
跳转到搜索
Todo: {{{main}}} does not work with idtech and goldsrc or quake and goldsrc.

文档页面 Template:Tabs/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
This template is used when pages have different functions between engines or games. It creates tabs that automatically link to the corresponding pages.
Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
No Parameters | Places the template and specifies the page to create tabs for. | {{Tabs|Info player start}} |
|
Software shortname | Specifies in which software the current entity is also available. | {{Tabs|Info player start|goldsrc=1|source=1}} |
|
{{{main}}} | Specifies the default software. | {{Tabs|Info player start|goldsrc=1|source=1|main=source}} |
|
{{{custom1-3}}} | Specifies a custom tab to link to. This can be any page on the wiki, however it does not support links outside of wiki. Custom tabs appear after all others. | {{Tabs|Info player start|goldsrc=1|source=1|main=source|custom1=info_player_teamspawn}} |
|
{{{custom1-3alt}}} | Specifies an alternate title for the corresponding custom tabs. Remember that this does not automatically translate! | {{Tabs|Info player start|goldsrc=1|source=1|main=source|custom1=info_player_teamspawn|custom1alt=Multiplayer variant}} |
See also
隐藏分类: