Template:Event/Choices/Choice: Difference between revisions

m (Adding nesting support)
No edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#if: {{{option_1|}}}
<dl style="width: fit-content; border-style: groove; padding: 0 1em 1em">
| ; {{{option_1}}}
  {{#if: {{{option_1|}}}
  {{#if: {{{effect_1|}}}
  | <dt>{{{option_1}}}</dt>
  | {{{prefix|}}}:{{{effect_1}}}
    {{#if: {{{effect_1|}}}
    | <dd>{{{effect_1}}}</dd>
    |
    }}
   |
   |
   }}
   }}
|
  {{#if: {{{option_2|}}}
}}
  | <dt>{{{option_2}}}</dt>
{{#if: {{{option_2|}}}
    {{#if: {{{effect_2|}}}
| {{{prefix|}}}; {{{option_2}}}
    | <dd>{{{effect_2}}}</dd>
  {{#if: {{{effect_2|}}}
    |
  | {{{prefix|}}}:{{{effect_2}}}
    }}
   |
   |
   }}
   }}
|
  {{#if: {{{option_3|}}}
}}
  | <dt>{{{option_3}}}</dt>
{{#if: {{{option_3|}}}
    {{#if: {{{effect_3|}}}
| {{{prefix|}}}; {{{option_3}}}
    | <dd>{{{effect_3}}}</dd>
  {{#if: {{{effect_3|}}}
    |
  | {{{prefix|}}}:{{{effect_3}}}
    }}
   |
   |
   }}
   }}
|
  {{#if: {{{option_4|}}}
}}
  | <dt>{{{option_4}}}</dt>
{{#if: {{{option_4|}}}
    {{#if: {{{effect_4|}}}
| {{{prefix|}}}; {{{option_4}}}
    | <dd>{{{effect_4}}}</dd>
  {{#if: {{{effect_4|}}}
    |
  | {{{prefix|}}}:{{{effect_4}}}
    }}
   |
   |
   }}
   }}
|
  {{#if: {{{option_5|}}}
}}
  | <dt>{{{option_5}}}</dt>
{{#if: {{{option_5|}}}
    {{#if: {{{effect_5|}}}
| {{{prefix|}}}; {{{option_5}}}
    | <dd>{{{effect_5}}}</dd>
  {{#if: {{{effect_5|}}}
    |
  | {{{prefix|}}}:{{{effect_5}}}
    }}
   |
   |
   }}
   }}
|
  {{#if: {{{option_6|}}}
}}
  | <dt>{{{option_6}}}</dt>
    {{#if: {{{effect_6|}}}
    | <dd>{{{effect_6}}}</dd>
    |
    }}
  |
  }}
  {{#if: {{{option_7|}}}
  | <dt>{{{option_7}}}</dt>
    {{#if: {{{effect_7|}}}
    | <dd>{{{effect_7}}}</dd>
    |
    }}
  |
  }}
  {{#if: {{{option_8|}}}
  | <dt>{{{option_8}}}</dt>
    {{#if: {{{effect_8|}}}
    | <dd>{{{effect_8}}}</dd>
    |
    }}
  |
  }}
  {{#if: {{{option_9|}}}
  | <dt>{{{option_9}}}</dt>
    {{#if: {{{effect_9|}}}
    | <dd>{{{effect_9}}}</dd>
    |
    }}
  |
  }}
  {{#if: {{{option_10|}}}
  | <dt>{{{option_10}}}</dt>
    {{#if: {{{effect_10|}}}
    | <dd>{{{effect_10}}}</dd>
    |
    }}
  |
  }}
  {{#if: {{{option_11|}}}
  | <dt>{{{option_11}}}</dt>
    {{#if: {{{effect_11|}}}
    | <dd>{{{effect_11}}}</dd>
    |
    }}
  |
  }}
  {{#if: {{{option_12|}}}
  | <dt>{{{option_12}}}</dt>
    {{#if: {{{effect_12|}}}
    | <dd>{{{effect_12}}}</dd>
    |
    }}
  |
  }}
  {{#if: {{{option_13|}}}
  | <dt>{{{option_13}}}</dt>
    {{#if: {{{effect_14|}}}
    | <dd>{{{effect_14}}}</dd>
    |
    }}
  |
  }}
  {{#if: {{{option_15|}}}
  | <dt>{{{option_15}}}</dt>
    {{#if: {{{effect_15|}}}
    | <dd>{{{effect_15}}}</dd>
    |
    }}
  |
  }}
  {{#if: {{{option_16|}}}
  | <dt>{{{option_16}}}</dt>
    {{#if: {{{effect_16|}}}
    | <dd>{{{effect_16}}}</dd>
    |
    }}
  |
  }}
</dl><!--
--><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 22:05, 28 June 2023