Borrowed from https://www.semantic-mediawiki.org/w/index.php?title=Template:LinkToAskQueryForParameter