Difference between revisions of "Template:CortexLocation"

From Starlight Wiki
Jump to navigation Jump to search
Line 42: Line 42:
 
|colspan="{{#expr:(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})}}" class='hed'|{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Location requires a name</span>}}  
 
|colspan="{{#expr:(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})}}" class='hed'|{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Location requires a name</span>}}  
 
|-|
 
|-|
|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>}}
+
|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: {{{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}}}}}|;}}
+
{{#if: {{{distinction3|}}}|{{!}}style="width:{{#expr:100/(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})}}%;"{{!}}{{CortexTrait|name={{{distinction3}}}|value={{{distinction3_value}}}}}|;}}
 
|-
 
|-
 
|{{Hinder}}
 
|{{Hinder}}

Revision as of 00:05, 14 December 2022

Bob
Very Bob
Exceptionally Bob
Quite 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
A THing
A Second Thing
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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Unknownoptional
Distinction2distinction2

no description

Unknownoptional
Distinction3distinction3

no description

Unknownoptional
Distinction1distinction1

no description

Unknownoptional
=distinction1_value=distinction1_value

no description

Unknownoptional
=distinction2_value=distinction2_value

no description

Unknownoptional
=distinction3_value=distinction3_value

no description

Unknownoptional
Distinction1_sfx1_namedistinction1_sfx1_name

no description

Unknownoptional
Distinction2_sfx1_namedistinction2_sfx1_name

no description

Unknownoptional
Distinction3_sfx1_namedistinction3_sfx1_name

no description

Unknownoptional
Distinction1_sfx1_effectdistinction1_sfx1_effect

no description

Unknownoptional
Distinction2_sfx1_effectdistinction2_sfx1_effect

no description

Unknownoptional
Distinction3_sfx1_effectdistinction3_sfx1_effect

no description

Unknownoptional
Distinction1_sfx2_namedistinction1_sfx2_name

no description

Unknownoptional
Distinction2_sfx2_namedistinction2_sfx2_name

no description

Unknownoptional
Distinction3_sfx2_namedistinction3_sfx2_name

no description

Unknownoptional
Distinction1_sfx2_effectdistinction1_sfx2_effect

no description

Unknownoptional
Distinction2_sfx2_effectdistinction2_sfx2_effect

no description

Unknownoptional
Distinction3_sfx2_effectdistinction3_sfx2_effect

no description

Unknownoptional
Distinction1_sfx3_namedistinction1_sfx3_name

no description

Unknownoptional
Distinction2_sfx3_namedistinction2_sfx3_name

no description

Unknownoptional
Distinction3_sfx3_namedistinction3_sfx3_name

no description

Unknownoptional
Distinction1_sfx3_effectdistinction1_sfx3_effect

no description

Unknownoptional
Distinction2_sfx3_effectdistinction2_sfx3_effect

no description

Unknownoptional
Distinction3_sfx3_effectdistinction3_sfx3_effect

no description

Unknownoptional