Create attractive VASL scenarios, with loads of useful information embedded to assist with game play. https://vasl-templates.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
vasl-templates/vasl_templates/webapp/data/default-template-pack/scenario.j2

41 lines
1.3 KiB

<html> <!-- vasl-templates:id {{SNIPPET_ID}} -->
{%if APP_NAME%}<!-- Generated by {{APP_NAME}} {{APP_VERSION}}:
Time: {{TIMESTAMP}}
VASSAL:{%if VASSAL_VERSION %} {{VASSAL_VERSION}} {%else%} - {%endif%}
VASL: {%if VASL_VERSION%} {{VASL_VERSION}} {%else%} - {%endif%}
--> {%endif%}
{%if ASA_ID %}<!-- vasl-templates:ASA_ID {{ASA_ID}} -->{%endif%}
{%if ROAR_ID %}<!-- vasl-templates:ROAR_ID {{ROAR_ID}} -->{%endif%}
<head>
<meta charset="utf-8">
<style>
{{CSS:common}}
.scenario-name { font-weight: bold ; }
.scenario-id { font-size: 75% ; font-style: italic ; }
.scenario-date { font-size: 75% ; font-style: italic ; }
</style>
</head>
<table style="
{%if SCENARIO_WIDTH%} width: {{SCENARIO_WIDTH}} ; {%endif%}
">
<tr>
<td style="
padding: 5px 10px ;
background: #f0f0f0 ;
border-bottom: 1px solid #c0c0c0 ;
">
<div style="font-size:115%;">
<span class="scenario-name"> {%if SCENARIO_NAME%} {{SCENARIO_NAME}} {%else%} Untitled scenario {%endif%} </span>
{%if SCENARIO_ID%} <span class="scenario-id"> ({{SCENARIO_ID}}) </span> {%endif%}
</div>
{%if SCENARIO_LOCATION%} <span class="location"> {{SCENARIO_LOCATION}} </span> {%endif%}
{%if SCENARIO_DATE%}
<span class="scenario-date"> ({{SCENARIO_DAY_OF_MONTH_POSTFIX}} {{SCENARIO_MONTH_NAME}}, {{SCENARIO_YEAR}}) </span>
{%endif%}
</table>
</html>