Difference between revisions of "Template:TableDraw/default"

From Game Detectives Wiki
Jump to: navigation, search
[checked revision][checked revision]
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{| class="wikitable sortable matty"
 
<includeonly>{| class="wikitable sortable matty"
  ! style="width: 250px; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argName|Name]]</font>
+
  ! style="width: auto; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argName|Name]]</font>
  !! style="width: 150px; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argStatus|Status]]</font>
+
  !! style="width: auto; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argStatus|Status]]</font>
  !! style="width: 300px; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argCreator|Creator]]</font>
+
  !! style="width: auto; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argCreator|Creator]]</font>
  !! style="width: 150px; border-color: black; height: 50px; padding-left: 20px;" | <font size=5>[[Property:argDiscoverDate|Start Date]]</font>
+
  !! style="width: auto; 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: auto; border-color: black; height: 50px; padding-left: 20px;" data-sort-type="usLongDate" | <font size=5>[[Property:argLastEdit|Last Edited (UTC)]]</font>
  |-
+
  |- 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|}}}}}
#ask: {{#if:{{{type|}}}|[[Category:{{{type|}}}]]}}[[argStatus::Active]][[argDiscoverDate::!1970]]{{#if:{{{filter|}}}|[[argPageType::{{{filter}}}]]}}
+
{{TableDraw/default/query|status=Completed|type={{{type|}}}|pageFilter={{{pageFilter|}}}|nameFilter={{{nameFilter|}}}|cat={{{cat|}}}|editFilter={{{editFilter|}}}}}
|?argName
+
{{TableDraw/default/query|status=On Hold|type={{{type|}}}|pageFilter={{{pageFilter|}}}|nameFilter={{{nameFilter|}}}|cat={{{cat|}}}|editFilter={{{editFilter|}}}}}
|?argStatus
+
{{TableDraw/default/query|status=Discontinued|type={{{type|}}}|pageFilter={{{pageFilter|}}}|nameFilter={{{nameFilter|}}}|cat={{{cat|}}}|editFilter={{{editFilter|}}}}}
|?argCreator
+
|}<span style="display:none">{{#ask:[[argType::{{{type|}}}]][[argPageType::{{{pageFilter|}}}]]|?argPopupContent|format=list}}</span></includeonly>
|?argCreator2
+
<noinclude>{{Special:PrefixIndex/{{FULLPAGENAME}}/}}
|?argCreator3
+
</noinclude>
|?argDiscoverDate#ISO
 
|?argLastEdit#-F[M d Y, g:i:s a]
 
|format=template
 
|mainlabel=-
 
|template=OfficialTable
 
|sort=argDiscoverDate
 
|order=descending
 
}}
 
{{
 
#ask: {{#if:{{{type|}}}|[[Category:{{{type|}}}]]}}[[argStatus::Completed]][[argDiscoverDate::!1970]]{{#if:{{{filter|}}}|[[argPageType::{{{filter}}}]]}}
 
|?argName
 
|?argStatus
 
|?argCreator
 
|?argCreator2
 
|?argCreator3
 
|?argDiscoverDate#ISO
 
|?argLastEdit#-F[M d Y, g:i:s a]
 
|format=template
 
|mainlabel=-
 
|template=OfficialTable
 
|sort=argDiscoverDate
 
|order=descending
 
}}
 
{{
 
#ask: {{#if:{{{type|}}}|[[Category:{{{type|}}}]]}}[[argStatus::On Hold]][[argDiscoverDate::!1970]]{{#if:{{{filter|}}}|[[argPageType::{{{filter}}}]]}}
 
|?argName
 
|?argStatus
 
|?argCreator
 
|?argCreator2
 
|?argCreator3
 
|?argDiscoverDate#ISO
 
|?argLastEdit#-F[M d Y, g:i:s a]
 
|format=template
 
|mainlabel=-
 
|template=OfficialTable
 
|sort=argDiscoverDate
 
|order=descending
 
}}
 
{{
 
#ask: {{#if:{{{type|}}}|[[Category:{{{type|}}}]]}}[[argStatus::Discontinued]][[argDiscoverDate::!1970]]{{#if:{{{filter|}}}|[[argPageType::{{{filter}}}]]}}
 
|?argName
 
|?argStatus
 
|?argCreator
 
|?argCreator2
 
|?argCreator3
 
|?argDiscoverDate#ISO
 
|?argLastEdit#-F[M d Y, g:i:s a]
 
|format=template
 
|mainlabel=-
 
|template=OfficialTable
 
|sort=argDiscoverDate
 
|order=descending
 
}}
 
|}</includeonly>
 

Latest revision as of 16:11, 29 September 2021