Template:Character Profile: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly><table class="wikitable"> | ||
{{#if:{{{strengths|}}}| | |||
<tr> | |||
<th>Strengths</th> | |||
<td>{{{strengths|}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{weaknesses|}}}| | |||
<tr> | |||
<th>Weaknesses</th> | |||
<td>{{{weaknesses|}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{ears|}}}| | |||
<tr> | |||
<th>Ears</th> | |||
<td>{{{ears|}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{tail|}}}| | |||
<tr> | |||
<th>Tail</th> | |||
<td>{{{tail}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{family|}}}| | |||
<tr> | |||
<th>Family</th> | |||
<td>{{{family|}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{my_rule|}}}| | |||
<tr> | |||
<th>My Rule</th> | |||
<td>"{{{my_rule|}}}"</td> | |||
</tr> | |||
}} | |||
{{#if:{{{phone_background|}}}| | |||
<tr> | |||
<th>Phone Background</th> | |||
<td>{{{phone_background|}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{before_a_race|}}}| | |||
<tr> | |||
<th>Before a Race</th> | |||
<td>{{{before_a_race|}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{good_subject|}}}| | |||
<tr> | |||
<th>Good Subject</th> | |||
<td>{{{good_subject|}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{good_subject|}}}| | |||
<tr> | |||
<th>Secret Pride</th> | |||
<td>{{{secret_pride|}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{frequent_purchase|}}}| | |||
<tr> | |||
<th>Frequent Purchase</th> | |||
<td>{{{frequent_purchase|}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{secret1|}}}{{{secret2|}}}| | |||
<tr> | |||
<th rowspan={{#if:{{{secret2|}}}|2|1}}>Secrets</th> | |||
<td>{{{secret1|}}}</td> | |||
</tr> | |||
{{#if:{{{secret2|}}}| | |||
<tr> | |||
<td>{{{secret2|}}}</td> | |||
</tr> | |||
}} | |||
}} | |||
</table> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Character Profile| | {{Character Profile | ||
|strengths=[strengths] | |||
|weaknesses=[weaknesses] | |||
|ears=[ears] | |||
|tail=[tail] | |||
|family=[family] | |||
|my_rule=[my_rule] | |||
|phone_background=[phone_background] | |||
|before_a_race=[before_a_race] | |||
|good_subject=[good_subject] | |||
|secret_pride=[secret_pride] | |||
|frequent_purchase=[frequent_purchase] | |||
|secret1=[secret1] | |||
|secret2=[secret2] | |||
}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"strengths": { | |||
"label": "Strengths", | |||
"type": "string" | |||
}, | |||
"weaknesses": { | |||
"label": "Weaknesses", | |||
"type": "string" | |||
}, | |||
"ears": { | |||
"label": "Ears", | |||
"type": "string" | |||
}, | |||
"tail": { | |||
"label": "Tail", | |||
"type": "string" | |||
}, | |||
"my_rule": { | |||
"label": "My Rule", | |||
"type": "string", | |||
"description": "(quoted automatically)" | |||
}, | |||
"phone_background": { | |||
"label": "Phone Background", | |||
"type": "string" | |||
}, | |||
"before_a_race": { | |||
"label": "Before a Race", | |||
"type": "string" | |||
}, | |||
"good_subject": { | |||
"label": "Good Subject", | |||
"type": "string" | |||
}, | |||
"secret_pride": { | |||
"label": "Secret Pride", | |||
"type": "string" | |||
}, | |||
"frequent_purchase": { | |||
"label": "Frequent Purchase", | |||
"type": "string" | |||
}, | |||
"secret1": { | |||
"label": "Secret #1", | |||
"type": "string" | |||
}, | |||
"secret2": { | |||
"label": "Secret #2", | |||
"type": "string" | |||
}, | |||
"family": { | |||
"label": "Family", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Template for character profile blurbs table", | |||
"format": "block", | |||
"paramOrder": [ | |||
"strengths", | |||
"weaknesses", | |||
"ears", | |||
"tail", | |||
"family", | |||
"my_rule", | |||
"phone_background", | |||
"before_a_race", | |||
"good_subject", | |||
"secret_pride", | |||
"frequent_purchase", | |||
"secret1", | |||
"secret2" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Revision as of 07:05, 29 July 2024
Strengths | [strengths] |
---|---|
Weaknesses | [weaknesses] |
Ears | [ears] |
Tail | [tail] |
Family | [family] |
My Rule | "[my_rule]" |
Phone Background | [phone_background] |
Before a Race | [before_a_race] |
Good Subject | [good_subject] |
Secret Pride | [secret_pride] |
Frequent Purchase | [frequent_purchase] |
Secrets | [secret1] |
[secret2] |
Template for character profile blurbs table
Parameter | Description | Type | Status | |
---|---|---|---|---|
Strengths | strengths | no description | String | optional |
Weaknesses | weaknesses | no description | String | optional |
Ears | ears | no description | String | optional |
Tail | tail | no description | String | optional |
Family | family | no description | String | optional |
My Rule | my_rule | (quoted automatically) | String | optional |
Phone Background | phone_background | no description | String | optional |
Before a Race | before_a_race | no description | String | optional |
Good Subject | good_subject | no description | String | optional |
Secret Pride | secret_pride | no description | String | optional |
Frequent Purchase | frequent_purchase | no description | String | optional |
Secret #1 | secret1 | no description | String | optional |
Secret #2 | secret2 | no description | String | optional |