Template:Tabs

From Valve Developer Community
Jump to: navigation, search
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
View
Page history

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