Difference between revisions of "VenueOpenCheck"

From Sega Retro

(Undo revision 922133 by Black Squirrel (talk))
Tag: Undo
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
tables=venuebranding
 
tables=venuebranding
 
|fields=pagename,venuename,branding,date
 
|fields=pagename,venuename,branding,date
|where=pagename="{{#var:pagename}}" and venuename != "{{#var:venuename2}}"
+
|where=pagename="{{#var:pagename}}"
 
|order by=date DESC
 
|order by=date DESC
 
|limit=1
 
|limit=1
Line 16: Line 16:
 
|template=VenueOpenCheck/Cargo
 
|template=VenueOpenCheck/Cargo
 
|more results text=
 
|more results text=
 +
|default=
 
}}{{#ifeq:{{#var:branding}}|{{#var:branding2}}|{{#vardefine:result|true}}|{{#vardefine:result|false}}}}{{Clearvar|pagename|pagename2|venuename|venuename2|branding|branding2|date|date2}}</includeonly><noinclude>
 
}}{{#ifeq:{{#var:branding}}|{{#var:branding2}}|{{#vardefine:result|true}}|{{#vardefine:result|false}}}}{{Clearvar|pagename|pagename2|venuename|venuename2|branding|branding2|date|date2}}</includeonly><noinclude>
  
Line 23: Line 24:
 
*Sega Akihabara 1-Goukan -> {{VenueOpenCheck|Sega Akihabara 1-Goukan}}{{#var:result}}
 
*Sega Akihabara 1-Goukan -> {{VenueOpenCheck|Sega Akihabara 1-Goukan}}{{#var:result}}
  
[[Category:Sega Retro templates]]</noinclude>
+
*Sega World Fukuda -> {{VenueOpenCheck|Sega World Fukuda}}{{#var:result}}
 +
*Sega Fukuda -> {{VenueOpenCheck|Sega Fukuda}}{{#var:result}}
 +
 
 +
*AG Square Fukuroi -> {{VenueOpenCheck|AG Square Fukuroi}}{{#var:result}}
 +
*Sega Fukuroi -> {{VenueOpenCheck|Sega Fukuroi}}{{#var:result}}
 +
[[Category:Templates]]</noinclude>

Latest revision as of 09:23, 15 September 2023


A check to see if a venue is still open.

  • Hi-Tech Land Sega Shintoku -> false
  • Club Sega Akihabara -> false
  • Sega Akihabara 1-Goukan -> false
  • Sega World Fukuda -> false
  • Sega Fukuda -> false
  • AG Square Fukuroi -> false
  • Sega Fukuroi -> false