Template:TabsBar/doc

From Valve Developer Community
Jump to navigation Jump to search

improved version of {{Tabs}}

instead of editing all the pages that are in the tabs this works by making specific tab bar as its own template for chosen pages


use: place {{TabsBar}} on main page, click show preview, click link it shows and follow instruction shown by preload, put {{TabsBar|main=whatever was chosen}} on other related pages


use examples:

Shortcuts:

  • {{tabsBar/gs}} - For entities in GoldSrc and Source 1, which have the same classname in both
  • {{tabsBar/s2}} - For entities in Source 1 and Source 2, which have the same classname in both
  • {{tabsBar/gs2}} - For entities in GoldSrc, Source 1 and Source 2, which have the same classname in all three
  • {{tabsBar/hls}} - For entities in GoldSrc and Half-Life: Source (also in Half-Life Deathmatch: Source), but no other Source 1 games
Todo: finish doccumentation
Todo: Link to subpages