Template:TabsBar/doc: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
*[[func water (Source)]] and {{T|TabsBar/Func water (Source)}} | *[[func water (Source)]] and {{T|TabsBar/Func water (Source)}} | ||
Shortcuts: | Shortcuts (use {{param|base}}): | ||
* {{t|tabsBar/gs}} - For entities in GoldSrc and Source 1, which have the same classname in both | * {{t|tabsBar/gs}} - For entities in GoldSrc and Source 1, which have the same classname in both | ||
* {{t|tabsBar/s2}} - For entities in Source 1 and Source 2, which have the same classname in both | * {{t|tabsBar/s2}} - For entities in Source 1 and Source 2, which have the same classname in both |
Revision as of 13:28, 4 September 2024
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:
- player and {{TabsBar/Player}}
- env_beam and {{TabsBar/Env beam}}
- npc_headcrab and {{TabsBar/Npc headcrab}}
- npc_vortigaunt and {{TabsBar/Npc vortigaunt}}
- func water (Source) and {{TabsBar/Func water (Source)}}
Shortcuts (use {{{base}}}):
- {{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
), but no other Source 1 games
Todo: finish doccumentation
Todo: Link to subpages