Difference between revisions of "User:DnaGonite/MapTableRow"
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:numCols|34}} | {{#vardefine:numCols|34}} | ||
{{#vardefine:abRow| | {{#vardefine:abRow| | ||
− | {{#if: {{{abMinBR}}}{{{abMaxBR}}} | + | {{#if: {{{abMinBR|}}}{{{abMaxBR|}}} |
|{{#ifeq: {{{abMaxBR|12.0}}} | |{{#ifeq: {{{abMaxBR|12.0}}} | ||
|12.0 | |12.0 | ||
Line 12: | Line 12: | ||
|1.0 | |1.0 | ||
|{{!}}{{!}} colspan="{{#expr:(({{{abMaxBR}}} - 1)/0.33333) + 1 round 0}}" style="background-color:#CCCCCC" {{!}} {{!}}{{!}} colspan="{{#var:numCols}}" {{!}} | |{{!}}{{!}} colspan="{{#expr:(({{{abMaxBR}}} - 1)/0.33333) + 1 round 0}}" style="background-color:#CCCCCC" {{!}} {{!}}{{!}} colspan="{{#var:numCols}}" {{!}} | ||
− | |{{!}}{{!}} colspan="{{#expr:(({{{abMinBR}}} - 1)/0.33333) round 0}}" {{!}} {{!}}{{!}} colspan="{{#expr:(({{{abMaxBR}}} | + | |{{!}}{{!}} colspan="{{#expr:(({{{abMinBR}}} - 1)/0.33333) round 0}}" {{!}} {{!}}{{!}} colspan="{{#expr:(({{{abMaxBR}}} - {{{abMinBR}}})/0.33333) + 1 round 0}}" style="background-color:#CCCCCC" {{!}} {{!}}{{!}} colspan="{{#var:numCols}}" {{!}} |
}} | }} | ||
}} | }} | ||
− | |||
}} | }} | ||
}} | }} | ||
{{#vardefine:rbRow| | {{#vardefine:rbRow| | ||
− | {{#if: {{{rbMinBR}}}{{{rbMaxBR}}} | + | {{#if: {{{rbMinBR|}}}{{{rbMaxBR|}}} |
|{{#ifeq: {{{rbMaxBR|12.0}}} | |{{#ifeq: {{{rbMaxBR|12.0}}} | ||
|12.0 | |12.0 | ||
Line 30: | Line 29: | ||
|1.0 | |1.0 | ||
|{{!}}{{!}} colspan="{{#expr:(({{{rbMaxBR}}} - 1)/0.33333) + 1 round 0}}" style="background-color:#CCCCCC" {{!}} {{!}}{{!}} colspan="{{#var:numCols}}" {{!}} | |{{!}}{{!}} colspan="{{#expr:(({{{rbMaxBR}}} - 1)/0.33333) + 1 round 0}}" style="background-color:#CCCCCC" {{!}} {{!}}{{!}} colspan="{{#var:numCols}}" {{!}} | ||
− | |{{!}}{{!}} colspan="{{#expr:(({{{rbMinBR}}} - 1)/0.33333) round 0}}" {{!}} {{!}}{{!}} colspan="{{#expr:(({{{rbMaxBR}}} | + | |{{!}}{{!}} colspan="{{#expr:(({{{rbMinBR}}} - 1)/0.33333) round 0}}" {{!}} {{!}}{{!}} colspan="{{#expr:(({{{rbMaxBR}}} - {{{rbMinBR}}})/0.33333) + 1 round 0}}" style="background-color:#CCCCCC" {{!}} {{!}}{{!}} colspan="{{#var:numCols}}" {{!}} |
}} | }} | ||
}} | }} | ||
− | |||
}} | }} | ||
}} | }} | ||
− | <includeonly>|- class="ttx-ab" | + | <includeonly> |
− | + | {{#if: {{#var:abRow}} | | |
− | |- class="ttx-rb" | + | {{!}}- class="ttx-ab" |
− | + | {{!}} <div class="mw-collapsible mw-collapsed">[[{{{link}}}{{!}}{{{displayname|{{{link}}}}}}]]<div class="mw-collapsible-content">[[File:{{{imagename}}}.jpg{{!}}250px{{!}}center{{!}}link={{{link}}}]]</div></div> {{#var:abRow}} }} | |
+ | {{#if: {{#var:rbRow}} | | ||
+ | {{!}}- class="ttx-rb" | ||
+ | {{!}} <div class="mw-collapsible mw-collapsed">[[{{{link}}}{{!}}{{{displayname|{{{link}}}}}}]]<div class="mw-collapsible-content">[[File:{{{imagename}}}.jpg{{!}}250px{{!}}center{{!}}link={{{link}}}]]</div></div> {{#var:rbRow}} }} | ||
+ | |- | ||
+ | </includeonly> |
Latest revision as of 17:03, 1 July 2023