Template:TabRow: Difference between revisions

From TowersWiki

No edit summary
(Only one If?)
Line 9: Line 9:
   background-color:blue;
   background-color:blue;
}
}
}}
}}


<div class="tabRow {{{name|}}}">
<div class="tabRow {{{name|}}}">
{{#if: {{{1|}}}|<div class="tab first {{{name|}}}"><a href="#{{{name|}}}_{{{1|}}}">{{{1|}}}</a></div>|}}
{{#if: {{{1|}}} | <div class="tab first {{{name|}}}"><a href="#{{{name|}}}_{{{1|}}}">{{{1|}}}</a></div>}}
{{#if: {{{2|}}}|<div class="tab second {{{name|}}}">[[#{{{name|}}}_{{{2|}}}|{{{2}}}]]</div>|}}
{{#if: {{{3|}}}|<div class="tab third {{{name|}}}">[[#{{{name|}}}_{{{3|}}}|{{{3}}}]]</div>|}}
{{#if: {{{4|}}}|<div class="tab fourth {{{name|}}}">[[#{{{name|}}}_{{{4|}}}|{{{4}}}]]</div>|}}
{{#if: {{{5|}}}|<div class="tab fifth {{{name|}}}">[[#{{{name|}}}_{{{5|}}}|{{{5}}}]]</div>|}}
{{#if: {{{6|}}}|<div class="tab sixth {{{name|}}}">[[#{{{name|}}}_{{{6|}}}|{{{6}}}]]</div>|}}
{{#if: {{{7|}}}|<div class="tab seventh {{{name|}}}">[[#{{{name|}}}_{{{7|}}}|{{{7}}}]]</div>|}}
{{#if: {{{8|}}}|<div class="tab eight {{{name|}}}">[[#{{{name|}}}_{{{8|}}}|{{{8}}}]]</div>|}}
{{#if: {{{9|}}}|<div class="tab ninth {{{name|}}}">[[#{{{name|}}}_{{{9|}}}|{{{9}}}]]</div>|}}
{{#if: {{{10|}}}|<div class="tab tenth {{{name|}}}">[[#{{{name|}}}_{{{10|}}}|{{{10}}}]]</div>|}}
</div>
</div>

Revision as of 04:41, 21 July 2024