Difference between revisions of "Template:CortexLocation"
Jump to navigation
Jump to search
Tag: Undo |
|||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | {{CortexLocation | ||
+ | |name=Bob | ||
+ | |description=A description of bob | ||
+ | |distinction1=Very Bob | ||
+ | |distinction1_value=10 | ||
+ | |distinction1_sfx1_name=Stuff | ||
+ | |distinction1_sfx1_effect=Exchange [pp] for [8] | ||
+ | |distinction1_sfx2_name=Stuffline2 | ||
+ | |distinction1_sfx2_effect=Exchange [pp] for [10] | ||
+ | |distinction1_sfx3_name=Stuffline3 | ||
+ | |distinction1_sfx3_effect=Exchange [pp] for [12] | ||
+ | |distinction2=Exceptionally Bob | ||
+ | |distinction2_value=8 | ||
+ | |distinction2_sfx1_name= | ||
+ | |distinction2_sfx1_effect= | ||
+ | |distinction2_sfx2_name= | ||
+ | |distinction2_sfx2_effect= | ||
+ | |distinction2_sfx3_name= | ||
+ | |distinction2_sfx3_effect= | ||
+ | |distinction3=Quite Bob | ||
+ | |distinction3_value=8 | ||
+ | |distinction3_sfx1_name= | ||
+ | |distinction3_sfx1_effect= | ||
+ | |distinction3_sfx2_name= | ||
+ | |distinction3_sfx2_effect= | ||
+ | |distinction3_sfx3_name= | ||
+ | |distinction3_sfx3_effect= | ||
+ | }} | ||
+ | {{CortexLocation | ||
+ | |name=Lesser | ||
+ | |distinction1=A THing | ||
+ | |distinction1_value=10 | ||
+ | |distinction2=A Second Thing | ||
+ | |distinction2_value=8 | ||
+ | |distinction2_sfx1_name=Stuffline2 | ||
+ | |distinction2_sfx1_effect=Exchange [pp] for [10] | ||
+ | }} | ||
+ | |||
+ | [[Category:Templates]][[Category:Cortex]] | ||
+ | </noinclude>{| class="wikitable" style="width:{{#ifexpr:{{#expr:(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})*16.66666}}>100|100|{{#expr:(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})*16.66666}}}}%" | ||
+ | |- | ||
+ | |colspan="{{#expr:(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})}}" class='hed'|{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Location requires a name</span>}} | ||
+ | |- | ||
+ | {{#if:{{{description|}}}|{{!}}colspan="{{#expr:(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})}}"{{!}}''{{{description}}}'' | ||
+ | {{!}}-}} | ||
+ | |style="width:{{#expr:100/(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})}}%;"|{{#if: {{{distinction1|}}}|{{CortexTrait|name={{{distinction1}}}|value={{{distinction1_value}}}}}|<span class='err'>Location requires at least 1 distinction</span>}} | ||
+ | {{#if: {{{distinction2|}}}|{{!}}style="width:{{#expr:100/(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})}}%;"{{!}}{{CortexTrait|name={{{distinction2}}}|value={{{distinction2_value}}}}}|;}} | ||
+ | {{#if: {{{distinction3|}}}|{{!}}style="width:{{#expr:100/(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})}}%;"{{!}}{{CortexTrait|name={{{distinction3}}}|value={{{distinction3_value}}}}}|;}} | ||
+ | |- | ||
+ | |{{Hinder}} | ||
+ | {{#if: {{{distinction2|}}}|{{!}}{{Hinder}}|;}} | ||
+ | {{#if: {{{distinction3|}}}|{{!}}{{Hinder}}|;}} | ||
+ | |- | ||
+ | {{#if: {{{distinction1_sfx1_name|}}}{{{distinction2_sfx1_name|}}}{{{distinction3_sfx1_name|}}}| | ||
+ | {{!}}{{#if: {{{distinction1_sfx1_name|}}}|{{CortexSFX|name = {{{distinction1_sfx1_name}}}|effect = {{{distinction1_sfx1_effect|}}}}}}} | ||
+ | {{#if: {{{distinction2_sfx1_name|}}}|{{!}}{{CortexSFX|name = {{{distinction2_sfx1_name}}}|effect = {{{distinction2_sfx1_effect|}}}}}}} | ||
+ | {{#if: {{{distinction3_sfx1_name|}}}|{{!}}{{CortexSFX|name = {{{distinction3_sfx1_name}}}|effect = {{{distinction3_sfx1_effect|}}}}}}} | ||
+ | {{!}}-}} | ||
+ | {{#if: {{{distinction1_sfx2_name|}}}{{{distinction2_sfx2_name|}}}{{{distinction3_sfx2_name|}}}| | ||
+ | {{!}}{{#if: {{{distinction1_sfx2_name|}}}|{{CortexSFX|name = {{{distinction1_sfx2_name}}}|effect = {{{distinction1_sfx2_effect|}}}}}}} | ||
+ | {{#if: {{{distinction2_sfx2_name|}}}|{{!}}{{CortexSFX|name = {{{distinction2_sfx2_name}}}|effect = {{{distinction2_sfx2_effect|}}}}}}} | ||
+ | {{#if: {{{distinction3_sfx2_name|}}}|{{!}}{{CortexSFX|name = {{{distinction3_sfx2_name}}}|effect = {{{distinction3_sfx2_effect|}}}}}}} | ||
+ | {{!}}-}} | ||
+ | {{#if: {{{distinction1_sfx3_name|}}}{{{distinction2_sfx3_name|}}}{{{distinction3_sfx3_name|}}}| | ||
+ | {{!}}{{#if: {{{distinction1_sfx3_name|}}}|{{CortexSFX|name = {{{distinction1_sfx3_name}}}|effect = {{{distinction1_sfx3_effect|}}}}}}} | ||
+ | {{#if: {{{distinction2_sfx3_name|}}}|{{!}}{{CortexSFX|name = {{{distinction2_sfx3_name}}}|effect = {{{distinction2_sfx3_effect|}}}}}}} | ||
+ | {{#if: {{{distinction3_sfx3_name|}}}|{{!}}{{CortexSFX|name = {{{distinction3_sfx3_name}}}|effect = {{{distinction3_sfx3_effect|}}}}}}} | ||
+ | {{!}}-}} | ||
+ | |} | ||
+ | <noinclude> | ||
+ | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
− | "distinction2": { | + | "distinction2": {}, |
− | + | "distinction3": {}, | |
− | + | "name": {}, | |
− | + | "distinction1": {}, | |
− | + | "=distinction1_value": {}, | |
− | + | "=distinction2_value": {}, | |
− | "distinction3": { | + | "=distinction3_value": {}, |
− | + | "distinction1_sfx1_name": {}, | |
− | + | "distinction2_sfx1_name": {}, | |
− | + | "distinction3_sfx1_name": {}, | |
− | + | "distinction1_sfx1_effect": {}, | |
− | + | "distinction2_sfx1_effect": {}, | |
− | "name": { | + | "distinction3_sfx1_effect": {}, |
− | + | "distinction1_sfx2_name": {}, | |
− | + | "distinction2_sfx2_name": {}, | |
− | + | "distinction3_sfx2_name": {}, | |
− | + | "distinction1_sfx2_effect": {}, | |
− | + | "distinction2_sfx2_effect": {}, | |
− | + | "distinction3_sfx2_effect": {}, | |
− | "distinction1": { | + | "distinction1_sfx3_name": {}, |
− | + | "distinction2_sfx3_name": {}, | |
− | + | "distinction3_sfx3_name": {}, | |
− | + | "distinction1_sfx3_effect": {}, | |
− | + | "distinction2_sfx3_effect": {}, | |
− | + | "distinction3_sfx3_effect": {} | |
− | |||
− | "distinction1_sfx1_name": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction2_sfx1_name": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction3_sfx1_name": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction1_sfx1_effect": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction2_sfx1_effect": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction3_sfx1_effect": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction1_sfx2_name": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction2_sfx2_name": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction3_sfx2_name": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction1_sfx2_effect": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction2_sfx2_effect": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction3_sfx2_effect": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction1_sfx3_name": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction2_sfx3_name": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction3_sfx3_name": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction1_sfx3_effect": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction2_sfx3_effect": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "distinction3_sfx3_effect": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
− | |||
− | |||
− | |||
"distinction2", | "distinction2", | ||
− | |||
"distinction3", | "distinction3", | ||
− | "distinction3_value", | + | "distinction1", |
+ | "=distinction1_value", | ||
+ | "=distinction2_value", | ||
+ | "=distinction3_value", | ||
"distinction1_sfx1_name", | "distinction1_sfx1_name", | ||
+ | "distinction2_sfx1_name", | ||
+ | "distinction3_sfx1_name", | ||
"distinction1_sfx1_effect", | "distinction1_sfx1_effect", | ||
+ | "distinction2_sfx1_effect", | ||
+ | "distinction3_sfx1_effect", | ||
"distinction1_sfx2_name", | "distinction1_sfx2_name", | ||
+ | "distinction2_sfx2_name", | ||
+ | "distinction3_sfx2_name", | ||
"distinction1_sfx2_effect", | "distinction1_sfx2_effect", | ||
+ | "distinction2_sfx2_effect", | ||
+ | "distinction3_sfx2_effect", | ||
"distinction1_sfx3_name", | "distinction1_sfx3_name", | ||
+ | "distinction2_sfx3_name", | ||
+ | "distinction3_sfx3_name", | ||
"distinction1_sfx3_effect", | "distinction1_sfx3_effect", | ||
− | |||
− | |||
− | |||
− | |||
− | |||
"distinction2_sfx3_effect", | "distinction2_sfx3_effect", | ||
− | |||
− | |||
− | |||
− | |||
− | |||
"distinction3_sfx3_effect" | "distinction3_sfx3_effect" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
], | ], | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Revision as of 00:55, 14 December 2022
Bob | ||||||||
A description of bob | ||||||||
|
|
| ||||||
Hinder
Gain a when you switch out this distinction's for a . |
Hinder
Gain a when you switch out this distinction's for a . |
Hinder
Gain a when you switch out this distinction's for a . | ||||||
Stuff
Exchange for
| ||||||||
Stuffline2
Exchange for
| ||||||||
Stuffline3
Exchange for
|
Lesser | |||||
|
| ||||
Hinder
Gain a when you switch out this distinction's for a . |
Hinder
Gain a when you switch out this distinction's for a . | ||||
Stuffline2
Exchange for |
Location requires a name |
Location requires at least 1 distinction
|
Hinder
Gain a when you switch out this distinction's for a . |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | no description | Unknown | optional |
Distinction2 | distinction2 | no description | Unknown | optional |
Distinction3 | distinction3 | no description | Unknown | optional |
Distinction1 | distinction1 | no description | Unknown | optional |
=distinction1_value | =distinction1_value | no description | Unknown | optional |
=distinction2_value | =distinction2_value | no description | Unknown | optional |
=distinction3_value | =distinction3_value | no description | Unknown | optional |
Distinction1_sfx1_name | distinction1_sfx1_name | no description | Unknown | optional |
Distinction2_sfx1_name | distinction2_sfx1_name | no description | Unknown | optional |
Distinction3_sfx1_name | distinction3_sfx1_name | no description | Unknown | optional |
Distinction1_sfx1_effect | distinction1_sfx1_effect | no description | Unknown | optional |
Distinction2_sfx1_effect | distinction2_sfx1_effect | no description | Unknown | optional |
Distinction3_sfx1_effect | distinction3_sfx1_effect | no description | Unknown | optional |
Distinction1_sfx2_name | distinction1_sfx2_name | no description | Unknown | optional |
Distinction2_sfx2_name | distinction2_sfx2_name | no description | Unknown | optional |
Distinction3_sfx2_name | distinction3_sfx2_name | no description | Unknown | optional |
Distinction1_sfx2_effect | distinction1_sfx2_effect | no description | Unknown | optional |
Distinction2_sfx2_effect | distinction2_sfx2_effect | no description | Unknown | optional |
Distinction3_sfx2_effect | distinction3_sfx2_effect | no description | Unknown | optional |
Distinction1_sfx3_name | distinction1_sfx3_name | no description | Unknown | optional |
Distinction2_sfx3_name | distinction2_sfx3_name | no description | Unknown | optional |
Distinction3_sfx3_name | distinction3_sfx3_name | no description | Unknown | optional |
Distinction1_sfx3_effect | distinction1_sfx3_effect | no description | Unknown | optional |
Distinction2_sfx3_effect | distinction2_sfx3_effect | no description | Unknown | optional |
Distinction3_sfx3_effect | distinction3_sfx3_effect | no description | Unknown | optional |