Ad placeholder

Template:Tab: Difference between revisions

Jump to navigation Jump to search
Use documentation and template demo templates
No edit summary
(Use documentation and template demo templates)
 
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:{{SUBPAGENAME}}|{{BASEPAGENAME}}||[[Category:{{SUBPAGENAME}} subpages]]}}</includeonly><noinclude>
</table>{{#ifeq:{{SUBPAGENAME}}|{{BASEPAGENAME}}||[[Category:{{SUBPAGENAME}} subpages]]}}</includeonly><noinclude>{{Documentation|content=
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
 
== Example ==
{{Template demo
| style = list
| <nowiki> {{Tab
  |one=The Dark Urge
  |one=The Dark Urge
  |one-name=Story Spoiler Page
  |one-name=Story Spoiler Page
  |two=The Dark Urge (Origin)
  |two=The Dark Urge (Origin)
  |two-name=Origin Page
  |two-name=Origin Page
  }}</pre>
  }}</nowiki>
{{Tab
| <nowiki> {{Tab
|one=Template:Tab
|one-name=Story Spoiler Page
|two=The Dark Urge (Origin)
|two-name=Origin Page
}}
 
Or
 
{{Tab
|one=Spells
|one=Spells
|one-name=Overview
|one-name=Overview
Line 48: Line 43:
|nine= List of 6th level spells
|nine= List of 6th level spells
|nine-name=Level 6
|nine-name=Level 6
}}</nowiki>
}}
}}


[[Category:Templates]][[Category:Tab templates]]
}}
[[Category:Templates]]
[[Category:Tab templates]]
</noinclude>
</noinclude>

Navigation menu