>Bullet731108 No edit summary |
(Added an existence check for effect NPC pages, to be tested.) |
||
Line 1: | Line 1: | ||
<includeonly><div id="listchar" style="align:center; border:solid #303030 1px; margin:0px 0px 5px 5px; font-size:80%; width:208px; height:230px; padding:0px; spacing:0px; text-align:center;"> | <includeonly><div id="listchar" style="align:center; border:solid #303030 1px; margin:0px 0px 5px 5px; font-size:80%; width:208px; height:230px; padding:0px; spacing:0px; text-align:center;"> | ||
<h3 style="margin:1px; background-color:{{{headercolor|#3366CC}}}; color:{{{headerfontcolor|#ffffff}}}; font-size:150%;">{{{name|}}}</h3> | <h3 style="margin:1px; background-color:{{{headercolor|#3366CC}}}; color:{{{headerfontcolor|#ffffff}}}; font-size:150%;">{{{name|(exists name|[[name]]|name)|}}}</h3> | ||
<div style="text-align:center; margin:0px">[[{{{image|}}}|{{{imagewidth|208}}}px]]</div> | <div style="text-align:center; margin:0px">[[{{{image|}}}|{{{imagewidth|208}}}px]]</div> | ||
<div style="text-align:center; margin:0px; font-size:80%">{{{aka|}}}</div> | <div style="text-align:center; margin:0px; font-size:80%">{{{aka|}}}</div> | ||
<div style="text-align:center; margin:2px">{{{description|}}}</div> | <div style="text-align:center; margin:2px">{{{description|}}}</div> | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}<templatedata> | ||
{ | |||
"params": { | |||
"headercolor": { | |||
"description": "The header's background color.", | |||
"example": "#000000" | |||
}, | |||
"headerfontcolor": { | |||
"description": "The header's text color.", | |||
"example": "#ffffff" | |||
}, | |||
"name": { | |||
"description": "The NPC's name." | |||
}, | |||
"image": { | |||
"description": "An image of the NPC." | |||
}, | |||
"aka": { | |||
"description": "Other names that the NPC is known by." | |||
}, | |||
"description": { | |||
"description": "A short description of the NPC." | |||
} | |||
}, | |||
"description": "This template is used for describing NPCs that give effects.", | |||
"format": "block" | |||
} | |||
</templatedata></noinclude> |
Revision as of 04:59, 5 September 2021
Documentation (for the above template, sometimes hidden or invisible)
This template is used for describing NPCs that give effects.
Parameter | Description | Type | Status | |
---|---|---|---|---|
headercolor | headercolor | The header's background color.
| String | suggested |
headerfontcolor | headerfontcolor | The header's text color.
| String | suggested |
name | name | The NPC's name. | String | suggested |
image | image | An image of the NPC. | String | suggested |
aka | aka | Other names that the NPC is known by. | Unknown | suggested |
description | description | A short description of the NPC. | String | suggested |
Visit Template:ListChar/doc to edit this text! (How does this work?)
This template is used for describing NPCs that give effects.
Parameter | Description | Type | Status | |
---|---|---|---|---|
headercolor | headercolor | The header's background color.
| Unknown | optional |
headerfontcolor | headerfontcolor | The header's text color.
| Unknown | optional |
name | name | The NPC's name. | Unknown | optional |
image | image | An image of the NPC. | Unknown | optional |
aka | aka | Other names that the NPC is known by. | Unknown | optional |
description | description | A short description of the NPC. | Unknown | optional |