Difference between revisions of "Template:DefaultTable"

From Game Detectives Wiki
Jump to: navigation, search
[checked revision][checked revision]
Line 3: Line 3:
 
| style="width: auto; font-weight: bold; text-align: center; border-color: black; background-color:#{{#switch:{{{2}}}|Completed=aaffaa|Active=66ccff|Discontinued=ff6666|On Hold=ff6633}}; padding: 2px 40px;" id="tableCol2-{{#var:x}}" | {{{2}}}
 
| style="width: auto; font-weight: bold; text-align: center; border-color: black; background-color:#{{#switch:{{{2}}}|Completed=aaffaa|Active=66ccff|Discontinued=ff6666|On Hold=ff6633}}; padding: 2px 40px;" id="tableCol2-{{#var:x}}" | {{{2}}}
 
| style="width: auto; border-color: black; text-align: center; padding: 2px 30px;" id="tableCol3-{{#var:x}}" | <span class="plainlinks">{{{3}}}</span> {{#if:{{{4|}}}| & <span class="plainlinks">{{{4}}}</span>}} {{#if:{{{5|}}}| & <span class="plainlinks">{{{5}}}</span>}}
 
| style="width: auto; border-color: black; text-align: center; padding: 2px 30px;" id="tableCol3-{{#var:x}}" | <span class="plainlinks">{{{3}}}</span> {{#if:{{{4|}}}| & <span class="plainlinks">{{{4}}}</span>}} {{#if:{{{5|}}}| & <span class="plainlinks">{{{5}}}</span>}}
| style="width: auto; border-color: black; text-align: center; padding: 2px 30px;" id="tableCol4-{{#var:x}}" | {{{6}}}
+
| style="width: auto; border-color: black; text-align: center; padding: 2px 20px;" id="tableCol4-{{#var:x}}" | {{{6}}}
| style="width: auto; border-color: black; text-align: center; padding: 2px 30px;" id="tableCol5-{{#var:x}}" | {{{7}}} UTC
+
| style="width: auto; border-color: black; text-align: center; padding: 2px 20px;" id="tableCol5-{{#var:x}}" | {{{7}}} UTC
 
|- id="tableRow{{#vardefineecho:x|{{#expr:{{#var:x}}+1}}}}" class="{{#if:{{#varexists:x}}|{{#ifeq:{{#expr:{{#var:x}}mod2}}|0|tableRowEven|tableRowOdd}}}}"
 
|- id="tableRow{{#vardefineecho:x|{{#expr:{{#var:x}}+1}}}}" class="{{#if:{{#varexists:x}}|{{#ifeq:{{#expr:{{#var:x}}mod2}}|0|tableRowEven|tableRowOdd}}}}"
 
</includeonly>
 
</includeonly>

Revision as of 03:13, 3 October 2018