If the querystring parameter does not exist it will render the actual macro so not really idea. Try something like this:
{% if (QueryString.GetValue("name") != "") { QueryString.GetValue("name") } else { DocumentName } |(identity)GlobalAdministrator%}
So if the name
parameter has a value then it will render it, if it doesn't it will render the current document name.