Template:Area page: Difference between revisions

Jump to navigation Jump to search
change type icon
(Tweak display of conditions)
(change type icon)
Line 12: Line 12:
== Properties ==
== Properties ==
<dl class="bg3wiki-property-list">
<dl class="bg3wiki-property-list">
{{#if:{{{type|}}}|<dd>{{SmallIcon|Explode Radius Icons.png}} Type: [[{{{type}}}]]</dd>}}
{{#if:{{{type|}}}|<dd>{{SmallIcon|Potions Icon.png}} Type: [[{{{type}}}]]</dd>}}
{{#if:{{{difficult terrain|}}}|<dd>{{Difficult terrain}}</dd> }}
{{#if:{{{difficult terrain|}}}|<dd>{{Difficult terrain}}</dd> }}
{{#if:{{{condition1|}}}|<dd>{{#if:{{{condition1 no save|}}}|Inflicts {{cond|{{{condition1}}} }} while in area.|May inflict {{cond|{{{condition1}}} }} }}</dd> }}
{{#if:{{{condition1|}}}|<dd>{{#if:{{{condition1 no save|}}}|Inflicts {{cond|{{{condition1}}} }} while in area.|May inflict {{cond|{{{condition1}}} }} }}</dd> }}
{{#if:{{{condition2|}}}|<dd>{{#if:{{{condition2 no save|}}}|Inflicts {{cond|{{{condition2}}} }} while in area.|May inflict {{cond|{{{condition2}}} }} }}</dd> }}</dl>
{{#if:{{{condition2|}}}|<dd>{{#if:{{{condition2 no save|}}}|Inflicts {{cond|{{{condition2}}} }} while in area.|May inflict {{cond|{{{condition2}}} }} }}</dd> }}
</dl>
</div>
</div>
{{#if: {{{condition1|}}}{{{condition2|}}} |
{{#if: {{{condition1|}}}{{{condition2|}}} |
Line 51: Line 52:
{{{interactions}}}
{{{interactions}}}
}}{{main namespace only|
}}{{main namespace only|
{{#if: {{#ifeq: {{{type|}}} | surface | [[Category:Surfaces]] | }} }}
{{#switch:{{{type|}}}
{{#if: {{#ifeq: {{{type|}}} | cloud | [[Category:Clouds]] | }} }}
|surface = [[Category:Surfaces]
{{#if: {{#ifeq: {{{type|}}} | summoned | [[Category:Summoned areas]] | }} }}
|cloud = [[Category:Clouds]]
[[Category:Areas]]}}
|summoned = [[Category:Summoned areas]]
}}
[[Category:Areas]]
}}
{{#if: {{{notes|}}} |
{{#if: {{{notes|}}} |


Navigation menu