43,335
edits
m
no edit summary
(Added name and page variables. Updated auto summary) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{main namespace only|{{PageSeo | <includeonly>{{main namespace only|{{PageSeo | ||
|title = {{{name|{{PAGENAME}} }}} | |title = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | ||
|image = | |image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}} | ||
|description = {{{name|{{PAGENAME}} }}} is {{{summary|a type of Area}}} | |description = {{{name|{{PAGENAME}} }}} is {{{summary|a type of Area}}} | ||
}} }}__NOTOC__<div style="min-height: 200px" class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common" | }} }}__NOTOC__<div style="min-height: 200px" class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common" | ||
><!--Extract name and icon from the page title-->{{#lvardef: name | ><!--Extract name and icon from the page title-->{{#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}} }}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} Unfaded Icon.webp }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} Icon.webp }} }} | ||
| {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}} | {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{#if:{{{controller icon|}}} | [[File:{{{controller icon}}}|frameless|right|alt={{PAGENAME}} controller icon]] | {{#if:{{{icon|}}} | [[File:{{{icon}}}|frameless|right|alt={{PAGENAME}} icon]] | }} }} }} | ||
}}{{#lvardef: | |||
| {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | '''{{{name | {{#titleparts: {{PAGENAME}} }} }}}''' is {{{summary|{{#switch:{{lc:{{{type|}}}}}|surface=a [[surface]]|cloud=a [[cloud]].|summoned=a [[summonable area]]|an [[area]].}}}}} | ||
}}{{#if:{{{image|}}}|[[File:{{{image}}}| | |||
'''{{{name|{{PAGENAME}}}}}''' is {{{summary|{{#switch:{{lc:{{{type|}}}}}|surface=a [[surface]]|cloud=a [[cloud]].|summoned=a [[summonable area]]|an [[area]].}}}}} | |||
{{#if:{{{description|}}}| | {{#if:{{{description|}}}| | ||
<h2>Description</h2> | <h2>Description</h2> | ||
Line 17: | Line 16: | ||
<dl class="bg3wiki-property-list"> | <dl class="bg3wiki-property-list"> | ||
{{#if:{{{type|}}}|<dd>{{SmallIcon|Condition Type Icon.png}} Type: [[Area#{{ucfirst:{{{type}}}}}|{{ucfirst:{{{type}}}}}]]</dd>}} | {{#if:{{{type|}}}|<dd>{{SmallIcon|Condition Type Icon.png}} Type: [[Area#{{ucfirst:{{{type}}}}}|{{ucfirst:{{{type}}}}}]]</dd>}} | ||
{{#if:{{{ | {{#if:{{{movement multiplier|}}}|<dd>Movement Multiplier: {{{movement multiplier}}}x</dd> }} | ||
</dl> | </dl> | ||
</div> | </div> | ||
{{#if: {{{ | {{#if: {{{condition|}}} | | ||
<h2> Condition: {{{condition}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{Condition | {{{ | {{Condition | {{{condition}}} | ||
| save = {{{condition save|}}} | |||
| dc = {{{condition dc|}}} | |||
}} | }} | ||
{{Main namespace only|{{Inflicts|{{{ | {{Main namespace only|{{Inflicts|{{{condition|}}}|area }} }} | ||
</div> | </div> | ||
}} | |||
{{#if: {{{condition2|}}}| | }} {{#if: {{{condition2|}}} | | ||
<div class="bg3wiki-tooltip-box"> | |||
<h2> Condition: {{{condition2}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{Condition | {{{condition2}}} | {{Condition | {{{condition2}}} | ||
| save = {{{condition2 save|}}} | |||
| dc = {{{condition2 dc|}}} | |||
}} | }} | ||
{{Main namespace only|{{Inflicts|{{{condition2|}}}| | {{Main namespace only|{{Inflicts|{{{condition2|}}}|area }} }} | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{created by items|}}}{{{created by spells|}}}| | {{#if:{{{created by items|}}}{{{created by spells|}}}| | ||
Line 55: | Line 59: | ||
<h2>Interactions</h2> | <h2>Interactions</h2> | ||
{{{interactions}}} | {{{interactions}}} | ||
}} | }} | ||
{{#if: {{{notes|}}} | | {{#if: {{{notes|}}} | | ||
Line 70: | Line 67: | ||
}} | }} | ||
{{main namespace only| | |||
{{#switch:{{{type|}}} | |||
|surface = [[Category:Surfaces]] | |||
|cloud = [[Category:Clouds]] | |||
|summoned = [[Category:Summoned areas]] | |||
{{ | |||
| | |||
}} | |||
| | |||
| | |||
| | |||
}} | }} | ||
[[Category:Areas]]{{#cargo_store: _table = areas | |||
{{ | | name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | ||
| name = | | image = {{{image|}}} | ||
| image = | | controller_icon = {{#lvar:controllericon}} | ||
| | | icon = {{#lvar:icon}} | ||
| | | description = {{{description|}}} | ||
| description = | | type = {{{type|surface}}} | ||
| movement_multiplier = {{{movement multiplier|1}}} | |||
| area_condition = {{{condition|}}} | |||
| condition_save = {{{condition save|}}} | |||
| condition_dc = {{{condition dc|}}} | |||
| | | area_condition2 = {{{condition2|}}} | ||
| | | condition2_save = {{{condition2 save|}}} | ||
| condition2_dc = {{{condition2 dc|}}} | |||
| | |||
}} | |||
= | |||
{ | |||
} | |||
}} | }} | ||
}}</includeonly><noinclude>{{documentation}}{{#cargo_declare: _table = areas | |||
| name = String (unique, mandatory) | |||
| image = File | |||
| controller_icon = File | |||
| icon = File | |||
| description = Wikitext | |||
| type = String (allowed values = surface, cloud, summoned) | |||
| movement_multiplier = Float | |||
| area_condition = String | |||
| condition_save = String | |||
| condition_dc = String | |||
| area_condition2 = String | |||
| condition2_save = String | |||
| condition2_dc = String | |||
}}</noinclude> |