Difference between revisions of "Template:Suit"
From cm2.liecourt.com
(Fill database) |
(Fill database) |
||
Line 286: | Line 286: | ||
<h2>The Case</h2> | <h2>The Case</h2> | ||
{{Item responsive |Cols=4-8 | {{Item responsive |Cols=4-8 | ||
− | |1=<b>Lie | + | |1=<b>Lie category</b> |
|2={{#explode:{{#var:@workflow}}|<PROP>|3}} | |2={{#explode:{{#var:@workflow}}|<PROP>|3}} | ||
}} | }} | ||
Line 298: | Line 298: | ||
}}<!-- | }}<!-- | ||
-->{{Item responsive |Cols=4-8 | -->{{Item responsive |Cols=4-8 | ||
− | |1=<b> | + | |1=<b>Markup <span class="red">Lie</span> and any <span class="dark-blue">Truths</span> </b> |
|2=<div class="lie-input">{{#explode:{{#var:@workflow}}|<PROP>|8}}</div> | |2=<div class="lie-input">{{#explode:{{#var:@workflow}}|<PROP>|8}}</div> | ||
}} | }} | ||
{{Item responsive |Cols=4-8 | {{Item responsive |Cols=4-8 | ||
− | |1=<b>Evidence | + | |1=<b>Evidence screenshot</b>{{#vardefine:@uuid|{{#show:{{{Workflow|}}}|?uuid|link=none}} }} |
|2={{#vardefine:@counter|0}}{{#if:{{#var:@uuid}}|{{#arraymap:{{#ask:[[Class::Case file]][[Case file::{{#var:@uuid}}]]|?=|?Modification date|?Type|Format=array|link=none}}|,|@@@|{{#widget:link |type=a|href=#image-modal-{{#var:@counter}} |datatoggle=modal |class=attachment |text={{#ifeq:{{#explode:@@@|<PROP>|2}}|pdf|{{fa|file-pdf}}|{{fa|image}} }} }}<!-- | |2={{#vardefine:@counter|0}}{{#if:{{#var:@uuid}}|{{#arraymap:{{#ask:[[Class::Case file]][[Case file::{{#var:@uuid}}]]|?=|?Modification date|?Type|Format=array|link=none}}|,|@@@|{{#widget:link |type=a|href=#image-modal-{{#var:@counter}} |datatoggle=modal |class=attachment |text={{#ifeq:{{#explode:@@@|<PROP>|2}}|pdf|{{fa|file-pdf}}|{{fa|image}} }} }}<!-- | ||
Line 319: | Line 319: | ||
<div class="col-12 col-lg-4 mt-0"> | <div class="col-12 col-lg-4 mt-0"> | ||
<div class="box"> | <div class="box"> | ||
− | <h2>Lie | + | <h2>Lie location</h2> |
{{#arraymap:{{#explode:{{#var:@workflow}}|<PROP>|9}}|,|@@@| | {{#arraymap:{{#explode:{{#var:@workflow}}|<PROP>|9}}|,|@@@| | ||
{{Item responsive |Cols=2-10 | {{Item responsive |Cols=2-10 | ||
Line 353: | Line 353: | ||
<h2>The Case</h2> | <h2>The Case</h2> | ||
{{Item responsive |Cols=4-8 | {{Item responsive |Cols=4-8 | ||
− | |1=<b>Lie | + | |1=<b>Lie Category</b> |
|2={{#explode:{{#var:@workflow}}|<PROP>|3}} | |2={{#explode:{{#var:@workflow}}|<PROP>|3}} | ||
}} | }} | ||
Line 365: | Line 365: | ||
}}<!-- | }}<!-- | ||
-->{{Item responsive |Cols=4-8 | -->{{Item responsive |Cols=4-8 | ||
− | |1=<b> | + | |1=<b>Markup <span class="red">Lie</span> and any <span class="dark-blue">Truths</span></b> |
|2=<div class="lie-input">{{#explode:{{#var:@workflow}}|<PROP>|8}}</div> | |2=<div class="lie-input">{{#explode:{{#var:@workflow}}|<PROP>|8}}</div> | ||
}} | }} | ||
{{Item responsive |Cols=4-8 | {{Item responsive |Cols=4-8 | ||
− | |1=<b>Evidence | + | |1=<b>Evidence screenshot</b>{{#vardefine:@uuid|{{#show:{{{Workflow|}}}|?uuid|link=none}} }} |
|2={{#vardefine:@counter|0}}{{#if:{{#var:@uuid}}|{{#arraymap:{{#ask:[[Class::Case file]][[Case file::{{#var:@uuid}}]]|?=|?Modification date|?Type|Format=array|link=none}}|,|@@@|{{#widget:link |type=a|href=#image-modal-{{#var:@counter}} |datatoggle=modal |class=attachment |text={{#ifeq:{{#explode:@@@|<PROP>|2}}|pdf|{{fa|file-pdf}}|{{fa|image}} }} }}<!-- | |2={{#vardefine:@counter|0}}{{#if:{{#var:@uuid}}|{{#arraymap:{{#ask:[[Class::Case file]][[Case file::{{#var:@uuid}}]]|?=|?Modification date|?Type|Format=array|link=none}}|,|@@@|{{#widget:link |type=a|href=#image-modal-{{#var:@counter}} |datatoggle=modal |class=attachment |text={{#ifeq:{{#explode:@@@|<PROP>|2}}|pdf|{{fa|file-pdf}}|{{fa|image}} }} }}<!-- | ||
Line 386: | Line 386: | ||
<div class="col-12 col-lg-4"> | <div class="col-12 col-lg-4"> | ||
<div class="box mt-0"> | <div class="box mt-0"> | ||
− | <h2>Lie | + | <h2>Lie location</h2> |
{{#arraymap:{{#explode:{{#var:@workflow}}|<PROP>|2}}|,|@@@| | {{#arraymap:{{#explode:{{#var:@workflow}}|<PROP>|2}}|,|@@@| | ||
{{Item responsive |Cols=2-10 | {{Item responsive |Cols=2-10 |
Revision as of 08:52, 29 July 2021
This is the Suit template. It should be called in the following format:
{{Suit |Case ID= |Title= |Workflow= }}