Template:Coordinates/Table: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{| class="wikitable sortable"
{| class="wikitable sortable"
! colspan="3" | Coordinates
! colspan="3" | Coordinates
! Quantity
{{#if:{{{simple|}}}| |! Quantity
! Respawn Timer
! Respawn Timer}}
|-
|-
{{#cargo_query:
{{#cargo_query:
   tables=Coordinates
   tables=Coordinates
   |fields=_pageName=Page,Map,xPos,yPos,Quantity,RespawnTimer
   |fields=_pageName=Page,Map,xPos,yPos{{#if:{{{simple|}}}| |,Quantity,RespawnTimer}}
   |where=CoordKey="{{{coordKey}}}"
   |where=CoordKey="{{{coordKey}}}"
   |order by=Map ASC,Quantity ASC,RespawnTimer ASC
   |order by=Map ASC{{#if:{{{simple|}}}| |,Quantity ASC,RespawnTimer ASC}}
   |format=template
   |format=template
   |template=Coordinates/Item
   |template=Coordinates/Item
   |named args=yes
   |named args=yes
  |template parameters=simple={{{simple|}}}
}}
}}
|}
|}