Template:Tab: Difference between revisions
Jump to navigation
Jump to search
(Make tab highlighting work in all namespaces) |
(use css classes) |
||
Line 1: | Line 1: | ||
<includeonly><table class="noexcerpt navigation-not-searchable | <includeonly><table class="noexcerpt navigation-not-searchable bg3wiki-tabbar"> | ||
<tr> | <tr> | ||
<td | <td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{one}}}|{{{one-name}}}]]</td> | ||
<td | <td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{two}}}|{{{two-name}}}]]</td> | ||
{{trim|{{#if: {{{three|}}}|<td | {{trim|{{#if: {{{three|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{three}}}|{{{three-name}}}]]</td>|}} | ||
{{#if: {{{four|}}}|<td | {{#if: {{{four|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{four}}}|{{{four-name}}}]]</td>|}} | ||
{{#if: {{{five|}}}|<td | {{#if: {{{five|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{five}}}|{{{five-name}}}]]</td>|}} | ||
{{#if: {{{six|}}}|<td | {{#if: {{{six|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{six}}}|{{{six-name}}}]]</td>|}} | ||
{{#if: {{{seven|}}}|<td | {{#if: {{{seven|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{seven}}}|{{{seven-name}}}]]</td>|}} | ||
{{#if: {{{eight|}}}|<td | {{#if: {{{eight|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{eight}}}|{{{eight-name}}}]]</td>|}} | ||
{{#if: {{{nine|}}}|<td | {{#if: {{{nine|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{nine}}}|{{{nine-name}}}]]</td>|}} | ||
{{#if: {{{ten|}}}|<td | {{#if: {{{ten|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{ten}}}|{{{ten-name}}}]]</td>|}}}} | ||
</tr> | </tr> | ||
</table></includeonly><noinclude>[[Category:Templates]] | </table></includeonly><noinclude>[[Category:Templates]] | ||
Line 49: | Line 49: | ||
|nine-name=Level 6 | |nine-name=Level 6 | ||
}} | }} | ||
[[Category:Templates]] | |||
</noinclude> |
Revision as of 12:04, 11 November 2023
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 |