70,989
edits
m
Eliminate extra spacing
m (add blank in front of interactions) |
HiddenDragon (talk | contribs) m (Eliminate extra spacing) |
||
(33 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{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}}} | ||
}}<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" | ||
{{#if:{{{image|}}}|[[File:{{{image}}}| | ><!--Extract name and icon from the page title-->{{#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}} }}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} Icon.webp }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} Controller Icon.webp }} }} | ||
'''{{{name|{{PAGENAME}}}}}''' is {{{summary| | {{#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]] | }} }} }} | ||
'''{{{name | {{#titleparts: {{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> | |||
{{{description}}} | {{{description}}} | ||
}} | }} | ||
<h2>Properties</h2> | |||
<dl class="bg3wiki-property-list"> | <dl class="bg3wiki-property-list"> | ||
{{#if:{{{type|}}}|<dd>{{SmallIcon| | {{#if:{{{type|}}}|<dd>{{SmallIcon|Condition Type Icon.png}} Type: [[Area#{{ucfirst:{{{type}}}}}|{{ucfirst:{{{type}}}}}]]</dd>}} | ||
{{#if: {{{dippable|}}} | <dd>{{Dippable}}</dd> }} | |||
{{#if:{{{ | |||
</dl> | </dl> | ||
</div> | </div> | ||
{{#if:{{{ | {{#if: {{{condition|}}} | | ||
<h2> Condition: {{{condition}}} </h2> | |||
{{{ | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{Condition | {{{condition}}} | |||
| save = {{{condition save|}}} | |||
| dc = {{{condition dc|}}} | |||
| duration = {{{condition duration|}}} | |||
}} | }} | ||
{{ | {{Main namespace only|{{Inflicts|{{{condition|}}}|area|type=area|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}} }} | ||
</ | </div> | ||
}} {{#if: {{{condition2|}}} | | |||
<h2> Condition: {{{condition2}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{Condition | {{{condition2}}} | |||
| save = {{{condition2 save|}}} | |||
| dc = {{{condition2 dc|}}} | |||
| duration = {{{condition2 duration|}}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
</ | {{Main namespace only|{{Inflicts|{{{condition2|}}}|area|type=area|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition2 duration|}}}}} }} | ||
</div> | |||
}} {{#if:{{{created by items|}}}{{{created by spells|}}}| | |||
<h2>Creation</h2> | |||
This area can be created by the following: | |||
{{#if: {{{created by items|}}} | Items: | |||
{{#invoke: ParseList | main | {{{created by items}}} | useTemplate = MdRarityItem | type = htmlList }} | |||
}}{{#if: {{{created by spells|}}} | | |||
{{blank}} | |||
Spells and actions: | |||
{{#invoke: ParseList | main | {{{created by spells}}} | useTemplate = MdSAI | type = htmlList }} | |||
}}}} {{#if:{{{interactions|}}}| | |||
{{blank}} | |||
<h2>Interactions</h2> | |||
{{{interactions}}} | |||
}} {{#if: {{{notes|}}} | | |||
<h2> Notes </h2> | |||
{{{notes}}} | |||
}} {{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}} }} }}} | |||
| image = {{{image|}}} | |||
| controller_icon = {{#lvar:controllericon}} | |||
| icon = {{#lvar:icon}} | |||
| description = {{{description|}}} | |||
| type = {{{type|surface}}} | |||
| dippable = {{IfEmpty | {{{dippable|}}} | no }} | |||
| condition_name = {{{condition|}}} | |||
| condition_save = {{{condition save|}}} | |||
| condition_dc = {{{condition dc|}}} | |||
| condition2_name = {{{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) | |||
| dippable = Boolean | |||
| condition_name = String | |||
| condition_save = String | |||
| condition_dc = String | |||
| condition2_name = String | |||
| condition2_save = String | |||
| condition2_dc = String | |||
}}</noinclude> |