Template:Tabs/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
m (Equalizer5118 moved page Template:EntityTabs/doc to Template:Tabs/doc)
(No difference)

Revision as of 12:42, 18 January 2024

Edit-copy.png
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.

It is needed to create tabs on entity pages if these entities have different functionality in different games or engines.

Parameters and Examples

Parameter Description Example Preview
No Parameters Places the template and specifies the page to create tabs for.
{{EntityTabs|Info player start}}
Software shortname Specifies in which software the current entity is also available.
{{EntityTabs|Info player start|goldsrc=1|source=1}}
{{{main}}} Specifies the default software.
{{EntityTabs|Info player start|goldsrc=1|source=1|main=source}}