Template:Tab: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Make tab highlighting work in all namespaces) |
||
Line 1: | Line 1: | ||
<includeonly><table class="noexcerpt navigation-not-searchable" style="background-color:#1B1B1B;"> | <includeonly><table class="noexcerpt navigation-not-searchable" style="background-color:#1B1B1B;"> | ||
<tr> | <tr> | ||
<td style="{{#ifeq: {{ | <td style="{{#ifeq: {{FULLPAGENAME}} | {{{one}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{one}}}|{{{one-name}}}]]</td> | ||
<td style="{{#ifeq: {{ | <td style="{{#ifeq: {{FULLPAGENAME}} | {{{two}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{two}}}|{{{two-name}}}]]</td> | ||
{{trim|{{#if: {{{three|}}}|<td style="{{#ifeq: {{ | {{trim|{{#if: {{{three|}}}|<td style="{{#ifeq: {{FULLPAGENAME}} | {{{three}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{three}}}|{{{three-name}}}]]</td>|}} | ||
{{#if: {{{four|}}}|<td style="{{#ifeq: {{ | {{#if: {{{four|}}}|<td style="{{#ifeq: {{FULLPAGENAME}} | {{{four}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{four}}}|{{{four-name}}}]]</td>|}} | ||
{{#if: {{{five|}}}|<td style="{{#ifeq: {{ | {{#if: {{{five|}}}|<td style="{{#ifeq: {{FULLPAGENAME}} | {{{five}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{five}}}|{{{five-name}}}]]</td>|}} | ||
{{#if: {{{six|}}}|<td style="{{#ifeq: {{ | {{#if: {{{six|}}}|<td style="{{#ifeq: {{FULLPAGENAME}} | {{{six}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{six}}}|{{{six-name}}}]]</td>|}} | ||
{{#if: {{{seven|}}}|<td style="{{#ifeq: {{ | {{#if: {{{seven|}}}|<td style="{{#ifeq: {{FULLPAGENAME}} | {{{seven}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{seven}}}|{{{seven-name}}}]]</td>|}} | ||
{{#if: {{{eight|}}}|<td style="{{#ifeq: {{ | {{#if: {{{eight|}}}|<td style="{{#ifeq: {{FULLPAGENAME}} | {{{eight}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{eight}}}|{{{eight-name}}}]]</td>|}} | ||
{{#if: {{{nine|}}}|<td style="{{#ifeq: {{ | {{#if: {{{nine|}}}|<td style="{{#ifeq: {{FULLPAGENAME}} | {{{nine}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{nine}}}|{{{nine-name}}}]]</td>|}} | ||
{{#if: {{{ten|}}}|<td style="{{#ifeq: {{ | {{#if: {{{ten|}}}|<td style="{{#ifeq: {{FULLPAGENAME}} | {{{ten}}} | background-color:#281C14; color:#C1A886; | }} padding:0 10px;display: inline-block;" > [[{{{ten}}}|{{{ten-name}}}]]</td>|}}}} | ||
</tr> | </tr> | ||
</table></includeonly><noinclude>[[Category:Templates]] | </table></includeonly><noinclude>[[Category:Templates]] | ||
Line 20: | Line 20: | ||
|two-name=Origin Page | |two-name=Origin Page | ||
}}</pre> | }}</pre> | ||
{{Tab | |||
|one=Template:Tab | |one=Template:Tab | ||
|one-name=Story Spoiler Page | |one-name=Story Spoiler Page |
Revision as of 14:44, 7 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 |