Difference between revisions of "Template:CortexTrait"

From Starlight Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
</noinclude>
 
</noinclude>
 
{|style='width:{{{width|100}}}%;padding:0'
 
{|style='width:{{{width|100}}}%;padding:0'
|style='width:90%;padding:0' class='hed'|{{#if: {{{name|}}}|{{{name}}}|<span class='err'>trait 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:10%;text-align:center;padding:0'|{{#die:{{{value|8}}}}}
 
|style='width:10%;text-align:center;padding:0'|{{#die:{{{value|8}}}}}
 
|}[[Category:Templates]][[Category:Cortex]]
 
|}[[Category:Templates]][[Category:Cortex]]

Revision as of 04:20, 15 December 2022

style='width:90%;padding:0'
|Bad Mamma Jamma


style='width:90%;padding:0'
|Ok Mamma Jamma


style='width:90%;padding:0'
|Literally Bad Mamma Jamma


style='width:90%;padding:0'
|trait needs a name

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Trait Namename

Name of the Trait

Example
Beefy Mamma Jamma
Stringrequired
Value of Traitvalue

The value of the associated trait. If not provided, defaults to 8

Default
8
Example
10
Numberrequired
Width of the tablewidth

Width of the table the trait shows up in. Default is 100

Example
20
Numbersuggested