Template:Tab: Difference between revisions
Jump to navigation
Jump to search
![]() RodRedlineM1 (talk | contribs) (Whatever's happening w/ the buttons on regular namespace pages doesn't seem to be my fault) |
![]() RodRedlineM1 (talk | contribs) |
||
Line 1: | Line 1: | ||
<div class="tab" style="font-weight:bold; text-align:center; margin:0 0 10px 0; border-bottom:1px solid #ccc"> | {{MinervaButtons}}<div class="tab" style="font-weight:bold; text-align:center; margin:0 0 10px 0; border-bottom:1px solid #ccc"> | ||
{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> | {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> | ||
<div class="tab-top" style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1px solid #ccc; margin-bottom:-1px; background:#9C1A18; border-radius:6px 6px 0 0; -moz-border-radius:6px 6px 0 0; padding: 3px"> | <div class="tab-top" style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1px solid #ccc; margin-bottom:-1px; background:#9C1A18; border-radius:6px 6px 0 0; -moz-border-radius:6px 6px 0 0; padding: 3px"> |
Revision as of 19:40, 19 February 2024
{{{tab1}}} |
Documentation
This is used at the very top of articles, to provide easy navigation between any sub-pages that exist for it.
Parameters example (up to 9)
{{tab|tab1=|tab2=|tab3=}}
tab1=
will always link to the base article page: Therefore, the text you input determines only what the link text will say. For all other parameters, the inputted text must match the existing sub-page you wish to link to. For instance, if wanting to link to Doug Crankel/Merchandise, add |tab2=Merchandise
.