Template:Tabs/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 11: | Line 11: | ||
| align="center" | No Parameters | | align="center" | No Parameters | ||
| Places the template and specifies the page to create tabs for. | | Places the template and specifies the page to create tabs for. | ||
| {{CodeBlock|<nowiki>{{ | | {{CodeBlock|<nowiki>{{Tabs|Info player start}}</nowiki>}} | ||
| {{Capsule| {{ | | {{Capsule| {{Tabs|info_player_start}} }} | ||
|- | |- | ||
| align="center" | Software shortname | | align="center" | Software shortname | ||
| Specifies in which software the current entity is also available. | | Specifies in which software the current entity is also available. | ||
| {{CodeBlock|<nowiki>{{ | | {{CodeBlock|<nowiki>{{Tabs|Info player start|goldsrc=1|source=1}}</nowiki>}} | ||
| {{Capsule| {{ | | {{Capsule| {{Tabs|Info player start|goldsrc=1|source=1}} }} | ||
|- | |- | ||
| align="center" | {{Param|main}} | | align="center" | {{Param|main}} | ||
| Specifies the default software. | | Specifies the default software. | ||
| {{CodeBlock|<nowiki>{{ | | {{CodeBlock|<nowiki>{{Tabs|Info player start|goldsrc=1|source=1|main=source}}</nowiki>}} | ||
| {{Capsule| {{ | | {{Capsule| {{Tabs|Info player start|goldsrc=1|source=1|main=source}} }} | ||
|} | |} | ||
<includeonly>[[Category:Templates]]</includeonly> | <includeonly>[[Category:Templates]]</includeonly> | ||
Revision as of 11:44, 18 January 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. |