Template:Tab: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table class="noexcerpt navigation-not-searchable bg3wiki-tabbar">
<includeonly><table class="noexcerpt navigation-not-searchable bg3wiki-tabbar {{#ifeq: {{{nodesktop|}}} | yes | nodesktop}}">
<tr>
<tr>
<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{one}}}|{{{one-name}}}]]</td>
<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{one}}} | bg3wiki-tab-active}}" > [[{{{one}}}|{{{one-name}}}]]</td>
Line 12: Line 12:
{{#if: {{{ten|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{ten}}} | bg3wiki-tab-active}}" > [[{{{ten}}}|{{{ten-name}}}]]</td>|}}}}
{{#if: {{{ten|}}}|<td class="bg3wiki-tab {{#ifeq: {{FULLPAGENAME}} | {{{ten}}} | bg3wiki-tab-active}}" > [[{{{ten}}}|{{{ten-name}}}]]</td>|}}}}
</tr>
</tr>
</table>{{#ifeq: {{{categories|}}}|no||{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||[[Category:{{SUBPAGENAME}} subpages]]}}}}</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

Latest revision as of 03: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
 }}

Or