{"id":1853,"date":"2025-05-22T14:27:53","date_gmt":"2025-05-22T13:27:53","guid":{"rendered":"https:\/\/www.fastseal.eu\/blog\/?p=1853"},"modified":"2025-07-08T10:57:59","modified_gmt":"2025-07-08T09:57:59","slug":"templates-extra","status":"publish","type":"post","link":"https:\/\/fastseal.eu\/blog\/templates-extra\/","title":{"rendered":"Templates &#8211; extra functionalities"},"content":{"rendered":"\n<p>Extra functionality can be obtained in the templates using special instructions that are described in this document<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">IF THEN ELSE<\/h3>\n\n\n\n<p class=\"has-primary-background-color has-background\">Available after version 5.5.1.0<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Syntax<\/td><td>Description<\/td><td>Examples<\/td><\/tr><tr><td><strong>[ {boolean} ]<\/strong> ::: A ::: B<br>Important <strong>DEPRECATED<\/strong> after version 5.5.1.8<\/td><td>If the Boolean value that should be 1 or 0, is 1, outputs A, if not, outputs B. B is optional<\/td><td><strong>[{Profile.HasMessage}]<\/strong>:::MSG (&#8220;{Profile.Message}&#8221;)<br><strong>[{Profile.HasOverlimit}]<\/strong>:::ATRANS X10:::ATRANS X20<\/td><\/tr><tr><td><strong>[ {boolean} <\/strong> ::: A ::: B <strong>]<\/strong><br>Introduced in version 5.5.1.8 the if then else can now also include expressions, both on the condition as also on the resulting conditions<\/td><td>If the Boolean value that should be 1 or 0, is 1, outputs A, if not, outputs B. B is optional<\/td><td><strong>[{Profile.HasMessage}<\/strong>:::MSG (&#8220;{Profile.Message}&#8221;)<strong>]<\/strong><br><strong>[{Profile.HasOverlimit}<\/strong>:::ATRANS X10:::ATRANS X20<strong>]<\/strong><br><strong>[[<strong>{Material.Outside}>=300]<\/strong><\/strong>:::G00 X[A*30]:::G00 X[B*10]<strong><strong>]<\/strong><\/strong><br><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">UNICODE characters<\/h3>\n\n\n\n<p class=\"has-primary-background-color has-background\">Available after version 5.5.1.0<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Syntax<\/td><td>Description<\/td><td>Examples<\/td><\/tr><tr><td>[*U+00<strong>xx<\/strong>*]<\/td><td>Outputs the Unicode character represented by the xx.<\/td><td>[*U+001A*] outputs the 1A character that is the substitute character. More information in: <a href=\"https:\/\/en.wikipedia.org\/wiki\/List_of_Unicode_characters\">https:\/\/en.wikipedia.org\/wiki\/List_of_Unicode_characters<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Extra functionality can be obtained in the templates using special instructions that are described in this document IF THEN ELSE Available after version 5.5.1.0 Syntax Description Examples [ {boolean} ] ::: A ::: BImportant DEPRECATED after version 5.5.1.8 If the Boolean value that should be 1 or 0, is 1, outputs A, if not, outputs &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/fastseal.eu\/blog\/templates-extra\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Templates &#8211; extra functionalities&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,29],"tags":[138,136,137],"class_list":["post-1853","post","type-post","status-publish","format-standard","hentry","category-features","category-information","tag-if-then-else","tag-templates","tag-unicode","entry"],"_links":{"self":[{"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/posts\/1853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/comments?post=1853"}],"version-history":[{"count":6,"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/posts\/1853\/revisions"}],"predecessor-version":[{"id":1913,"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/posts\/1853\/revisions\/1913"}],"wp:attachment":[{"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/media?parent=1853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/categories?post=1853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fastseal.eu\/blog\/wp-json\/wp\/v2\/tags?post=1853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}