Template:TabsBar/doc: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 18: | Line 18: | ||
* {{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 | ||
* {{t|tabsBar/gs2}} - For entities in GoldSrc, Source 1 and Source 2, which have the same classname in all three | * {{t|tabsBar/gs2}} - For entities in GoldSrc, Source 1 and Source 2, which have the same classname in all three | ||
* {{t|tabsBar/hls}} - For entities in GoldSrc and Half-Life: Source | * {{t|tabsBar/hls}} - For entities in GoldSrc and Half-Life (Deathmatch): Source, but no other Source 1 games | ||
{{todo|finish doccumentation }} <!-- whoever --> | {{todo|finish doccumentation }} <!-- whoever --> |
Revision as of 13:29, 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 (Deathmatch): Source, but no other Source 1 games
Todo: finish doccumentation
Todo: Link to subpages