Template:Tabs/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
== Parameters and Examples == | == Parameters and Examples == | ||
<div style=overflow:auto> | |||
{| class="standard-table" width="100%" | {| class="standard-table" width="100%" | ||
! Parameter | ! Parameter | ||
Line 23: | Line 24: | ||
| {{CodeBlock|<nowiki>{{Tabs|Info player start|goldsrc=1|source=1|main=source}}</nowiki>}} | | {{CodeBlock|<nowiki>{{Tabs|Info player start|goldsrc=1|source=1|main=source}}</nowiki>}} | ||
| {{Capsule| {{Tabs|Info player start|goldsrc=1|source=1|main=source}} }} | | {{Capsule| {{Tabs|Info player start|goldsrc=1|source=1|main=source}} }} | ||
|- | |||
| align="center" | {{Param|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. | |||
| {{CodeBlock|<nowiki>{{Tabs|Info player start|goldsrc=1|source=1|main=source|custom1=info_player_teamspawn}}</nowiki>}} | |||
| {{Capsule| {{Tabs|Info player start|goldsrc=1|source=1|main=source|custom1=info_player_teamspawn}} }} | |||
|- | |||
| align="center" | {{Param|custom1-3alt}} | |||
| Specifies an alternate title for the corresponding custom tabs. Remember that this does not automatically translate! | |||
| {{CodeBlock|<nowiki>{{Tabs|Info player start|goldsrc=1|source=1|main=source|custom1=info_player_teamspawn|custom1alt=Multiplayer variant}}</nowiki>}} | |||
| {{Capsule| {{Tabs|Info player start|goldsrc=1|source=1|main=source|custom1=info_player_teamspawn|custom1alt=Multiplayer variant}} }} | |||
|} | |} | ||
</div> | |||
== See also == | |||
* [[:Template:TabsBar]] | |||
<includeonly>[[Category:Templates]]</includeonly> | <includeonly>[[Category:Templates]]</includeonly> |
Latest revision as of 12:35, 16 November 2024

This is a documentation subpage for Template:Tabs.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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. | ||
Software shortname | Specifies in which software the current entity is also available. | ||
{{{main}}} | Specifies the default software. | ||
{{{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. | ||
{{{custom1-3alt}}} | Specifies an alternate title for the corresponding custom tabs. Remember that this does not automatically translate! |