{% set newline = "\n" %} {% set gt = ">" %} {% set lt = "<" %} {% set amp = "&" %} {% filter replace(">", ">foobarhuehuehue") | replace("<", lt) | replace(">foobarhuehuehue", gt) | replace("\n", newline) | replace("", "") %} {{ card_header }} Status Card {% endfilter %} {{ newline*2 }} {{ newline*2 }} {# just name all the xml fields of interest here #} {% for value in [ "name", "description", "image", "cp", "range", "power", "symbol", "difficulty", "duration", "artistic_value", "playcost"] %} {{lt}}script type="text/html" class="xml_data" id="xml_data_{{ value }}"{{gt}}{{lt}}/script{{gt}} {{ newline }} {% endfor %} {{ newline }} {{lt}}script type="text/html" class="xml_component" id="xml_component{# #}__{# #}x"{{gt}} {{lt}}/script{{gt}} {{ newline }} {{lt}}script type="text/html" class="xml_component" id="xml_component{# #}__{# #}y"{{gt}} {{lt}}/script{{gt}} {{ newline }} {{lt}}script type="text/html" class="xml_component" id="xml_component{# #}__{# #}db_entry"{{gt}} {{lt}}/script{{gt}} {{ newline }} {{ newline*2 }} {{ newline*2 }} {{ newline*2 }} {{ newline }}