Difference between revisions of "Template:Upcoming and ongoing games"

From comp.tf
Jump to navigation Jump to search
m (Replaced content with "cheese")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
cheese
+
<includeonly><!--
 +
Clear variables
 +
-->{{#vardefine:date|null}}{{#vardefine:team1|null}}{{#vardefine:team2|null}}<!--
 +
 
 +
 
 +
{{Upcoming games/start}}
 +
-->{{#ask: [[-Has subobject::+]] [[:+]] [[has map_date::>{{#time: r|-6 hours}}]] [[has map_date::<{{#time: r|now}}]] [[Is finished::false]] [[Has exact time::true]]
 +
| ?has map_date
 +
| ?has tournament
 +
| ?has team left
 +
| ?has team right
 +
| ?has match stream
 +
| ?has tournament icon
 +
| ?Has tournament name
 +
| ?Has team left score
 +
| ?Has team right score
 +
| sort=has map_date, Has team left, Has team right, Has tournament name
 +
| order=asc
 +
| format=template
 +
| link=none
 +
| template=Ongoing games/row
 +
| searchlabel=
 +
}}<!--
 +
Clear variables
 +
-->{{#vardefine:date|null}}{{#vardefine:team1|null}}{{#vardefine:team2|null}}<!--
 +
-->{{#ask: [[-Has subobject::+]] [[:+]] [[has map_date::>1]] [[Has team left::+]] [[Has team right::+]] [[Is finished::false]]
 +
| ?has map_date
 +
| ?has tournament
 +
| ?has team left
 +
| ?has team right
 +
| ?has match stream
 +
| ?has tournament icon
 +
| ?Has tournament name
 +
| sort=has map_date, Has team left, Has team right, Has tournament name
 +
| order=asc
 +
| limit=5
 +
| format=template
 +
| link=none
 +
| template=Upcoming games/row
 +
| searchlabel=
 +
}}
 +
<!--{{Upcoming games/end}}--></includeonly><noinclude>[[Category:Templates]]{{documentation}}</noinclude>

Latest revision as of 13:16, 12 July 2020

(view - edit) Documentation