{"id":16186,"date":"2022-08-29T09:34:56","date_gmt":"2022-08-29T06:34:56","guid":{"rendered":"https:\/\/loquiz.com\/support\/?p=16186"},"modified":"2024-06-10T16:07:42","modified_gmt":"2024-06-10T13:07:42","slug":"field-variables","status":"publish","type":"post","link":"https:\/\/loquiz.com\/support\/field-variables\/","title":{"rendered":"Field Variables"},"content":{"rendered":"\n<p>Field variables  are dynamic fields. When you define field variable in your task text it will be replaced with the corresponding text.  You can utilize field variables within a text or as part of the link. <\/p>\n\n\n\n<p>At the moment Loquiz supports following variables:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>${TEAM_ID}<\/strong> &#8211; will be replaced by the actual team id when player registers to the game. It is useful when building your own result pages and need a way to direct a player to specific place within the leaderboard. Main use is as part of the dynamically generated URL.<\/li>\n\n\n\n<li><strong>${GAME_ID}<\/strong> &#8211; this will be replaced by the current game id and can be used to show the results page without having to provide the link.<\/li>\n\n\n\n<li><strong>${SCOPE}<\/strong> &#8211; this will be replaced by the scope you set on the Tickets you have created and can be used along side with ${GAME_ID} to show the Results Page without the need to provide each link to each ticket.<\/li>\n\n\n\n<li><strong>${TEAM_NAME}<\/strong> &#8211; this will be replaced by the team name when player sets it. Can be used to Task text in order to display the name of the team and make the game more personal.<\/li>\n\n\n\n<li><strong>${SCORE}<\/strong> &#8211; when used it will be replaced by the team total score up to that time.<\/li>\n<\/ul>\n\n\n\n<p>When new variables are introduced they will be published here. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Examples:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>https:\/\/results.loquiz.com\/${GAME_ID}<\/strong> &#8211; when used in task text or finish message etc. will show the results page of the game.<\/li>\n\n\n\n<li><strong>https:\/\/results.loquiz.com\/${GAME_ID}:${SCOPE}<\/strong> &#8211; this is very useful for when you want to include the Results Page on each Ticket you have created. It will automatically take the current game id and scope in order to display the Results Page.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Field variables are dynamic fields. When you define field variable in your task text it will be replaced with the corresponding text. You can utilize field variables within a text or as part of the link. At the moment Loquiz supports following variables: When new variables are introduced they will be published here. Examples:<\/p>\n","protected":false},"author":23,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7],"tags":[92,156],"class_list":["post-16186","post","type-post","status-publish","format-standard","hentry","category-creating-questions","tag-game-info","tag-tasks"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Field Variables - Loquiz knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/loquiz.com\/support\/field-variables\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Field Variables - Loquiz knowledgebase\" \/>\n<meta property=\"og:description\" content=\"Field variables are dynamic fields. When you define field variable in your task text it will be replaced with the corresponding text. You can utilize field variables within a text or as part of the link. At the moment Loquiz supports following variables: When new variables are introduced they will be published here. Examples:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/loquiz.com\/support\/field-variables\/\" \/>\n<meta property=\"og:site_name\" content=\"Loquiz knowledgebase\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-29T06:34:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-10T13:07:42+00:00\" \/>\n<meta name=\"author\" content=\"John Kapsalas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Kapsalas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/field-variables\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/field-variables\\\/\"},\"author\":{\"name\":\"John Kapsalas\",\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/#\\\/schema\\\/person\\\/7cade19caf3be335a65cd17ce4425f55\"},\"headline\":\"Field Variables\",\"datePublished\":\"2022-08-29T06:34:56+00:00\",\"dateModified\":\"2024-06-10T13:07:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/field-variables\\\/\"},\"wordCount\":295,\"keywords\":[\"game info\",\"tasks\"],\"articleSection\":[\"3. Creating Tasks\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/field-variables\\\/\",\"url\":\"https:\\\/\\\/loquiz.com\\\/support\\\/field-variables\\\/\",\"name\":\"Field Variables - Loquiz knowledgebase\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/#website\"},\"datePublished\":\"2022-08-29T06:34:56+00:00\",\"dateModified\":\"2024-06-10T13:07:42+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/#\\\/schema\\\/person\\\/7cade19caf3be335a65cd17ce4425f55\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/field-variables\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/loquiz.com\\\/support\\\/field-variables\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/field-variables\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/loquiz.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Field Variables\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/loquiz.com\\\/support\\\/\",\"name\":\"Loquiz knowledgebase\",\"description\":\"Helping you run awesome games\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/loquiz.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/loquiz.com\\\/support\\\/#\\\/schema\\\/person\\\/7cade19caf3be335a65cd17ce4425f55\",\"name\":\"John Kapsalas\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fd4296befbc97b8daf34e7837389ae34f8d6eec8beac7f259250de191caeb2e1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fd4296befbc97b8daf34e7837389ae34f8d6eec8beac7f259250de191caeb2e1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fd4296befbc97b8daf34e7837389ae34f8d6eec8beac7f259250de191caeb2e1?s=96&d=mm&r=g\",\"caption\":\"John Kapsalas\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Field Variables - Loquiz knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/loquiz.com\/support\/field-variables\/","og_locale":"en_US","og_type":"article","og_title":"Field Variables - Loquiz knowledgebase","og_description":"Field variables are dynamic fields. When you define field variable in your task text it will be replaced with the corresponding text. You can utilize field variables within a text or as part of the link. At the moment Loquiz supports following variables: When new variables are introduced they will be published here. Examples:","og_url":"https:\/\/loquiz.com\/support\/field-variables\/","og_site_name":"Loquiz knowledgebase","article_published_time":"2022-08-29T06:34:56+00:00","article_modified_time":"2024-06-10T13:07:42+00:00","author":"John Kapsalas","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Kapsalas","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/loquiz.com\/support\/field-variables\/#article","isPartOf":{"@id":"https:\/\/loquiz.com\/support\/field-variables\/"},"author":{"name":"John Kapsalas","@id":"https:\/\/loquiz.com\/support\/#\/schema\/person\/7cade19caf3be335a65cd17ce4425f55"},"headline":"Field Variables","datePublished":"2022-08-29T06:34:56+00:00","dateModified":"2024-06-10T13:07:42+00:00","mainEntityOfPage":{"@id":"https:\/\/loquiz.com\/support\/field-variables\/"},"wordCount":295,"keywords":["game info","tasks"],"articleSection":["3. Creating Tasks"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/loquiz.com\/support\/field-variables\/","url":"https:\/\/loquiz.com\/support\/field-variables\/","name":"Field Variables - Loquiz knowledgebase","isPartOf":{"@id":"https:\/\/loquiz.com\/support\/#website"},"datePublished":"2022-08-29T06:34:56+00:00","dateModified":"2024-06-10T13:07:42+00:00","author":{"@id":"https:\/\/loquiz.com\/support\/#\/schema\/person\/7cade19caf3be335a65cd17ce4425f55"},"breadcrumb":{"@id":"https:\/\/loquiz.com\/support\/field-variables\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/loquiz.com\/support\/field-variables\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/loquiz.com\/support\/field-variables\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/loquiz.com\/support\/"},{"@type":"ListItem","position":2,"name":"Field Variables"}]},{"@type":"WebSite","@id":"https:\/\/loquiz.com\/support\/#website","url":"https:\/\/loquiz.com\/support\/","name":"Loquiz knowledgebase","description":"Helping you run awesome games","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/loquiz.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/loquiz.com\/support\/#\/schema\/person\/7cade19caf3be335a65cd17ce4425f55","name":"John Kapsalas","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fd4296befbc97b8daf34e7837389ae34f8d6eec8beac7f259250de191caeb2e1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fd4296befbc97b8daf34e7837389ae34f8d6eec8beac7f259250de191caeb2e1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fd4296befbc97b8daf34e7837389ae34f8d6eec8beac7f259250de191caeb2e1?s=96&d=mm&r=g","caption":"John Kapsalas"}}]}},"_links":{"self":[{"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/posts\/16186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/comments?post=16186"}],"version-history":[{"count":18,"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/posts\/16186\/revisions"}],"predecessor-version":[{"id":16747,"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/posts\/16186\/revisions\/16747"}],"wp:attachment":[{"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/media?parent=16186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/categories?post=16186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/loquiz.com\/support\/wp-json\/wp\/v2\/tags?post=16186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}