Template:Tabs/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Equalizer5118 moved page Template:EntityTabs/doc to Template:Tabs/doc)
mNo edit summary
Line 1: Line 1:
<noinclude>{{Doc/subpage}}</noinclude>
<noinclude>{{Doc/subpage}}</noinclude>
It is needed to create tabs on entity pages if these entities have different functionality in different games or engines.
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 ==
== Parameters and Examples ==

Revision as of 12:44, 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.

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.
{{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}}