Difference between revisions of "Template:Assignment/checkAvailable"

From PCGamingWiki, the wiki about fixing PC games
m (single quotes -> double quotes to prevent SQL errors when single quotes are used in the page name)
m (table restored)
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
tables=Assignments
 
tables=Assignments
 
|fields=Game
 
|fields=Game
|where=Game="{{{1|}}}" AND Status = "available"
+
|where=Game="{{PAGENAME}}" AND Status = "available"
 
|limit=1
 
|limit=1
 
|format=template
 
|format=template

Revision as of 19:07, 15 July 2020