Difference between revisions of "Template:CortexLocation"
Line 2: | Line 2: | ||
{{CortexLocation | {{CortexLocation | ||
|name=Bob | |name=Bob | ||
− | | | + | |desc=A description of bob |
|distinction1=Very Bob | |distinction1=Very Bob | ||
|distinction1_value=10 | |distinction1_value=10 | ||
Line 34: | Line 34: | ||
|distinction2=A Second Thing | |distinction2=A Second Thing | ||
|distinction2_value=8 | |distinction2_value=8 | ||
+ | |distinction1_sfx1_name=Stuffline1 | ||
|distinction2_sfx1_name=Stuffline2 | |distinction2_sfx1_name=Stuffline2 | ||
|distinction2_sfx1_effect=Exchange [pp] for [10] | |distinction2_sfx1_effect=Exchange [pp] for [10] | ||
Line 40: | Line 41: | ||
[[Category:Templates]][[Category:Cortex]] | [[Category:Templates]][[Category:Cortex]] | ||
− | </noinclude>{| class="wikitable" style="width: | + | </noinclude>{| class="wikitable" style="width:{{{width|35}}}%" |
|- | |- | ||
− | | | + | |{{#if:{{{name|}}}|{{head|{{{name}}}}}|{{error|Location requires a name}}}} |
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{desc|}}}| |
+ | {{!}}''{{{desc}}}'' | ||
{{!}}-}} | {{!}}-}} | ||
− | + | |{{#if:{{{distinction1|}}}|{{CortexTrait|name={{{distinction1}}}|value={{{distinction1_value}}}}}|{{error|Locations require at least one distinction}}}} | |
− | |||
− | |||
|- | |- | ||
− | |{{ | + | {{#if:{{{distinction1|}}}| |
− | {{#if: {{{ | + | {{!}}{{hinder}} |
− | {{#if: {{{ | + | {{!}}-}} |
− | |- | + | {{#ifexpr:({{#if:{{{distinction1|}}}|1|0}}*{{#if:{{{distinction1_sfx1_name|}}}|1|0}})=1| |
− | {{#if: {{{ | + | {{!}}{{#if:{{{distinction1_sfx1_effect|}}}|{{CortexSFX|name = {{{distinction1_sfx1_name}}}|effect={{{distinction1_sfx1_effect}}}}}|{{error|distinction1_sfx1_effect missing}}}} |
− | {{!}}{{#if: {{{ | + | {{!}}-}} |
− | {{#if: {{{ | + | {{#ifexpr:({{#if:{{{distinction1|}}}|1|0}}*{{#if:{{{distinction1_sfx2_name|}}}|1|0}})=1| |
− | {{#if: {{{distinction3_sfx1_name|}}}|{{!}}{{CortexSFX|name = {{{distinction3_sfx1_name}}}|effect = {{{distinction3_sfx1_effect | + | {{!}}{{#if:{{{distinction1_sfx2_effect|}}}|{{CortexSFX|name = {{{distinction1_sfx2_name}}}|effect={{{distinction1_sfx2_effect}}}}}|{{error|distinction1_sfx2_effect missing}}}} |
+ | {{!}}-}} | ||
+ | {{#ifexpr:({{#if:{{{distinction1|}}}|1|0}}*{{#if:{{{distinction1_sfx3_name|}}}|1|0}})=1| | ||
+ | {{!}}{{#if:{{{distinction1_sfx3_effect|}}}|{{CortexSFX|name = {{{distinction1_sfx3_name}}}|effect={{{distinction1_sfx3_effect}}}}}|{{error|distinction1_sfx3_effect missing}}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{distinction2|}}}| | ||
+ | {{!}}{{CortexTrait|name={{{distinction2}}}|value={{{distinction2_value}}}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{distinction2|}}}| | ||
+ | {{!}}{{hinder}} | ||
+ | {{!}}-}} | ||
+ | {{#ifexpr:({{#if:{{{distinction2|}}}|1|0}}*{{#if:{{{distinction2_sfx1_name|}}}|1|0}})=1| | ||
+ | {{!}}{{#if:{{{distinction2_sfx1_effect|}}}|{{CortexSFX|name = {{{distinction2_sfx1_name}}}|effect={{{distinction2_sfx1_effect}}}}}|{{error|distinction2_sfx1_effect missing}}}} | ||
+ | {{!}}-}} | ||
+ | {{#ifexpr:({{#if:{{{distinction2|}}}|1|0}}*{{#if:{{{distinction2_sfx2_name|}}}|1|0}})=1| | ||
+ | {{!}}{{#if:{{{distinction2_sfx2_effect|}}}|{{CortexSFX|name = {{{distinction2_sfx2_name}}}|effect={{{distinction2_sfx2_effect}}}}}|{{error|distinction2_sfx2_effect missing}}}} | ||
+ | {{!}}-}} | ||
+ | {{#ifexpr:({{#if:{{{distinction2|}}}|1|0}}*{{#if:{{{distinction2_sfx3_name|}}}|1|0}})=1| | ||
+ | {{!}}{{#if:{{{distinction2_sfx3_effect|}}}|{{CortexSFX|name = {{{distinction2_sfx3_name}}}|effect={{{distinction2_sfx3_effect}}}}}|{{error|distinction2_sfx3_effect missing}}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{distinction3|}}}| | ||
+ | {{!}}{{CortexTrait|name={{{distinction3}}}|value={{{distinction3_value}}}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{distinction3|}}}| | ||
+ | {{!}}{{hinder}} | ||
+ | {{!}}-}} | ||
+ | {{#ifexpr:({{#if:{{{distinction3|}}}|1|0}}*{{#if:{{{distinction3_sfx1_name|}}}|1|0}})=1| | ||
+ | {{!}}{{#if:{{{distinction3_sfx1_effect|}}}|{{CortexSFX|name = {{{distinction3_sfx1_name}}}|effect={{{distinction3_sfx1_effect}}}}}|{{error|distinction3_sfx1_effect missing}}}} | ||
{{!}}-}} | {{!}}-}} | ||
− | {{# | + | {{#ifexpr:({{#if:{{{distinction3|}}}|1|0}}*{{#if:{{{distinction3_sfx2_name|}}}|1|0}})=1| |
− | + | {{!}}{{#if:{{{distinction3_sfx2_effect|}}}|{{CortexSFX|name = {{{distinction3_sfx2_name}}}|effect={{{distinction3_sfx2_effect}}}}}|{{error|distinction3_sfx2_effect missing}}}} | |
− | {{#if: {{{ | ||
− | |||
{{!}}-}} | {{!}}-}} | ||
− | {{# | + | {{#ifexpr:({{#if:{{{distinction3|}}}|1|0}}*{{#if:{{{distinction3_sfx3_name|}}}|1|0}})=1| |
− | + | {{!}}{{#if:{{{distinction3_sfx3_effect|}}}|{{CortexSFX|name = {{{distinction3_sfx3_name}}}|effect={{{distinction3_sfx3_effect}}}}}|{{error|distinction3_sfx3_effect missing}}}} | |
− | {{#if: {{{ | ||
− | |||
{{!}}-}} | {{!}}-}} | ||
− | |} | + | |}<noinclude> |
− | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 208: | Line 230: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
− | " | + | "desc": { |
"label": "Location Description", | "label": "Location Description", | ||
"description": "Description of the Location", | "description": "Description of the Location", | ||
Line 243: | Line 265: | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
− | " | + | "desc", |
"distinction1", | "distinction1", | ||
"distinction1_value", | "distinction1_value", |
Revision as of 04:49, 20 December 2022
Bob | ||
A description of bob | ||
| ||
Hinder
Gain a when you switch out this distinction's for a . | ||
Stuff
Exchange for | ||
Stuffline2
Exchange for | ||
Stuffline3
Exchange for | ||
| ||
Hinder
Gain a when you switch out this distinction's for a . | ||
| ||
Hinder
Gain a when you switch out this distinction's for a . |
Lesser | ||
| ||
Hinder
Gain a when you switch out this distinction's for a . | ||
distinction1_sfx1_effect missing | ||
| ||
Hinder
Gain a when you switch out this distinction's for a . | ||
Stuffline2
Exchange for |
Location requires a name |
Locations require at least one distinction |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Location Name | name | Name of the Location
| String | required |
Location Description | desc | Description of the Location
| String | suggested |
Distinction 1 Name | distinction1 | Name of First Distinction
| String | required |
Distinction 1 Value | distinction1_value | Die Value of First Distinction
| Number | required |
Distinction 2 Name | distinction2 | Name of Second Distinction
| String | optional |
Distinction 2 Value | distinction2_value | Die Value of Second Distinction
| Number | optional |
Distinction 3 Name | distinction3 | Name of Third Distinction
| String | optional |
Distinction 3 Value | distinction3_value | Die Value of Third Distinction
| Number | optional |
Width | width | Box Width
| Number | optional |
Distinction 1, SFX 1 Name | distinction1_sfx1_name | Name of First SFX Associated with First Distinction
| String | optional |
Distinction 1, SFX 1 Effect | distinction1_sfx1_effect | Effect of First SFX Associated with First Distinction
| String | optional |
Distinction 1, SFX 2 Name | distinction1_sfx2_name | Name of Second SFX Associated with First Distinction
| String | optional |
Distinction 1, SFX 2 Effect | distinction1_sfx2_effect | Effect of Second SFX Associated with First Distinction
| String | optional |
Distinction 1, SFX 3 Name | distinction1_sfx3_name | Name of Third SFX Associated with First Distinction
| String | optional |
Distinction 1, SFX 3 Effect | distinction1_sfx3_effect | Effect of Third SFX Associated with First Distinction
| String | optional |
Distinction 2, SFX 1 Name | distinction2_sfx1_name | Name of First SFX Associated with Second Distinction
| String | optional |
Distinction 2, SFX 1 Effect | distinction2_sfx1_effect | Effect of First SFX Associated with Second Distinction
| String | optional |
Distinction 2, SFX 2 Name | distinction2_sfx2_name | Name of Second SFX Associated with Second Distinction
| String | optional |
Distinction 2, SFX 2 Effect | distinction2_sfx2_effect | Effect of Second SFX Associated with Second Distinction
| String | optional |
Distinction 1, SFX 3 Name | distinction2_sfx3_name | Name of Third SFX Associated with Second Distinction
| String | optional |
Distinction 2, SFX 3 Effect | distinction2_sfx3_effect | Effect of Third SFX Associated with Second Distinction
| String | optional |
Distinction 3, SFX 1 Name | distinction3_sfx1_name | Name of First SFX Associated with Third Distinction
| String | optional |
Distinction 3, SFX 1 Effect | distinction3_sfx1_effect | Effect of First SFX Associated with Third Distinction
| String | optional |
Distinction 3, SFX 2 Name | distinction3_sfx2_name | Name of Second SFX Associated with Third Distinction
| String | optional |
Distinction 3, SFX 2 Effect | distinction3_sfx2_effect | Effect of Second SFX Associated with Third Distinction
| String | optional |
Distinction 1, SFX 3 Name | distinction3_sfx3_name | Name of Third SFX Associated with Third Distinction
| String | optional |
Distinction 3, SFX 3 Effect | distinction3_sfx3_effect | Effect of Third SFX Associated with Third Distinction
| String | optional |