Difference between revisions of "Template:CortexLocation"

From Starlight Wiki
Jump to navigation Jump to search
(Undo revision 3377 by Stylo (talk))
Tag: Undo
 
(5 intermediate revisions by the same user not shown)
Line 36: Line 36:
 
|distinction2_sfx1_name=Stuffline2
 
|distinction2_sfx1_name=Stuffline2
 
|distinction2_sfx1_effect=Exchange [pp] for [10]
 
|distinction2_sfx1_effect=Exchange [pp] for [10]
 +
|width=100
 
}}
 
}}
  
 
[[Category:Templates]][[Category:Cortex]]
 
[[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}}}}%"
+
</noinclude>{| class="wikitable" style="width:{{#if:{{{width|}}}|{{{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>}}  
 
|colspan="{{#expr:(1+{{#if:{{{distinction2|}}}|1|0}}+{{#if:{{{distinction3|}}}|1|0}})}}" class='hed'|{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Location requires a name</span>}}  
Line 231: Line 232:
 
"description": "Die Value of Third Distinction",
 
"description": "Die Value of Third Distinction",
 
"example": "8",
 
"example": "8",
 +
"type": "number"
 +
},
 +
"width": {
 +
"label": "Width",
 +
"description": "Box Width",
 +
"example": "100",
 
"type": "number"
 
"type": "number"
 
}
 
}
Line 243: Line 250:
 
"distinction3",
 
"distinction3",
 
"distinction3_value",
 
"distinction3_value",
 +
"width",
 
"distinction1_sfx1_name",
 
"distinction1_sfx1_name",
 
"distinction1_sfx1_effect",
 
"distinction1_sfx1_effect",
Line 264: Line 272:
 
"sets": [
 
"sets": [
 
{
 
{
"label" : "Distinction 2",
+
"label": "Distinction 2",
"params": ["distinction2", "distinction2_value"]
+
"params": [
 +
"distinction2",
 +
"distinction2_value"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 3",
+
"label": "Distinction 3",
"params": ["distinction3", "distinction3_value"]
+
"params": [
 +
"distinction3",
 +
"distinction3_value"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 1, First SFX",
+
"label": "Distinction 1, First SFX",
"params": [ "distinction1_sfx1_name", "distinction1_sfx1_effect"]
+
"params": [
 +
"distinction1_sfx1_name",
 +
"distinction1_sfx1_effect"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 1, Second SFX",
+
"label": "Distinction 1, Second SFX",
"params": [ "distinction1_sfx2_name", "distinction1_sfx2_effect"]
+
"params": [
 +
"distinction1_sfx2_name",
 +
"distinction1_sfx2_effect"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 1, Third SFX",
+
"label": "Distinction 1, Third SFX",
"params": [ "distinction1_sfx3_name", "distinction1_sfx3_effect"]
+
"params": [
 +
"distinction1_sfx3_name",
 +
"distinction1_sfx3_effect"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 2, First SFX",
+
"label": "Distinction 2, First SFX",
"params": [ "distinction2_sfx1_name", "distinction2_sfx1_effect"]
+
"params": [
 +
"distinction2_sfx1_name",
 +
"distinction2_sfx1_effect"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 2, Second SFX",
+
"label": "Distinction 2, Second SFX",
"params": [ "distinction2_sfx2_name", "distinction2_sfx2_effect"]
+
"params": [
 +
"distinction2_sfx2_name",
 +
"distinction2_sfx2_effect"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 2, Third SFX",
+
"label": "Distinction 2, Third SFX",
"params": [ "distinction2_sfx3_name", "distinction2_sfx3_effect"]
+
"params": [
 +
"distinction2_sfx3_name",
 +
"distinction2_sfx3_effect"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 3, First SFX",
+
"label": "Distinction 3, First SFX",
"params": [ "distinction3_sfx1_name", "distinction3_sfx1_effect"]
+
"params": [
 +
"distinction3_sfx1_name",
 +
"distinction3_sfx1_effect"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 3, Second SFX",
+
"label": "Distinction 3, Second SFX",
"params": [ "distinction3_sfx2_name", "distinction3_sfx2_effect"]
+
"params": [
 +
"distinction3_sfx2_name",
 +
"distinction3_sfx2_effect"
 +
]
 
},
 
},
 
{
 
{
"label" : "Distinction 3, Third SFX",
+
"label": "Distinction 3, Third SFX",
"params": [ "distinction3_sfx3_name", "distinction3_sfx3_effect"]
+
"params": [
 +
"distinction3_sfx3_name",
 +
"distinction3_sfx3_effect"
 +
]
 
}
 
}
 
],
 
],

Latest revision as of 05:53, 20 December 2022

Bob
A description of 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
Location Namename

Name of the Location

Example
High-Class Restaurant
Stringrequired
Location Descriptiondescription

Description of the Location

Example
A high class restaruant with a bunch of stuff that's really high class.
Stringsuggested
Distinction 1 Namedistinction1

Name of First Distinction

Example
Bustling Waitstaff
Stringrequired
Distinction 1 Valuedistinction1_value

Die Value of First Distinction

Example
8
Numberrequired
Distinction 2 Namedistinction2

Name of Second Distinction

Example
Well-Stocked Larder
Stringoptional
Distinction 2 Valuedistinction2_value

Die Value of Second Distinction

Example
8
Numberoptional
Distinction 3 Namedistinction3

Name of Third Distinction

Example
Productive Kitchen
Stringoptional
Distinction 3 Valuedistinction3_value

Die Value of Third Distinction

Example
8
Numberoptional
Widthwidth

Box Width

Example
100
Numberoptional
Distinction 1, SFX 1 Namedistinction1_sfx1_name

Name of First SFX Associated with First Distinction

Example
Show me the money
Stringoptional
Distinction 1, SFX 1 Effectdistinction1_sfx1_effect

Effect of First SFX Associated with First Distinction

Example
Spend [pp] gain [8] asset
Stringoptional
Distinction 1, SFX 2 Namedistinction1_sfx2_name

Name of Second SFX Associated with First Distinction

Example
Show me the money
Stringoptional
Distinction 1, SFX 2 Effectdistinction1_sfx2_effect

Effect of Second SFX Associated with First Distinction

Example
Spend [pp] gain [8] asset
Stringoptional
Distinction 1, SFX 3 Namedistinction1_sfx3_name

Name of Third SFX Associated with First Distinction

Example
Show me the money
Stringoptional
Distinction 1, SFX 3 Effectdistinction1_sfx3_effect

Effect of Third SFX Associated with First Distinction

Example
Spend [pp] gain [8] asset
Stringoptional
Distinction 2, SFX 1 Namedistinction2_sfx1_name

Name of First SFX Associated with Second Distinction

Example
Show me the money
Stringoptional
Distinction 2, SFX 1 Effectdistinction2_sfx1_effect

Effect of First SFX Associated with Second Distinction

Example
Spend [pp] gain [8] asset
Stringoptional
Distinction 2, SFX 2 Namedistinction2_sfx2_name

Name of Second SFX Associated with Second Distinction

Example
Show me the money
Stringoptional
Distinction 2, SFX 2 Effectdistinction2_sfx2_effect

Effect of Second SFX Associated with Second Distinction

Example
Spend [pp] gain [8] asset
Stringoptional
Distinction 1, SFX 3 Namedistinction2_sfx3_name

Name of Third SFX Associated with Second Distinction

Example
Show me the money
Stringoptional
Distinction 2, SFX 3 Effectdistinction2_sfx3_effect

Effect of Third SFX Associated with Second Distinction

Example
Spend [pp] gain [8] asset
Stringoptional
Distinction 3, SFX 1 Namedistinction3_sfx1_name

Name of First SFX Associated with Third Distinction

Example
Show me the money
Stringoptional
Distinction 3, SFX 1 Effectdistinction3_sfx1_effect

Effect of First SFX Associated with Third Distinction

Example
Spend [pp] gain [8] asset
Stringoptional
Distinction 3, SFX 2 Namedistinction3_sfx2_name

Name of Second SFX Associated with Third Distinction

Example
Show me the money
Stringoptional
Distinction 3, SFX 2 Effectdistinction3_sfx2_effect

Effect of Second SFX Associated with Third Distinction

Example
Spend [pp] gain [8] asset
Stringoptional
Distinction 1, SFX 3 Namedistinction3_sfx3_name

Name of Third SFX Associated with Third Distinction

Example
Show me the money
Stringoptional
Distinction 3, SFX 3 Effectdistinction3_sfx3_effect

Effect of Third SFX Associated with Third Distinction

Example
Spend [pp] gain [8] asset
Stringoptional