Difference between revisions of "Template:CortexMinorGMC"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{CortexMinorGMC | {{CortexMinorGMC | ||
|name=Bob | |name=Bob | ||
+ | |desc=It's bob | ||
|trait1=Very Bob | |trait1=Very Bob | ||
|trait1_value=10 | |trait1_value=10 | ||
Line 19: | Line 20: | ||
[[Category:Templates]][[Category:Cortex]] | [[Category:Templates]][[Category:Cortex]] | ||
</noinclude> | </noinclude> | ||
− | {| class="wikitable"style="width:{{{width|15}}}%" | + | {|class="wikitable" style="width:{{{width|15}}}%" |
+ | |class='hed'|{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Minor GMCs requires a name</span>}} | ||
|- | |- | ||
− | | | + | {{#if:{{{desc|}}}|{{!}}''{{{desc}}}'' |
+ | {{!}}-}} | ||
+ | |{{#if:{{{trait1|}}}|{{CortexTrait|name={{{trait1}}}|value={{{trait1_value}}}}}|<span class='err'>Trait 1 Missing, and Minor GMCs requires at least 3 traits</span>}} | ||
|- | |- | ||
− | + | |{{#if:{{{trait2|}}}|{{CortexTrait|name={{{trait2}}}|value={{{trait2_value}}}}}|<span class='err'>Trait 2 Missing, and Minor GMCs requires at least 3 traits</span>}} | |
− | | | ||
|- | |- | ||
− | + | |{{#if:{{{trait3|}}}|{{CortexTrait|name={{{trait3}}}|value={{{trait3_value}}}}}|<span class='err'>Trait 3 Missing, and Minor GMCs requires at least 3 traits</span>}} | |
− | |||
|- | |- | ||
− | |||
− | |||
{{#if: {{{trait4|}}}| | {{#if: {{{trait4|}}}| | ||
− | {{!}} | + | {{!}}{{CortexTrait|name={{{trait4}}}|value={{{trait4_value}}}}} |
− | {{ | + | {{!}}-}} |
− | {{ | ||
− | }} | ||
{{#if: {{{trait5|}}}| | {{#if: {{{trait5|}}}| | ||
− | {{!}} | + | {{!}}{{CortexTrait|name={{{trait5}}}|value={{{trait5_value}}}}} |
− | {{ | + | {{!}}-}} |
− | {{ | + | {{#if: {{{trait6|}}}| |
− | }} | + | {{!}}{{CortexTrait|name={{{trait6}}}|value={{{trait6_value}}}}} |
− | {{#if: {{{ | + | {{!}}-}} |
− | {{!}} | ||
− | {{ | ||
− | {{ | ||
− | }} | ||
|} | |} | ||
+ | <noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "width": { | ||
+ | "label": "Width of Object", | ||
+ | "description": "Width of the object on the page. Default 15%, suggest using 100% if putting the box in a table", | ||
+ | "example": "100", | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "name": { | ||
+ | "label": "GMC Name", | ||
+ | "description": "The name of the GMC. ", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "trait1": { | ||
+ | "label": "Trait 1", | ||
+ | "description": "Name of the GMC's 1st Trait", | ||
+ | "example": "Dimwitted", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "trait1_value": { | ||
+ | "label": "Trait 1 Value", | ||
+ | "description": "The value of the GMC's 1st Trait", | ||
+ | "example": "8", | ||
+ | "type": "number", | ||
+ | "required": true | ||
+ | }, | ||
+ | "trait2": { | ||
+ | "label": "Trait 2", | ||
+ | "description": "Name of the GMC's 2nd Trait", | ||
+ | "example": "Bold", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "trait2_value": { | ||
+ | "label": "Trait 2 Value", | ||
+ | "description": "The value of the GMC's 2nd Trait", | ||
+ | "example": "8", | ||
+ | "type": "number", | ||
+ | "required": true | ||
+ | }, | ||
+ | "trait3": { | ||
+ | "label": "Trait 3", | ||
+ | "description": "Name of the GMC's 3rd Trait", | ||
+ | "example": "Go-getter", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "trait3_value": { | ||
+ | "label": "Trait 3 Value", | ||
+ | "description": "The value of the GMC's 3rd Trait", | ||
+ | "example": "8", | ||
+ | "type": "number", | ||
+ | "required": true | ||
+ | }, | ||
+ | "trait4": { | ||
+ | "label": "Trait 4", | ||
+ | "description": "Name of the GMC's 4th Trait", | ||
+ | "example": "Impressive", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "trait4_value": { | ||
+ | "label": "Trait 4 Value", | ||
+ | "description": "The value of the GMC's 4th Trait", | ||
+ | "example": "8", | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "trait5": { | ||
+ | "label": "Trait 5", | ||
+ | "description": "Name of the GMC's 5th Trait", | ||
+ | "example": "Sharp", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "trait5_value": { | ||
+ | "label": "Trait 5 Value", | ||
+ | "description": "The value of the GMC's 5th Trait", | ||
+ | "example": "8", | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "trait6": { | ||
+ | "label": "Trait 6", | ||
+ | "description": "Name of the GMC's 6th Trait", | ||
+ | "example": "Strong", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "trait6_value": { | ||
+ | "label": "Trait 6 Value", | ||
+ | "description": "The value of the GMC's 6th Trait", | ||
+ | "example": "8", | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "desc": { | ||
+ | "label": " GMC Description", | ||
+ | "description": "Description of the GMC", | ||
+ | "example": "Big beefy hunkmeister", | ||
+ | "type": "line", | ||
+ | "suggested": true | ||
+ | } | ||
+ | }, | ||
+ | "description": "A Cortex Minor GMC", | ||
+ | "paramOrder": [ | ||
+ | "name", | ||
+ | "desc", | ||
+ | "width", | ||
+ | "trait1", | ||
+ | "trait1_value", | ||
+ | "trait2", | ||
+ | "trait2_value", | ||
+ | "trait3", | ||
+ | "trait3_value", | ||
+ | "trait4", | ||
+ | "trait4_value", | ||
+ | "trait5", | ||
+ | "trait5_value", | ||
+ | "trait6", | ||
+ | "trait6_value" | ||
+ | ], | ||
+ | "format": "block" | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Latest revision as of 09:21, 19 December 2022
Bob | ||
It's bob | ||
| ||
| ||
| ||
| ||
| ||
|
Minor GMCs requires a name |
Trait 1 Missing, and Minor GMCs requires at least 3 traits |
Trait 2 Missing, and Minor GMCs requires at least 3 traits |
Trait 3 Missing, and Minor GMCs requires at least 3 traits |
A Cortex Minor GMC
Parameter | Description | Type | Status | |
---|---|---|---|---|
GMC Name | name | The name of the GMC. | String | required |
GMC Description | desc | Description of the GMC
| Line | suggested |
Width of Object | width | Width of the object on the page. Default 15%, suggest using 100% if putting the box in a table
| Number | optional |
Trait 1 | trait1 | Name of the GMC's 1st Trait
| String | required |
Trait 1 Value | trait1_value | The value of the GMC's 1st Trait
| Number | required |
Trait 2 | trait2 | Name of the GMC's 2nd Trait
| String | required |
Trait 2 Value | trait2_value | The value of the GMC's 2nd Trait
| Number | required |
Trait 3 | trait3 | Name of the GMC's 3rd Trait
| String | required |
Trait 3 Value | trait3_value | The value of the GMC's 3rd Trait
| Number | required |
Trait 4 | trait4 | Name of the GMC's 4th Trait
| String | optional |
Trait 4 Value | trait4_value | The value of the GMC's 4th Trait
| Number | optional |
Trait 5 | trait5 | Name of the GMC's 5th Trait
| String | optional |
Trait 5 Value | trait5_value | The value of the GMC's 5th Trait
| Number | optional |
Trait 6 | trait6 | Name of the GMC's 6th Trait
| String | optional |
Trait 6 Value | trait6_value | The value of the GMC's 6th Trait
| Number | optional |