Difference between revisions of "Template:Tab/Tab"
From Nookipedia, the Animal Crossing wiki
(Created page with "{{#if:{{{3|}}}|<span class="tab {{#ifeq:{{{2}}}|{{{1}}}|tabselected}}">{{{3}}}</span>}}<noinclude> ==Purpose== Properly formats the tabs. For use with the [[Template:Tab|Tab tem...") |
|||
Line 1: | Line 1: | ||
− | {{#if:{{{3|}}}|<span class="tab {{#ifeq:{{{2}}}|{{{1}}}|tabselected}}">{{{3}}}</span>}}<noinclude> | + | {{#if:{{{3|}}}|<span class="tab-article {{#ifeq:{{{2}}}|{{{1}}}|tabselected}}">{{{3}}}</span>}}<noinclude> |
==Purpose== | ==Purpose== |
Latest revision as of 18:24, August 21, 2011
Purpose
Properly formats the tabs. For use with the Tab template.
Usage
- {{Tab/Tab | number | default | tabtext }}
- number: The number of the tab
- default: The number of the tab to select by default
- tabtext: The parameter containing the tab text (eg. {{{tab2}}})