Template:Event/Choices/Choice: Difference between revisions

m (Adding nesting support)
m (Adding border for Choice distinction)
Line 1: Line 1:
{{#if: {{{option_1|}}}
<div style="border-style: groove; padding-left: 1em">
| ; {{{option_1}}}
{{#if: {{{option_1|a}}}
| ; {{{option_1|Test 1}}}
   {{#if: {{{effect_1|}}}
   {{#if: {{{effect_1|}}}
   | {{{prefix|}}}:{{{effect_1}}}
   | {{{prefix|}}}:{{{effect_1}}}
Line 7: Line 8:
|
|
}}
}}
{{#if: {{{option_2|}}}
{{#if: {{{option_2|a}}}
| {{{prefix|}}}; {{{option_2}}}
| {{{prefix|}}}; {{{option_2|Test 2}}}
   {{#if: {{{effect_2|}}}
   {{#if: {{{effect_2|}}}
   | {{{prefix|}}}:{{{effect_2}}}
   | {{{prefix|}}}:{{{effect_2}}}
Line 38: Line 39:
   }}
   }}
|
|
}}
}}</div>

Revision as of 21:24, 15 November 2020

Test 1
Test 2