Difference between revisions of "Template:TableDraw/default"

From Game Detectives Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Class test)
Line 5: Line 5:
 
  !! style="width: 150px; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argDiscoverDate|Start Date]]</font>
 
  !! style="width: 150px; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argDiscoverDate|Start Date]]</font>
 
  !! style="width: 200px; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argLastEdit|Last Edited]]</font>
 
  !! style="width: 200px; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argLastEdit|Last Edited]]</font>
  |- id="tableRow{{#if:{{#varexists:x}}|{{#var:x}}|{{#vardefineecho:x|1}}}}"
+
  |- id="tableRow{{#if:{{#varexists:x}}|{{#var:x}}|{{#vardefineecho:x|1}}}}" class="{{#if:{{#varexists:x}}|{{#ifeq:{{#expr:{{#var:x}}mod2}}|0|tableRowEven|tableRowOdd}}}}"
 
{{TableDraw/default/query|status=Active|type={{{type|}}}|pageFilter={{{pageFilter|}}}|nameFilter={{{nameFilter|}}}|cat={{{cat|}}}|editFilter={{{editFilter|}}}}}
 
{{TableDraw/default/query|status=Active|type={{{type|}}}|pageFilter={{{pageFilter|}}}|nameFilter={{{nameFilter|}}}|cat={{{cat|}}}|editFilter={{{editFilter|}}}}}
 
{{TableDraw/default/query|status=Completed|type={{{type|}}}|pageFilter={{{pageFilter|}}}|nameFilter={{{nameFilter|}}}|cat={{{cat|}}}|editFilter={{{editFilter|}}}}}
 
{{TableDraw/default/query|status=Completed|type={{{type|}}}|pageFilter={{{pageFilter|}}}|nameFilter={{{nameFilter|}}}|cat={{{cat|}}}|editFilter={{{editFilter|}}}}}

Revision as of 20:58, 7 September 2018