Open main menu
Home
Random
Log in
Settings
About Starlight Wiki
Disclaimers
Starlight Wiki
Search
Changes
← Older edit
Template:CortexTrait
(view source)
Revision as of 05:19, 20 December 2022
820 bytes added
,
05:19, 20 December 2022
no edit summary
Line 1:
Line 1:
−
<noinclude>{{
CortexDistinction
+
<noinclude>{{
CortexTrait
|name=Bad Mamma Jamma
|name=Bad Mamma Jamma
|value=10
|value=10
}}
}}
−
{{
CortexDistinction
+
{{
CortexTrait
|name=Ok Mamma Jamma
|name=Ok Mamma Jamma
|width=20
|width=20
+
|header=1
}}
}}
−
{{
CortexDistinction
+
{{
CortexTrait
|name=Literally Bad Mamma Jamma
|name=Literally Bad Mamma Jamma
−
|width=
10
+
|width=
15
|value=4
|value=4
}}
}}
</noinclude>
</noinclude>
−
{|style='width:{{{width|100}}}%'
+
{|style='width:{{{width|100}}}%
;padding:0
'
−
|style='width:
95
%' class='hed'|{{#if: {{{name|}}}|{{{name}}}|<span class='err'>
distinction
needs a name</span>}}
+
|style='width:
90
%
;padding:0
'
{{#if:{{{header|}}}|
class='hed'
}}
|{{#if: {{{name|}}}|{{{name}}}|<span class='err'>
trait
needs a name</span>}}
−
|style='width:
5
%;text-align:center;'|{{#die:{{{value|8}}}}}
+
|style='width:
10
%;text-align:center;
padding:0
'|{{#die:{{{value|8}}}}}
−
|}
+
|}
[[Category:Templates]][[Category:Cortex]]
+
<noinclude>
+
<templatedata>
+
{
+
"params": {
+
"width": {
+
"label": "Width of the table",
+
"description": "Width of the table the trait shows up in. Default is 100",
+
"example": "20",
+
"type": "number",
+
"suggested": true
+
},
+
"name": {
+
"label": "Trait Name",
+
"description": "Name of the Trait",
+
"example": "Beefy Mamma Jamma",
+
"type": "string",
+
"required": true
+
},
+
"value": {
+
"label": "Value of Trait",
+
"description": "The value of the associated trait. If not provided, defaults to 8",
+
"example": "10",
+
"type": "number",
+
"default": "8",
+
"required": true
+
},
+
"header": {}
+
},
+
"paramOrder": [
+
"name",
+
"value",
+
"width",
+
"header"
+
],
+
"format": "inline"
+
}
+
</templatedata>
+
</noinclude>
Stylo
Bureaucrats
,
Interface administrators
,
Administrators
2,284
edits