Difference between revisions of "Template:CortexPool"

From Starlight Wiki
Jump to navigation Jump to search
 
Line 33: Line 33:
 
</noinclude>
 
</noinclude>
 
{{#ifexpr:({{{pool1_count|0}}}<2 and {{#if:{{{pool1_name|}}}|1|0}})|<span class='err'>You need at least 1 pool with a rating of 2 or more</span>|
 
{{#ifexpr:({{{pool1_count|0}}}<2 and {{#if:{{{pool1_name|}}}|1|0}})|<span class='err'>You need at least 1 pool with a rating of 2 or more</span>|
{{{!}}class="wikitable" style="width:{{{width|{{#if:{{{pool5_name|}}}|35|{{#if:{{{pool4_name|}}}|28|{{#if:{{{pool3_name|}}}|21|{{#if:{{{pool2_name|}}}|14|7}}}}}}}}}}}%"
+
{{{!}}class="wikitable" style="margin:auto;width:{{{width|{{#if:{{{pool5_name|}}}|35|{{#if:{{{pool4_name|}}}|28|{{#if:{{{pool3_name|}}}|21|{{#if:{{{pool2_name|}}}|14|7}}}}}}}}}}}%"
 
{{!}}colspan='{{#if:{{{pool5_name|}}}|5|{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}}}' class='hed'{{!}}{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Pools require a name</span>}}
 
{{!}}colspan='{{#if:{{{pool5_name|}}}|5|{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}}}' class='hed'{{!}}{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Pools require a name</span>}}
 
{{!}}-
 
{{!}}-

Latest revision as of 16:22, 23 December 2022


Challenge of Bob
It's bob, what do you think?
Very Bob Quite Bob Exceptionally Bob Incredibly Bob Not particularly Bob
Bob the bob
Bob hooray for you to be
butt the butt
123456789101112


Other
it does something I think
eh
Pools require a name

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Pool Namename

Name of the Pool

Example
Mega Pool
Linerequired
Pool Descriptiondescription

A short description of the pool

Example
This here is a thing with stuff and a thing
Linesuggested
Widthwidth

Width of Pool Object

Numbersuggested
Pool 1 Namepool1_name

Name of 1st Pool

Linerequired
Pool 1 Die Typepool1_die

Die type of 1st Pool

Default
8
Numberrequired
Pool 1 Die Countpool1_count

Count of dice in 1st pool

Default
2
Example
3
Numberrequired
Pool 2 Namepool2_name

Name of 2nd Pool

Lineoptional
Pool 2 Die Typepool2_die

Die type of 2nd Pool

Default
8
Example
8
Numberoptional
Pool 2 Die Countpool2_count

Count of dice in 2nd pool

Default
2
Example
3
Numberoptional
Pool 3 Namepool3_name

Name of 3rd Pool

Lineoptional
Pool 3 Die Typepool3_die

Die type of 3rd Pool

Default
8
Example
8
Numberoptional
Pool 3 Die Countpool3_count

Count of dice in 3rd pool

Default
2
Example
3
Numberoptional
Pool 4 Namepool4_name

Name of 4th Pool

Lineoptional
Pool 4 Die Typepool4_die

Die type of 4th Pool

Default
8
Example
8
Numberoptional
Pool 4 Die Countpool4_count

Count of dice in 4th pool

Default
2
Example
3
Numberoptional
Pool 4 Namepool5_name

Name of 4th Pool

Lineoptional
Pool 5 Die Typepool5_die

Die type of 5th Pool

Default
8
Example
8
Numberoptional
Pool 5 Die Countpool5_count

Count of dice in 5th pool

Default
2
Example
3
Numberoptional
SFX 1 of Poolsfx1_name

Name of SFX 1

Example
Do a thing
Lineoptional
SFX 1 Effectsfx1_effect

Effect of SFX 1

Example
[pp] for [8]
Lineoptional
SFX 2 of Poolsfx2_name

Name of SFX 2

Example
Do a thing
Lineoptional
SFX 2 Effectsfx2_effect

Effect of SFX 2

Example
[pp] for [8]
Lineoptional