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 15: | Line 15: | ||
Shortcuts: | Shortcuts: | ||
* {{t|tabsBar| | * {{t|tabsBar|2=main=gs}} - For entities in GoldSrc and Source 1, which have the same classname in both | ||
* {{t|tabsBar| | * {{t|tabsBar|2=main=s2}} - For entities in Source 1 and Source 2, which have the same classname in both | ||
* {{t|tabsBar| | * {{t|tabsBar|2=main=gs2}} - For entities in GoldSrc, Source 1 and Source 2, which have the same classname in all three | ||
* {{t|tabsBar| | * {{t|tabsBar|2=main=hls}} - For entities in GoldSrc and Half-Life: Source {{hldms|also}}, but no other Source 1 games | ||
{{todo|finish doccumentation }} <!-- whoever --> | {{todo|finish doccumentation }} <!-- whoever --> |
Revision as of 13:24, 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:
- {{tabsBarmain=gs}} - For entities in GoldSrc and Source 1, which have the same classname in both
- {{tabsBarmain=s2}} - For entities in Source 1 and Source 2, which have the same classname in both
- {{tabsBarmain=gs2}} - For entities in GoldSrc, Source 1 and Source 2, which have the same classname in all three
- {{tabsBarmain=hls}} - For entities in GoldSrc and Half-Life: Source (also in
), but no other Source 1 games
Todo: finish doccumentation
Todo: Link to subpages