Difference between revisions of "Template:CortexLocation"

From Starlight Wiki
Jump to navigation Jump to search
Line 39: Line 39:
 
[[Category:Templates]][[Category:Cortex]]
 
[[Category:Templates]][[Category:Cortex]]
 
</noinclude>
 
</noinclude>
 +
{{#if:{{{distinction1|}}}|1|0}}}}
 +
{{#if:{{{distinction2|}}}|1|0}}}}
 +
{{#if:{{{distinction3|}}}|1|0}}}}
 +
 
{| class="wikitable" style="width:50%"
 
{| class="wikitable" style="width:50%"
 
|-
 
|-
 
|colspan="3" class='hed'|{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Location requires a name</span>}}  
 
|colspan="3" class='hed'|{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Location requires a name</span>}}  
 
|-|
 
|-|
|style="width:{{#if:{{{distinction1_sfx1_name|}}}{{{distinction2_sfx1_name|}}}{{{distinction3_sfx1_name|}}}|33.3|{{#if:{{{distinction1_sfx1_name|}}}{{{distinction2_sfx1_name|}}}|50|100}}}};"|{{#if: {{{distinction1|}}}|{{CortexTrait|name={{{distinction1}}}|value{{{=distinction1_value}}}}}|<span class='err'>Location requires at least 1 distinction</span>}}
+
|style="width:{{#if:{{{distinction1|}}}{{{distinction2|}}}{{{distinction3|}}}|33.3|{{#if:{{{distinction1|}}}{{{distinction2|}}}|50|100}}}};"|{{#if: {{{distinction1|}}}|{{CortexTrait|name={{{distinction1}}}|value{{{=distinction1_value}}}}}|<span class='err'>Location requires at least 1 distinction</span>}}
 
{{#if: {{{distinction2|}}}|{{!}}style="width:{{#if: {{{distinction2_sfx1_name|}}}{{{distinction3_sfx1_name|}}}|50|33.33333%;"}}{{!}}{{CortexTrait|name={{{distinction2}}}|value{{{=distinction2_value}}}}}|;}}
 
{{#if: {{{distinction2|}}}|{{!}}style="width:{{#if: {{{distinction2_sfx1_name|}}}{{{distinction3_sfx1_name|}}}|50|33.33333%;"}}{{!}}{{CortexTrait|name={{{distinction2}}}|value{{{=distinction2_value}}}}}|;}}
 
{{#if: {{{distinction3|}}}|{{!}}style="width:33.33333%;"{{!}}{{CortexTrait|name={{{distinction3}}}|value{{{=distinction3_value}}}}}|;}}
 
{{#if: {{{distinction3|}}}|{{!}}style="width:33.33333%;"{{!}}{{CortexTrait|name={{{distinction3}}}|value{{{=distinction3_value}}}}}|;}}

Revision as of 12:26, 13 December 2022


1}} 1}} 1}}

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


1}} 1}} 0}}

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

0}} 0}} 0}}

Location requires a name
Location requires at least 1 distinction
Hinder
Gain a when you switch out this distinction's for a .