Template:Tabs/doc: Difference between revisions
Jump to navigation
Jump to search
(Documented custom tab usage) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 26: | Line 26: | ||
|- | |- | ||
| align="center" | {{Param|custom1-3}} | | 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. | | 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>}} | | {{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}} }} | | {{Capsule| {{Tabs|Info player start|goldsrc=1|source=1|main=source|custom1=info_player_teamspawn}} }} | ||
Line 36: | Line 36: | ||
|} | |} | ||
</div> | </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! |