Template:Tabs

Từ Valve Developer Community
Bước tới điều hướng Bước tới tìm kiếm
Todo: {{{main}}} does not work with idtech and goldsrc or quake and goldsrc.
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
Info.png
The Template:Tabs/doc/vi documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

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