Difference between revisions of "Template:CortexPool"
Jump to navigation
Jump to search
(12 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
|pool5_count=5 | |pool5_count=5 | ||
|sfx1_name=Bob the bob | |sfx1_name=Bob the bob | ||
− | |sfx1_effect=Bob [pp] [4] [8] [12] [hed]hooray for you[/hed] | + | |sfx1_effect=Bob [pp] [4] [8] [12] [hed]hooray for you[/hed] to be |
+ | |sfx2_name=butt the butt | ||
+ | |sfx2_effect=123456789101112 | ||
}} | }} | ||
{{CortexPool | {{CortexPool | ||
Line 31: | 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>}} | ||
{{!}}- | {{!}}- | ||
Line 78: | Line 80: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{sfx1_name|}}}| | {{#if:{{{sfx1_name|}}}| | ||
− | {{!}}colspan='{{#if:{{{pool5_name|}}}|5|{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}}} | + | {{!}}colspan='{{#if:{{{pool5_name|}}}|5|{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}}}'{{!}}{{CortexSFX|name={{{sfx1_name}}}|effect={{{sfx1_effect}}}}} |
{{!}}-}} | {{!}}-}} | ||
− | {{#if:{{{sfx2_name|}}}|{{!}}colspan='{{#if:{{{pool5_name|}}}|5|{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}}} | + | {{#if:{{{sfx2_name|}}}| |
+ | {{!}}colspan='{{#if:{{{pool5_name|}}}|5|{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}}}'{{!}}{{CortexSFX|name={{{sfx2_name}}}|effect={{{sfx2_effect}}}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
+ | <noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "pool1_count": { | ||
+ | "label": "Pool 1 Die Count", | ||
+ | "description": "Count of dice in 1st pool", | ||
+ | "example": "3", | ||
+ | "type": "number", | ||
+ | "default": "2", | ||
+ | "required": true | ||
+ | }, | ||
+ | "pool1_name": { | ||
+ | "label": "Pool 1 Name", | ||
+ | "description": "Name of 1st Pool", | ||
+ | "type": "line", | ||
+ | "required": true | ||
+ | }, | ||
+ | "pool5_name": { | ||
+ | "label": "Pool 4 Name", | ||
+ | "description": "Name of 4th Pool", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "pool4_name": { | ||
+ | "label": "Pool 4 Name", | ||
+ | "description": "Name of 4th Pool", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "pool3_name": { | ||
+ | "label": "Pool 3 Name", | ||
+ | "description": "Name of 3rd Pool", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "pool2_name": { | ||
+ | "label": "Pool 2 Name", | ||
+ | "description": "Name of 2nd Pool", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "name": { | ||
+ | "label": "Pool Name", | ||
+ | "description": "Name of the Pool", | ||
+ | "example": "Mega Pool", | ||
+ | "type": "line", | ||
+ | "required": true | ||
+ | }, | ||
+ | "description": { | ||
+ | "label": "Pool Description", | ||
+ | "description": "A short description of the pool", | ||
+ | "example": "This here is a thing with stuff and a thing", | ||
+ | "type": "line", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "pool2_count": { | ||
+ | "label": "Pool 2 Die Count", | ||
+ | "description": "Count of dice in 2nd pool", | ||
+ | "example": "3", | ||
+ | "type": "number", | ||
+ | "default": "2" | ||
+ | }, | ||
+ | "pool3_count": { | ||
+ | "label": "Pool 3 Die Count", | ||
+ | "description": "Count of dice in 3rd pool", | ||
+ | "example": "3", | ||
+ | "type": "number", | ||
+ | "default": "2" | ||
+ | }, | ||
+ | "pool4_count": { | ||
+ | "label": "Pool 4 Die Count", | ||
+ | "description": "Count of dice in 4th pool", | ||
+ | "example": "3", | ||
+ | "type": "number", | ||
+ | "default": "2" | ||
+ | }, | ||
+ | "pool5_count": { | ||
+ | "label": "Pool 5 Die Count", | ||
+ | "description": "Count of dice in 5th pool", | ||
+ | "example": "3", | ||
+ | "type": "number", | ||
+ | "default": "2" | ||
+ | }, | ||
+ | "pool1_die": { | ||
+ | "label": "Pool 1 Die Type", | ||
+ | "description": "Die type of 1st Pool", | ||
+ | "type": "number", | ||
+ | "default": "8", | ||
+ | "required": true | ||
+ | }, | ||
+ | "pool2_die": { | ||
+ | "label": "Pool 2 Die Type", | ||
+ | "description": "Die type of 2nd Pool", | ||
+ | "example": "8", | ||
+ | "type": "number", | ||
+ | "default": "8" | ||
+ | }, | ||
+ | "pool3_die": { | ||
+ | "label": "Pool 3 Die Type", | ||
+ | "description": "Die type of 3rd Pool", | ||
+ | "example": "8", | ||
+ | "type": "number", | ||
+ | "default": "8" | ||
+ | }, | ||
+ | "pool4_die": { | ||
+ | "label": "Pool 4 Die Type", | ||
+ | "description": "Die type of 4th Pool", | ||
+ | "example": "8", | ||
+ | "type": "number", | ||
+ | "default": "8" | ||
+ | }, | ||
+ | "pool5_die": { | ||
+ | "label": "Pool 5 Die Type", | ||
+ | "description": "Die type of 5th Pool", | ||
+ | "example": "8", | ||
+ | "type": "number", | ||
+ | "default": "8" | ||
+ | }, | ||
+ | "sfx1_name": { | ||
+ | "label": "SFX 1 of Pool", | ||
+ | "description": "Name of SFX 1", | ||
+ | "example": "Do a thing", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "sfx1_effect": { | ||
+ | "label": "SFX 1 Effect", | ||
+ | "description": "Effect of SFX 1", | ||
+ | "example": "[pp] for [8]", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "sfx2_name": { | ||
+ | "label": "SFX 2 of Pool", | ||
+ | "description": "Name of SFX 2", | ||
+ | "example": "Do a thing", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "sfx2_effect": { | ||
+ | "label": "SFX 2 Effect", | ||
+ | "description": "Effect of SFX 2", | ||
+ | "example": "[pp] for [8]", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "width": { | ||
+ | "label": "Width", | ||
+ | "description": "Width of Pool Object", | ||
+ | "type": "number", | ||
+ | "suggested": true | ||
+ | } | ||
+ | }, | ||
+ | "paramOrder": [ | ||
+ | "name", | ||
+ | "description", | ||
+ | "width", | ||
+ | "pool1_name", | ||
+ | "pool1_die", | ||
+ | "pool1_count", | ||
+ | "pool2_name", | ||
+ | "pool2_die", | ||
+ | "pool2_count", | ||
+ | "pool3_name", | ||
+ | "pool3_die", | ||
+ | "pool3_count", | ||
+ | "pool4_name", | ||
+ | "pool4_die", | ||
+ | "pool4_count", | ||
+ | "pool5_name", | ||
+ | "pool5_die", | ||
+ | "pool5_count", | ||
+ | "sfx1_name", | ||
+ | "sfx1_effect", | ||
+ | "sfx2_name", | ||
+ | "sfx2_effect" | ||
+ | ], | ||
+ | "format": "inline" | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Pool Name | name | Name of the Pool
| Line | required |
Pool Description | description | A short description of the pool
| Line | suggested |
Width | width | Width of Pool Object | Number | suggested |
Pool 1 Name | pool1_name | Name of 1st Pool | Line | required |
Pool 1 Die Type | pool1_die | Die type of 1st Pool
| Number | required |
Pool 1 Die Count | pool1_count | Count of dice in 1st pool
| Number | required |
Pool 2 Name | pool2_name | Name of 2nd Pool | Line | optional |
Pool 2 Die Type | pool2_die | Die type of 2nd Pool
| Number | optional |
Pool 2 Die Count | pool2_count | Count of dice in 2nd pool
| Number | optional |
Pool 3 Name | pool3_name | Name of 3rd Pool | Line | optional |
Pool 3 Die Type | pool3_die | Die type of 3rd Pool
| Number | optional |
Pool 3 Die Count | pool3_count | Count of dice in 3rd pool
| Number | optional |
Pool 4 Name | pool4_name | Name of 4th Pool | Line | optional |
Pool 4 Die Type | pool4_die | Die type of 4th Pool
| Number | optional |
Pool 4 Die Count | pool4_count | Count of dice in 4th pool
| Number | optional |
Pool 4 Name | pool5_name | Name of 4th Pool | Line | optional |
Pool 5 Die Type | pool5_die | Die type of 5th Pool
| Number | optional |
Pool 5 Die Count | pool5_count | Count of dice in 5th pool
| Number | optional |
SFX 1 of Pool | sfx1_name | Name of SFX 1
| Line | optional |
SFX 1 Effect | sfx1_effect | Effect of SFX 1
| Line | optional |
SFX 2 of Pool | sfx2_name | Name of SFX 2
| Line | optional |
SFX 2 Effect | sfx2_effect | Effect of SFX 2
| Line | optional |