Template:Character: Difference between revisions
From Firrhna Project Wiki
Jump to navigationJump to search
Kawa-neechan (talk | contribs) No edit summary |
Kawa-neechan (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<table class="infobox"><tr><th colspan="2" class="infobox-title">{{{name | <table class="infobox"><tr><th colspan="2" class="infobox-title">{{{name}}}</th></tr> | ||
{{#if:{{{image|}}}|<tr><td colspan="2" class="infobox-image">[[File:{{{image}}}|260px]] | {{#if:{{{image|}}}|<tr><td colspan="2" class="infobox-image">[[File:{{{image}}}|260px]] | ||
{{#if:{{{imagecaption|}}}|''{{{imagecaption}}}''}}</td> | {{#if:{{{imagecaption|}}}|''{{{imagecaption}}}''}}</td> | ||
Line 22: | Line 22: | ||
<td class="infobox-data">{{{path}}}</td> | <td class="infobox-data">{{{path}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{marital|}}}{{{residence|}}}{{{birthDate|}}}{{{birthPlace|}}}{{{deathDate|}}}{{{deathPlace|}}}| | |||
<tr><th class="infobox-header" colspan="2">Biographical information</th></tr> | <tr><th class="infobox-header" colspan="2">Biographical information</th></tr> | ||
{{#if:{{{marital|}}}|<tr> | {{#if:{{{marital|}}}|<tr> | ||
Line 46: | Line 47: | ||
<th class="infobox-label">Place of death</th> | <th class="infobox-label">Place of death</th> | ||
<td class="infobox-data">{{{deathPlace}}}</td> | <td class="infobox-data">{{{deathPlace}}}</td> | ||
</tr>}} | </tr>}}}} | ||
{{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{weight|}}}{{{eyes|}}}{{{furstock|}}}| | |||
<tr><th class="infobox-header" colspan="2">Physical description</th></tr> | <tr><th class="infobox-header" colspan="2">Physical description</th></tr> | ||
{{#if:{{{species|}}}|<tr> | {{#if:{{{species|}}}|<tr> | ||
Line 71: | Line 73: | ||
<th class="infobox-label">Furstock</th> | <th class="infobox-label">Furstock</th> | ||
<td class="infobox-data">{{{furstock}}}</td> | <td class="infobox-data">{{{furstock}}}</td> | ||
</tr>}} | </tr>}}}} | ||
{{#if:{{{origin|}}}{{{residence|}}}{{{designer|}}}| | |||
<tr><th class="infobox-header" colspan="2">Real World</th></tr> | <tr><th class="infobox-header" colspan="2">Real World</th></tr> | ||
{{#if:{{{origin|}}}|<tr> | {{#if:{{{origin|}}}|<tr> | ||
Line 80: | Line 83: | ||
<th class="infobox-label">Designer</th> | <th class="infobox-label">Designer</th> | ||
<td class="infobox-data">{{{designer}}}</td> | <td class="infobox-data">{{{designer}}}</td> | ||
</tr>}}</table> | </tr>}}}} | ||
{{#if:{{{image2|}}}|<tr><td colspan="2" class="infobox-image">[[File:{{{image2}}}|260px]]</td> | |||
</tr>}} | |||
{{#if:{{{tabber2|}}}|<tr> | |||
<td colspan="2" class="infobox-image">{{{tabber2}}}</td> | |||
</tr>}} | |||
</table> | |||
<includeonly>{{Namespace|main=[[Category:Characters]]}}</includeonly> | <includeonly>{{Namespace|main=[[Category:Characters]]}}</includeonly> | ||
<noinclude>{{Documentation}}<templatedata> | <noinclude>{{Documentation}}<templatedata> | ||
Line 88: | Line 97: | ||
"example": "Chelsie", | "example": "Chelsie", | ||
"type": "string", | "type": "string", | ||
"label": "Name", | |||
"required": true | "required": true, | ||
"autovalue": "{{PAGENAME}}" | |||
}, | }, | ||
"image": { | "image": { | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"label": "Bottom image" | |||
}, | }, | ||
"imagecaption": { | "imagecaption": { | ||
Line 104: | Line 113: | ||
"example": "<tabber>|-|Daz=[[File:Chelsieportrait.png|260px]]|-|Koikatsu!=lol|-|Drawn=kek|-|Starbound=[[File:SBChelsie.png]]</tabber>", | "example": "<tabber>|-|Daz=[[File:Chelsieportrait.png|260px]]|-|Koikatsu!=lol|-|Drawn=kek|-|Starbound=[[File:SBChelsie.png]]</tabber>", | ||
"type": "content", | "type": "content", | ||
"label": "Tabber" | |||
}, | }, | ||
"aliases": { | |||
"type": "string", | "type": "string", | ||
"example": "The Hunter", | "example": "The Hunter", | ||
Line 157: | Line 166: | ||
}, | }, | ||
"gender": { | "gender": { | ||
"example": " | "example": "{{InfoFemale}}", | ||
"type": " | "type": "wiki-template-name", | ||
"label": "Gender" | "label": "Gender", | ||
"description": "Please use the {{InfoXXX}} template." | |||
}, | }, | ||
"height": { | "height": { | ||
Line 171: | Line 181: | ||
}, | }, | ||
"eyes": { | "eyes": { | ||
"example": "Gold", | "example": "{{Color|Gold|#FDA000}}", | ||
"type": " | "type": "wiki-template-name", | ||
"label": "Eye color" | "label": "Eye color", | ||
"description": "Please use the {{Color}} template." | |||
}, | }, | ||
"furstock": { | "furstock": { | ||
"example": " | "example": "{{InfoCheetah}}", | ||
"type": " | "type": "wiki-template-name", | ||
"label": "Furstock" | "label": "Furstock", | ||
"description": "Please use the {{InfoXXX}} template." | |||
}, | }, | ||
"origin": { | "origin": { | ||
Line 189: | Line 201: | ||
"type": "string", | "type": "string", | ||
"label": "Designer" | "label": "Designer" | ||
}, | |||
"tabber2": { | |||
"type": "content", | |||
"label": "Bottom tabber" | |||
} | } | ||
}, | }, | ||
"format": "block" | "format": "block", | ||
"description": "An infobox for characters." | |||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 13:37, 10 September 2023
{{{name}}} |
---|
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
An infobox for characters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | no description
| String | required |
Bottom image | image | no description | File | optional |
Image caption | imagecaption | no description
| String | optional |
Tabber | tabber | no description
| Content | optional |
Aliases | aliases | no description
| String | optional |
Relatives | relatives | no description
| String | optional |
Affiliation | affiliation | no description | String | optional |
Path | path | no description
| String | optional |
Marital status | marital | no description | String | optional |
Place of residence | residence | no description
| String | optional |
Date of birth | birthDate | no description | String | optional |
Place of birth | birthPlace | no description
| String | optional |
Date of death | deathDate | no description | String | optional |
Place of death | deathPlace | no description | String | optional |
Species | species | no description
| String | optional |
Gender | gender | Please use the {{InfoXXX}} template.
| Template | optional |
Height | height | no description
| String | optional |
Weight | weight | no description | String | optional |
Eye color | eyes | Please use the {{Color}} template.
| Template | optional |
Furstock | furstock | Please use the {{InfoXXX}} template.
| Template | optional |
Origin | origin | no description
| String | optional |
Designer | designer | no description
| String | optional |
Bottom tabber | tabber2 | no description | Content | optional |