6,364
editsTweak display of conditions
m (page seo in main only) |
(Tweak display of conditions) |
||
Line 14: | Line 14: | ||
{{#if:{{{type|}}}|<dd>{{SmallIcon|Explode Radius Icons.png}} Type: [[{{{type}}}]]</dd>}} | {{#if:{{{type|}}}|<dd>{{SmallIcon|Explode Radius Icons.png}} Type: [[{{{type}}}]]</dd>}} | ||
{{#if:{{{difficult terrain|}}}|<dd>{{Difficult terrain}}</dd> }} | {{#if:{{{difficult terrain|}}}|<dd>{{Difficult terrain}}</dd> }} | ||
{{#if:{{{condition1|}}}|<dd>Inflicts {{ | {{#if:{{{condition1|}}}|<dd>{{#if:{{{condition1 no save|}}}|Inflicts {{cond|{{{condition1}}} }} while in area.|May inflict {{cond|{{{condition1}}} }} }}</dd> }} | ||
{{#if:{{{condition2|}}}|<dd>Inflicts {{ | {{#if:{{{condition2|}}}|<dd>{{#if:{{{condition2 no save|}}}|Inflicts {{cond|{{{condition2}}} }} while in area.|May inflict {{cond|{{{condition2}}} }} }}</dd> }}</dl> | ||
</dl> | |||
</div> | </div> | ||
{{#if: {{{condition1|}}}{{{condition2|}}} | | {{#if: {{{condition1|}}}{{{condition2|}}} | | ||
Line 24: | Line 23: | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{Condition | {{{condition1}}} | {{Condition | {{{condition1}}} | ||
}} | }} | ||
{{Main namespace only|{{Inflicts|{{{condition1|}}}|SAI }} }} | {{Main namespace only|{{Inflicts|{{{condition1|}}}|SAI }} }} | ||
Line 34: | Line 30: | ||
<div class="bg3wiki-tooltip-box"> | <div class="bg3wiki-tooltip-box"> | ||
{{Condition | {{{condition2}}} | {{Condition | {{{condition2}}} | ||
}} | }} | ||
{{Main namespace only|{{Inflicts|{{{condition2|}}}|SAI }} }} | {{Main namespace only|{{Inflicts|{{{condition2|}}}|SAI }} }} | ||
Line 57: | Line 50: | ||
<h2>Interactions</h2> | <h2>Interactions</h2> | ||
{{{interactions}}} | {{{interactions}}} | ||
}} | }}{{main namespace only| | ||
{{#if: {{#ifeq: {{{type|}}} | surface | [[Category:Surfaces]] | }} }} | {{#if: {{#ifeq: {{{type|}}} | surface | [[Category:Surfaces]] | }} }} | ||
{{#if: {{#ifeq: {{{type|}}} | cloud | [[Category:Clouds]] | }} }} | {{#if: {{#ifeq: {{{type|}}} | cloud | [[Category:Clouds]] | }} }} | ||
{{#if: {{#ifeq: {{{type|}}} | summoned | [[Category:Summoned areas]] | }} }} | {{#if: {{#ifeq: {{{type|}}} | summoned | [[Category:Summoned areas]] | }} }} | ||
[[Category:Areas]]}} | |||
{{#if: {{{notes|}}} | | {{#if: {{{notes|}}} | | ||
Line 69: | Line 63: | ||
</div> | </div> | ||
}} | }} | ||
</includeonly><noinclude>{{documentation|content= | </includeonly><noinclude>{{documentation|content= | ||
Template that generates an entire page for areas. Use [[Template:Area]] for displaying on a page. | Template that generates an entire page for areas. Use [[Template:Area]] for displaying on a page. | ||
Line 82: | Line 76: | ||
|difficult terrain= | |difficult terrain= | ||
|condition1= | |condition1= | ||
|condition1 save | |condition1 no save= | ||
|condition2= | |condition2= | ||
|condition2 save | |condition2 no save= | ||
|created by items= | |created by items= | ||
|created by spells= | |created by spells= | ||
Line 101: | Line 91: | ||
|image=Surface Grease Image.png | |image=Surface Grease Image.png | ||
|type=surface | |type=surface | ||
|difficult terrain=true | |difficult terrain=true | ||
|summary=a slippery surface that has a chance to knock a creature {{cond|Prone}}. | |summary=a slippery surface that has a chance to knock a creature {{cond|Prone}}. | ||
|condition1=Prone | |condition1=Prone | ||
|created by items = Grease Bottle | |created by items = Grease Bottle | ||
|created by spells = Grease | |created by spells = Grease | ||
Line 114: | Line 102: | ||
{{Area page | {{Area page | ||
|name=Hunger of Hadar | |name=Hunger of Hadar | ||
|difficult terrain=true | |difficult terrain=true | ||
|summary=a dark cloud that {{cond|Blinded|Blinds}} and damages creatures within. | |summary=a dark cloud that {{cond|Blinded|Blinds}} and damages creatures within. | ||
Line 125: | Line 112: | ||
The area is [[Difficult Terrain]], and creatures within are [[Blinded]]. | The area is [[Difficult Terrain]], and creatures within are [[Blinded]]. | ||
|condition1=Blinded | |condition1=Blinded | ||
|condition1 no save=true | |||
|condition2=Hunger of Hadar | |condition2=Hunger of Hadar | ||
|condition2 no save=true | |||
}} | }} | ||
==Template data== | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 166: | Line 156: | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"condition1 save | "condition1 no save": { | ||
"description": "If specified, notes that the condition is applied while in area", | |||
"type": "boolean" | |||
"description": " | |||
" | |||
}, | }, | ||
"condition2": { | "condition2": { | ||
"description": "The second condition inflicted by this area", | "description": "The second condition inflicted by this area", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"condition2 save | "condition2 no save": { | ||
"description": "If specified, notes that the condition is applied while in area" | |||
"description": " | |||
}, | }, | ||
"created by items": { | "created by items": { | ||
Line 233: | Line 193: | ||
"type", | "type", | ||
"condition1", | "condition1", | ||
"condition1 save | "condition1 no save", | ||
"condition2", | "condition2", | ||
"condition2 save | "condition2 no save", | ||
"created by items", | "created by items", | ||
"created by spells", | "created by spells", | ||
"interactions", | "interactions", | ||
"notes" | "notes" | ||
] | ], | ||
"description": "Generates an entire page for representing areas.", | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> |