Difference between revisions of "Template:TableDraw/default"

From Game Detectives Wiki
Jump to: navigation, search
[checked revision][checked revision]
(test mod date)
 
(26 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|}}}|[[argType::{{{type|}}}]]}}{{#if:{{{cat|}}}|[[Category:{{{cat|}}}]]}}[[argStatus::Active]][[argDiscoverDate::!1970]]{{#if:{{{filter|}}}|[[argPageType::{{{filter}}}]]}}{{#if:{{{nameFilter|}}}|[[argName::{{{nameFilter|}}}]]}}
+
{{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
 
|?argCreator3
 
|?argDiscoverDate#ISO
 
|?Modification date#-F[M d Y, g:i:s a]
 
|format=template
 
|mainlabel=-
 
|template=OfficialTable
 
|sort=argDiscoverDate
 
|order=descending
 
|limit=500
 
}}
 
{{
 
#ask: {{#if:{{{type|}}}|[[argType::{{{type|}}}]]}}{{#if:{{{cat|}}}|[[Category:{{{cat|}}}]]}}[[argStatus::Completed]][[argDiscoverDate::!1970]]{{#if:{{{filter|}}}|[[argPageType::{{{filter}}}]]}}{{#if:{{{nameFilter|}}}|[[argName::{{{nameFilter|}}}]]}}
 
|?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
 
|limit=500
 
}}
 
{{
 
#ask: {{#if:{{{type|}}}|[[argType::{{{type|}}}]]}}{{#if:{{{cat|}}}|[[Category:{{{cat|}}}]]}}[[argStatus::On Hold]][[argDiscoverDate::!1970]]{{#if:{{{filter|}}}|[[argPageType::{{{filter}}}]]}}{{#if:{{{nameFilter|}}}|[[argName::{{{nameFilter|}}}]]}}
 
|?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
 
|limit=500
 
}}
 
{{
 
#ask: {{#if:{{{type|}}}|[[argType::{{{type|}}}]]}}{{#if:{{{cat|}}}|[[Category:{{{cat|}}}]]}}[[argStatus::Discontinued]][[argDiscoverDate::!1970]]{{#if:{{{filter|}}}|[[argPageType::{{{filter}}}]]}}{{#if:{{{nameFilter|}}}|[[argName::{{{nameFilter|}}}]]}}
 
|?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
 
|limit=500
 
}}
 
|}</includeonly>
 
 
<noinclude>{{Special:PrefixIndex/{{FULLPAGENAME}}/}}
 
<noinclude>{{Special:PrefixIndex/{{FULLPAGENAME}}/}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:11, 29 September 2021