Template:Tabs: Difference between revisions
Jump to navigation
Jump to search
(should fix issue with page name typed with lower case and _ characters) |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{todo|{{param|main}} does not work with {{code|idtech and goldsrc}} or {{code|quake and goldsrc}}.}} | {{todo|{{param|main}} does not work with {{code|idtech and goldsrc}} or {{code|quake and goldsrc}}.}} | ||
{{Doc}} | {{Doc}} | ||
<includeonly><onlyinclude><div style="display:flex; gap:12px; border-bottom:1px solid rgb(104 104 104); margin-bottom:8px"><!-- | <includeonly><onlyinclude><div style="display:flex; gap:12px; border-bottom:1px solid rgb(104 104 104); border-radius:4px 4px 0 0; padding:.5em .5em 0 .5em; margin-bottom:8px"><!-- | ||
- IdTech + GoldSrc shared - | - IdTech + GoldSrc shared - | ||
Line 69: | Line 69: | ||
-->{{#if:{{{csgo|}}}|{{Tabs/Tab|{{PAGENAME:{{{1|}}}}}|Counter-Strike: Global Offensive|main={{#switch:{{{main|}}}|csgo=true|false}}}}|}}<!-- | -->{{#if:{{{csgo|}}}|{{Tabs/Tab|{{PAGENAME:{{{1|}}}}}|Counter-Strike: Global Offensive|main={{#switch:{{{main|}}}|csgo=true|false}}}}|}}<!-- | ||
-->{{#if:{{{vtmb|}}}|{{Tabs/Tab|{{PAGENAME:{{{1|}}}}}|Vampire The Masquerade | -->{{#if:{{{vtmb|}}}|{{Tabs/Tab|{{PAGENAME:{{{1|}}}}}|Vampire: The Masquerade – Bloodlines|main={{#switch:{{{main|}}}|vtmb=true|false}}}}|}}<!-- | ||
-->{{#if:{{{sineps|}}}|{{Tabs/Tab|{{PAGENAME:{{{1|}}}}}|Sin Episodes|main={{#switch:{{{main|}}}|sineps=true|false}}}}|}}<!-- | -->{{#if:{{{sineps|}}}|{{Tabs/Tab|{{PAGENAME:{{{1|}}}}}|Sin Episodes|main={{#switch:{{{main|}}}|sineps=true|false}}}}|}}<!-- | ||
Line 75: | Line 75: | ||
-->{{#if:{{{bms|}}}|{{Tabs/Tab|{{PAGENAME:{{{1|}}}}}|Black Mesa|main={{#switch:{{{main|}}}|sineps=true|false}}}}|}}<!-- | -->{{#if:{{{bms|}}}|{{Tabs/Tab|{{PAGENAME:{{{1|}}}}}|Black Mesa|main={{#switch:{{{main|}}}|sineps=true|false}}}}|}}<!-- | ||
-->{{#if:{{{hls|}}}|{{Tabs/Tab|{{PAGENAME:{{{1|}}}}}|Half-Life: Source|main={{#switch:{{{main|}}}|sineps=true|false}}}}|}}<!-- | |||
- Source 2 - | - Source 2 - | ||
Line 88: | Line 89: | ||
- Custom tabs (document how these work) - | - Custom tabs (document how these work) - | ||
-->{{#if:{{{custom1|}}}|{{Tabs/Tab|{{{custom1|}}}|{{{custom1alt|{{{custom1}}}}}}|main={{#switch:{{{main|}}}|{{{custom1}}}=true|true}}}}|}}<!-- | -->{{#if:{{{custom1|}}}|{{Tabs/Tab|{{PAGENAME:{{{custom1|}}}}}|{{{custom1alt|{{{custom1}}}}}}|main={{#switch:{{{main|}}}|{{{custom1}}}=true|true}}}}|}}<!-- | ||
-->{{#if:{{{custom2|}}}|{{Tabs/Tab|{{{custom2|}}}|{{{custom2alt|{{{custom2}}}}}}|main={{#switch:{{{main|}}}|{{{custom2}}}=true|true}}}}|}}<!-- | -->{{#if:{{{custom2|}}}|{{Tabs/Tab|{{PAGENAME:{{{custom2|}}}}}|{{{custom2alt|{{{custom2}}}}}}|main={{#switch:{{{main|}}}|{{{custom2}}}=true|true}}}}|}}<!-- | ||
-->{{#if:{{{custom3|}}}|{{Tabs/Tab|{{{custom3|}}}|{{{custom3alt|{{{custom3}}}}}}|main={{#switch:{{{main|}}}|{{{custom3}}}=true|true}}}}|}}<!-- | -->{{#if:{{{custom3|}}}|{{Tabs/Tab|{{PAGENAME:{{{custom3|}}}}}|{{{custom3alt|{{{custom3}}}}}}|main={{#switch:{{{main|}}}|{{{custom3}}}=true|true}}}}|}}<!-- | ||
--></div></onlyinclude></includeonly> | --></div></onlyinclude></includeonly> |
Latest revision as of 15:42, 2 May 2025
Todo: {{{main}}} does not work with idtech and goldsrc or quake and goldsrc.
The above documentation is transcluded from Template:Tabs/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.