Template:SectionLCARS: Difference between revisions
Jump to navigation
Jump to search
(putting % outside if) |
(making font size switch) |
||
Line 3: | Line 3: | ||
{|style="background:white; border:0;" align=left width="{{#if: {{{4|}}}|{{{4}}}|100}}%" | {|style="background:white; border:0;" align=left width="{{#if: {{{4|}}}|{{{4}}}|100}}%" | ||
|width="40px" style="background:#{{DefBGColor|{{{2}}}}}; border-radius: 20px 0px 0px 20px; border:0px solid #AFA3BF"| | |width="40px" style="background:#{{DefBGColor|{{{2}}}}}; border-radius: 20px 0px 0px 20px; border:0px solid #AFA3BF"| | ||
! width="{{#if: {{{3|}}}|{{{3}}}|150}}px"|<font size="4"><center>{{{1}}}</center></font> | ! width="{{#if: {{{3|}}}|{{{3}}}|150}}px"|<font size="{{#switch: {{{5|}}}|3=4|4=3|5=2|6=1|{{{5}}}=5|5}}"><center>{{{1}}}</center></font> | ||
|style="background:#{{DefBGColor|{{{2}}}}}; border:0px solid #AFA3BF"| | |style="background:#{{DefBGColor|{{{2}}}}}; border:0px solid #AFA3BF"| | ||
|width="1px"| | |width="1px"| | ||
|width="40px" style="background:#{{DefBGColor|{{{2}}}}}; border-radius: 0px 20px 20px 0px; border:0px solid #AFA3BF"| | |width="40px" style="background:#{{DefBGColor|{{{2}}}}}; border-radius: 0px 20px 20px 0px; border:0px solid #AFA3BF"| | ||
|}</onlyinclude><noinclude>[[Category:Wiki System Templates]]</noinclude> | |}</onlyinclude><noinclude>[[Category:Wiki System Templates]]</noinclude> |