Template:Tab: Difference between revisions
Jump to navigation
Jump to search
(Make tab highlighting work in all namespaces) |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table class="noexcerpt navigation-not-searchable | <includeonly><table class="noexcerpt navigation-not-searchable bg3wiki-tabbar {{#ifeq: {{{nodesktop|}}} | yes | nodesktop}}"> | ||
<tr> | <tr> | ||
<td | <td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{one}}}|{{{one-name}}}]]</td> | ||
<td | <td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{two}}} | bg3wiki-tab-active}}" > [[{{{two}}}|{{{two-name}}}]]</td> | ||
{{trim|{{#if: {{{three|}}}|<td | {{trim|{{#if: {{{three|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{three}}} | bg3wiki-tab-active}}" > [[{{{three}}}|{{{three-name}}}]]</td>|}} | ||
{{#if: {{{four|}}}|<td | {{#if: {{{four|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{four}}} | bg3wiki-tab-active}}" > [[{{{four}}}|{{{four-name}}}]]</td>|}} | ||
{{#if: {{{five|}}}|<td | {{#if: {{{five|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{five}}} | bg3wiki-tab-active}}" > [[{{{five}}}|{{{five-name}}}]]</td>|}} | ||
{{#if: {{{six|}}}|<td | {{#if: {{{six|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{six}}} | bg3wiki-tab-active}}" > [[{{{six}}}|{{{six-name}}}]]</td>|}} | ||
{{#if: {{{seven|}}}|<td | {{#if: {{{seven|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{seven}}} | bg3wiki-tab-active}}" > [[{{{seven}}}|{{{seven-name}}}]]</td>|}} | ||
{{#if: {{{eight|}}}|<td | {{#if: {{{eight|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{eight}}} | bg3wiki-tab-active}}" > [[{{{eight}}}|{{{eight-name}}}]]</td>|}} | ||
{{#if: {{{nine|}}}|<td | {{#if: {{{nine|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{nine}}} | bg3wiki-tab-active}}" > [[{{{nine}}}|{{{nine-name}}}]]</td>|}} | ||
{{#if: {{{ten|}}}|<td | {{#if: {{{ten|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{ten}}} | bg3wiki-tab-active}}" > [[{{{ten}}}|{{{ten-name}}}]]</td>|}}}} | ||
</tr> | </tr> | ||
</table></includeonly><noinclude> | </table>{{#ifeq:{{SUBPAGENAME}}|{{BASEPAGENAME}}||[[Category:{{SUBPAGENAME}} subpages]]}}</includeonly><noinclude> | ||
Creates up to ten fake tabs. For a combat shortcut use [[Template:CombatTab]] | Creates up to ten fake tabs. For a combat shortcut use [[Template:CombatTab]] | ||
<pre> {{Tab | <pre> {{Tab | ||
Line 49: | Line 49: | ||
|nine-name=Level 6 | |nine-name=Level 6 | ||
}} | }} | ||
[[Category:Templates]][[Category:Tab templates]] | |||
</noinclude> |
Latest revision as of 02:06, 6 January 2024
Creates up to ten fake tabs. For a combat shortcut use Template:CombatTab
{{Tab |one=The Dark Urge |one-name=Story Spoiler Page |two=The Dark Urge (Origin) |two-name=Origin Page }}
Story Spoiler Page | Origin Page |
Or
Overview | All spells | Cantrips | Level 1 | Level 2 | Level 3 | Level 4 | Level 5 | Level 6 |