The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu
Support the wiki on our official Ko-Fi page or Patreon page!
Template:Tabs: Difference between revisions
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="article-tabs {{{colorscheme|}}}"><!-- | |||
--><ul> | |||
{{#ifeq: {{lc:{{{show root}}}}} | no | <!-- hide root tab --> | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }} | class="at-selected" }}><!-- | |||
-->{{#if: {{{root title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}|<span {{#if: {{{root tooltip|}}} | title="{{{root tooltip}}}" }}>{{{root title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}|<span {{#if: {{{root tooltip|}}} | title="{{{root tooltip}}}" }}>{{PAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{BASEPAGENAME}} }}}}</span>]] | |||
}} | |||
</li> | |||
}}<!-- | |||
-->{{#if: {{{tab 1|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 1}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 1}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 1 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 1}}}|<span {{#if: {{{tab 1 tooltip|}}} | title="{{{tab 1 tooltip}}}" }}>{{{tab 1 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 1}}}|<span {{#if: {{{tab 1 tooltip|}}} | title="{{{tab 1 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 1}}}}}</span>]] | |||
}}{{#if: {{{subtab 1|}}} | {{{subtab 1}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 1 title|}}} | | |||
<li {{#if: {{{tab 1 tooltip|}}} | title="{{{tab 1 tooltip}}}" }}><span>{{{tab 1 title}}}</span>{{#if: {{{subtab 1|}}} | {{{subtab 1}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 2|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 2}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 2}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 2 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 2}}}|<span {{#if: {{{tab 2 tooltip|}}} | title="{{{tab 2 tooltip}}}" }}>{{{tab 2 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 2}}}|<span {{#if: {{{tab 2 tooltip|}}} | title="{{{tab 2 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 2}}}}}</span>]] | |||
}}{{#if: {{{subtab 2|}}} | {{{subtab 2}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 2 title|}}} | | |||
<li {{#if: {{{tab 2 tooltip|}}} | title="{{{tab 2 tooltip}}}" }}><span>{{{tab 2 title}}}</span>{{#if: {{{subtab 2|}}} | {{{subtab 2}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 3|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 3}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 3}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 3 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 3}}}|<span {{#if: {{{tab 3 tooltip|}}} | title="{{{tab 3 tooltip}}}" }}>{{{tab 3 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 3}}}|<span {{#if: {{{tab 3 tooltip|}}} | title="{{{tab 3 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 3}}}}}</span>]] | |||
}}{{#if: {{{subtab 3|}}} | {{{subtab 3}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 3 title|}}} | | |||
<li {{#if: {{{tab 3 tooltip|}}} | title="{{{tab 3 tooltip}}}" }}><span>{{{tab 3 title}}}</span>{{#if: {{{subtab 3|}}} | {{{subtab 3}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 4|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 4}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 4}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 4 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 4}}}|<span {{#if: {{{tab 4 tooltip|}}} | title="{{{tab 4 tooltip}}}" }}>{{{tab 4 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 4}}}|<span {{#if: {{{tab 4 tooltip|}}} | title="{{{tab 4 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 4}}}}}</span>]] | |||
}}{{#if: {{{subtab 4|}}} | {{{subtab 4}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 4 title|}}} | | |||
<li {{#if: {{{tab 4 tooltip|}}} | title="{{{tab 4 tooltip}}}" }}><span>{{{tab 4 title}}}</span>{{#if: {{{subtab 4|}}} | {{{subtab 4}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 5|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 5}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 5}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 5 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 5}}}|<span {{#if: {{{tab 5 tooltip|}}} | title="{{{tab 5 tooltip}}}" }}>{{{tab 5 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 5}}}|<span {{#if: {{{tab 5 tooltip|}}} | title="{{{tab 5 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 5}}}}}</span>]] | |||
}}{{#if: {{{subtab 5|}}} | {{{subtab 5}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 5 title|}}} | | |||
<li {{#if: {{{tab 5 tooltip|}}} | title="{{{tab 5 tooltip}}}" }}><span>{{{tab 5 title}}}</span>{{#if: {{{subtab 5|}}} | {{{subtab 5}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 6|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 6}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 6}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 6 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 6}}}|<span {{#if: {{{tab 6 tooltip|}}} | title="{{{tab 6 tooltip}}}" }}>{{{tab 6 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 6}}}|<span {{#if: {{{tab 6 tooltip|}}} | title="{{{tab 6 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 6}}}}}</span>]] | |||
}}{{#if: {{{subtab 6|}}} | {{{subtab 6}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 6 title|}}} | | |||
<li {{#if: {{{tab 6 tooltip|}}} | title="{{{tab 6 tooltip}}}" }}><span>{{{tab 6 title}}}</span>{{#if: {{{subtab 6|}}} | {{{subtab 6}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 7|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 7}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 7}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 7 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 7}}}|<span {{#if: {{{tab 7 tooltip|}}} | title="{{{tab 7 tooltip}}}" }}>{{{tab 7 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 7}}}|<span {{#if: {{{tab 7 tooltip|}}} | title="{{{tab 7 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 7}}}}}</span>]] | |||
}}{{#if: {{{subtab 7|}}} | {{{subtab 7}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 7 title|}}} | | |||
<li {{#if: {{{tab 7 tooltip|}}} | title="{{{tab 7 tooltip}}}" }}><span>{{{tab 7 title}}}</span>{{#if: {{{subtab 7|}}} | {{{subtab 7}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 8|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 8}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 8}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 8 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 8}}}|<span {{#if: {{{tab 8 tooltip|}}} | title="{{{tab 8 tooltip}}}" }}>{{{tab 8 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 8}}}|<span {{#if: {{{tab 8 tooltip|}}} | title="{{{tab 8 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 8}}}}}</span>]] | |||
}}{{#if: {{{subtab 8|}}} | {{{subtab 8}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 8 title|}}} | | |||
<li {{#if: {{{tab 8 tooltip|}}} | title="{{{tab 8 tooltip}}}" }}><span>{{{tab 8 title}}}</span>{{#if: {{{subtab 8|}}} | {{{subtab 8}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 9|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 9}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 9}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 9 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 9}}}|<span {{#if: {{{tab 9 tooltip|}}} | title="{{{tab 9 tooltip}}}" }}>{{{tab 9 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 9}}}|<span {{#if: {{{tab 9 tooltip|}}} | title="{{{tab 9 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 9}}}}}</span>]] | |||
}}{{#if: {{{subtab 9|}}} | {{{subtab 9}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 9 title|}}} | | |||
<li {{#if: {{{tab 9 tooltip|}}} | title="{{{tab 9 tooltip}}}" }}><span>{{{tab 9 title}}}</span>{{#if: {{{subtab 9|}}} | {{{subtab 9}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 10|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 10}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 10}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 10 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 10}}}|<span {{#if: {{{tab 10 tooltip|}}} | title="{{{tab 10 tooltip}}}" }}>{{{tab 10 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 10}}}|<span {{#if: {{{tab 10 tooltip|}}} | title="{{{tab 10 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 10}}}}}</span>]] | |||
}}{{#if: {{{subtab 10|}}} | {{{subtab 10}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 10 title|}}} | | |||
<li {{#if: {{{tab 10 tooltip|}}} | title="{{{tab 10 tooltip}}}" }}><span>{{{tab 10 title}}}</span>{{#if: {{{subtab 10|}}} | {{{subtab 10}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 11|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 11}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 11}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 11 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 11}}}|<span {{#if: {{{tab 11 tooltip|}}} | title="{{{tab 11 tooltip}}}" }}>{{{tab 11 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 11}}}|<span {{#if: {{{tab 11 tooltip|}}} | title="{{{tab 11 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 11}}}}}</span>]] | |||
}}{{#if: {{{subtab 11|}}} | {{{subtab 11}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 11 title|}}} | | |||
<li {{#if: {{{tab 11 tooltip|}}} | title="{{{tab 11 tooltip}}}" }}><span>{{{tab 11 title}}}</span>{{#if: {{{subtab 11|}}} | {{{subtab 11}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 12|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 12}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 12}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 12 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 12}}}|<span {{#if: {{{tab 12 tooltip|}}} | title="{{{tab 12 tooltip}}}" }}>{{{tab 12 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 12}}}|<span {{#if: {{{tab 12 tooltip|}}} | title="{{{tab 12 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 12}}}}}</span>]] | |||
}}{{#if: {{{subtab 12|}}} | {{{subtab 12}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 12 title|}}} | | |||
<li {{#if: {{{tab 12 tooltip|}}} | title="{{{tab 12 tooltip}}}" }}><span>{{{tab 12 title}}}</span>{{#if: {{{subtab 12|}}} | {{{subtab 12}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 13|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 13}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 13}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 13 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 13}}}|<span {{#if: {{{tab 13 tooltip|}}} | title="{{{tab 13 tooltip}}}" }}>{{{tab 13 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 13}}}|<span {{#if: {{{tab 13 tooltip|}}} | title="{{{tab 13 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 13}}}}}</span>]] | |||
}}{{#if: {{{subtab 13|}}} | {{{subtab 13}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 13 title|}}} | | |||
<li {{#if: {{{tab 13 tooltip|}}} | title="{{{tab 13 tooltip}}}" }}><span>{{{tab 13 title}}}</span>{{#if: {{{subtab 13|}}} | {{{subtab 13}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 14|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 14}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 14}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 14 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 14}}}|<span {{#if: {{{tab 14 tooltip|}}} | title="{{{tab 14 tooltip}}}" }}>{{{tab 14 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 14}}}|<span {{#if: {{{tab 14 tooltip|}}} | title="{{{tab 14 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 14}}}}}</span>]] | |||
}}{{#if: {{{subtab 14|}}} | {{{subtab 14}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 14 title|}}} | | |||
<li {{#if: {{{tab 14 tooltip|}}} | title="{{{tab 14 tooltip}}}" }}><span>{{{tab 14 title}}}</span>{{#if: {{{subtab 14|}}} | {{{subtab 14}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 15|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 15}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 15}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 15 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 15}}}|<span {{#if: {{{tab 15 tooltip|}}} | title="{{{tab 15 tooltip}}}" }}>{{{tab 15 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 15}}}|<span {{#if: {{{tab 15 tooltip|}}} | title="{{{tab 15 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 15}}}}}</span>]] | |||
}}{{#if: {{{subtab 15|}}} | {{{subtab 15}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 15 title|}}} | | |||
<li {{#if: {{{tab 15 tooltip|}}} | title="{{{tab 15 tooltip}}}" }}><span>{{{tab 15 title}}}</span>{{#if: {{{subtab 15|}}} | {{{subtab 15}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 16|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 16}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 16}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 16 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 16}}}|<span {{#if: {{{tab 16 tooltip|}}} | title="{{{tab 16 tooltip}}}" }}>{{{tab 16 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 16}}}|<span {{#if: {{{tab 16 tooltip|}}} | title="{{{tab 16 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 16}}}}}</span>]] | |||
}}{{#if: {{{subtab 16|}}} | {{{subtab 16}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 16 title|}}} | | |||
<li {{#if: {{{tab 16 tooltip|}}} | title="{{{tab 16 tooltip}}}" }}><span>{{{tab 16 title}}}</span>{{#if: {{{subtab 16|}}} | {{{subtab 16}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 17|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 17}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 17}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 17 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 17}}}|<span {{#if: {{{tab 17 tooltip|}}} | title="{{{tab 17 tooltip}}}" }}>{{{tab 17 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 17}}}|<span {{#if: {{{tab 17 tooltip|}}} | title="{{{tab 17 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 17}}}}}</span>]] | |||
}}{{#if: {{{subtab 17|}}} | {{{subtab 17}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 17 title|}}} | | |||
<li {{#if: {{{tab 17 tooltip|}}} | title="{{{tab 17 tooltip}}}" }}><span>{{{tab 17 title}}}</span>{{#if: {{{subtab 17|}}} | {{{subtab 17}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 18|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 18}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 18}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 18 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 18}}}|<span {{#if: {{{tab 18 tooltip|}}} | title="{{{tab 18 tooltip}}}" }}>{{{tab 18 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 18}}}|<span {{#if: {{{tab 18 tooltip|}}} | title="{{{tab 18 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 18}}}}}</span>]] | |||
}}{{#if: {{{subtab 18|}}} | {{{subtab 18}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 18 title|}}} | | |||
<li {{#if: {{{tab 18 tooltip|}}} | title="{{{tab 18 tooltip}}}" }}><span>{{{tab 18 title}}}</span>{{#if: {{{subtab 18|}}} | {{{subtab 18}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 19|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 19}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 19}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 19 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 19}}}|<span {{#if: {{{tab 19 tooltip|}}} | title="{{{tab 19 tooltip}}}" }}>{{{tab 19 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 19}}}|<span {{#if: {{{tab 19 tooltip|}}} | title="{{{tab 19 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 19}}}}}</span>]] | |||
}}{{#if: {{{subtab 19|}}} | {{{subtab 19}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 19 title|}}} | | |||
<li {{#if: {{{tab 19 tooltip|}}} | title="{{{tab 19 tooltip}}}" }}><span>{{{tab 19 title}}}</span>{{#if: {{{subtab 19|}}} | {{{subtab 19}}} }}</li> | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{tab 20|}}} | | |||
<li {{#ifeq: {{FULLPAGENAME}} | {{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 20}}} | |||
<!-- Page matches tab --> | |||
| class="at-selected" | |||
<!-- Page is a subtab of this tab --> | |||
| {{#ifeq: {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} | {{FULLPAGENAME:{{{root}}}/{{{tab 20}}}}} | class="at-selected" }} | |||
}}><!-- | |||
-->{{#if: {{{tab 20 title|}}} | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 20}}}|<span {{#if: {{{tab 20 tooltip|}}} | title="{{{tab 20 tooltip}}}" }}>{{{tab 20 title}}}</span>]] | |||
| [[{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 20}}}|<span {{#if: {{{tab 20 tooltip|}}} | title="{{{tab 20 tooltip}}}" }}>{{SUBPAGENAME:{{#if: {{{root|}}} | {{{root}}} | {{FULLPAGENAME:{{NAMESPACE}}:{{BASEPAGENAME}}}} }}/{{{tab 20}}}}}</span>]] | |||
}}{{#if: {{{subtab 20|}}} | {{{subtab 20}}} }}</li> | |||
| <!-- if link is empty, but title is not, then make a tab without link ---> | |||
{{#if: {{{tab 20 title|}}} | | |||
<li {{#if: {{{tab 20 tooltip|}}} | title="{{{tab 20 tooltip}}}" }}><span>{{{tab 20 title}}}</span>{{#if: {{{subtab 20|}}} | {{{subtab 20}}} }}</li> | |||
}} | |||
}} | |||
</ul> | |||
</div></includeonly><noinclude> | |||
{{Documentation}} | |||
[[it:Template:Scheda]] | |||
[[Category:Tab Templates]] | |||
</noinclude> |
Latest revision as of 23:08, 19 August 2022
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
- Description
This template is used to create tabs to help to navigate through subpages.
- Dependencies
This template uses the CSS associated to the class .article-tabs
on MediaWiki:Common.css and the associated JS codes on MediaWiki:Common.js.
Note: the CSS also uses CSS variables that are unique to The Codex. If you wish to export this template on another wiki, either substitute the CSS variables with normal values or make your own.
- Syntax
{{Tabs | colorscheme = | root = | root title = | show root = | root tooltip = | tab # = | tab # title = | tab # tooltip = | subtab # = }}
- Parameters
All parameters are optional.
- colorscheme= name of a color scheme to use from MediaWiki:ColorSchemes.css.
- root= full name of the root page, namespace included, default:
{{NAMESPACE}}:{{BASEPAGENAME}}
. - root title= name to display in the tab for the root page link, default: the name used for root=.
- show root= if equals to
no
the root tab will be hidden. - root tooltip= tooltip to display.
- tab #= name of a subpage to link with a new tab. A maximum of 20 subpage tabs are supported.
- tab # title= name to display in the tab for the subpage link, default: the name used for tab #=. If tab #= is left empty, but tab # title= is defined, then a tab without link will be displayed.
- tab # tooltip= tooltip to display.
- subtab #= A second {{Tabs}} can be nested to create second-level tabs under tab #=.
- Examples
The above example is created with the following code:
{{Tabs | root = Gomu Gomu no Mi | root title = | tab 1 = Techniques | tab 1 title = | tab 2 = Gear Second Techniques | tab 2 title = }}
The above example is created with the following code:
{{Tabs | colorscheme = GomuColors | root = Gomu Gomu no Mi | tab 1 = Techniques | tab 2 = Gear Second Techniques }}
The above example is created with the following code:
{{Tabs | colorscheme = GomuColors | root = Gomu Gomu no Mi | root title = Fruit | tab 1 = Techniques | tab 1 title = Base | tab 1 tooltip = Base techniques | tab 2 = Gear Second Techniques | tab 2 title = Gear 2nd | tab 2 tooltip = Advanced techniques }}
Using two {{Tabs}} adjacent to each other will change the style of the second one a bit. The above example is created with the following code:
{{Tabs | colorscheme = StrawHatPiratesColors | root = Nami | root title = Introduction | tab 1 = Gallery | tab 1 title = | tab 2 = Personality and Relationships | tab 2 title = | tab 3 = Abilities and Powers | tab 3 title = | tab 4 = History | tab 4 title = | tab 5 = Misc. | tab 5 title = }} {{Tabs | colorscheme = SubTabsColors | root = Nami/History | root title = Past and Before the Timeskip | tab 1 = During and After the Timeskip | tab 1 title = }}
The above example is created with the following code:
{{Tabs | colorscheme = StrawHatPiratesColors | root = Monkey D. Luffy | root title = Introduction | tab 1 = Gallery | tab 2 = Personality | tab 3 = Relationships | subtab 3 = {{Tabs | colorscheme = | root = Monkey D. Luffy/Relationships | root title = Crew | tab 1 = Family | tab 2 = Pirates | tab 3 = Emperors and Crews | tab 4 = World Government | tab 5 = Citizens | tab 6 = Misc. }} | tab 4 = Abilities and Powers | tab 5 = History | subtab 5 = {{Tabs | colorscheme = | root = Monkey D. Luffy/History | root title = East Blue | root tooltip = Past, East Blue Saga | tab 1 = Paradise | tab 1 title = | tab 1 tooltip = Alabasta Saga, Sky Island Saga, Water 7 Saga | tab 2 = Summit War | tab 2 title = | tab 2 tooltip = Thriller Bark Saga, Summit War Saga | tab 3 = Straw Hats Return | tab 3 title = | tab 3 tooltip = During the Timeskip, Fish-Man Island Saga | tab 4 = New World | tab 4 title = | tab 4 tooltip = Dressrosa Saga | tab 5 = Whole Cake | tab 5 title = | tab 5 tooltip = Four Emperors Saga: Zou Arc, Whole Cake Island Arc | tab 6 = Wano | tab 6 title = | tab 6 tooltip = Four Emperors Saga: Levely Arc, Wano Country Arc }} | tab 6 = Misc. }}
- Main
- FUNimation/Voice Actors
- Episode List and DVD Releases
It's possible to rearrange the tabs in a second level, even if the have the same "root", by making a tab without a link and a subtab. The above example is created with the following code:
{{Tabs | colorscheme = | root = FUNimation | root title = Main | tab 1 = Voice Actors | tab 1 title = | tab 2 = | tab 2 title = Episode List and DVD Releases | subtab 2 = {{Tabs | colorscheme = | root = FUNimation | show root = no | tab 1 = Seasons 1-3 | tab 1 title = | tab 2 = Seasons 4-6 | tab 2 title = | tab 3 = Seasons 7-9 | tab 3 title = | tab 4 = Seasons 10-12 | tab 4 title = | tab 5 = Collections | tab 5 title = | tab 6 = Movies And Specials | tab 6 title = | tab 7 = Release Dub | tab 7 title = | tab 8 = Release Sub | tab 8 title = }} }}
- Notes
- Use subpages only when absolutely necessary, since they break up the content and it's not a good SEO practice (regardless of the use of this template). Avoid using 2nd level subpages for the same reasons.
- Tab templates should use the "Design" template type.
- This template is displayed on mobile as a simple list of links.
- The basic functionality of making one-level tabs does not require the use of JavaScript.
- See also