Template:TabsBar/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div style="display:flex; gap:12px; border-bottom:1px solid rgb(104 104 104); margin-bottom:8px">
improved version of {{T|Tabs}}
 
instead of editing all the pages that are in the tabs this works by making specific tab bar for chosen pages
 
see [[Player]] and {{T|TabsBar/Player}}
 
{{todo|finish doccumentation}}
 
<includeonly>
 
<onlyinclude><div style="display:flex; gap:12px; border-bottom:1px solid rgb(104 104 104); margin-bottom:8px">
{{#ifexist: Template:TabsBar/{{{main|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{LanguageBar/basepage}}}}}
{{#ifexist: Template:TabsBar/{{{main|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{LanguageBar/basepage}}}}}
| {{ TabsBar/{{{main|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{LanguageBar/basepage}}}}} }}
| {{ TabsBar/{{{main|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{LanguageBar/basepage}}}}} }}
Line 6: Line 16:
| alt = Create new tabs bar with this page as main
| alt = Create new tabs bar with this page as main
| preload = TabsBar/preload|{{{main|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{LanguageBar/basepage}}}}}}}
| preload = TabsBar/preload|{{{main|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{LanguageBar/basepage}}}}}}}
}}</div>
}}</div></onlyinclude>
 
</includeonly>

Revision as of 13:57, 3 September 2024

improved version of {{Tabs}}

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

see Player and {{TabsBar/Player}}

Todo: finish doccumentation