Template:Character: Difference between revisions
From Firrhna Project Wiki
Jump to navigationJump to search
Kawa-neechan (talk | contribs) mNo edit summary |
Kawa-neechan (talk | contribs) No edit summary |
||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly><table class="infobox"><tr><th colspan="2" class="infobox-title">{{{name|{{PAGENAME}}}}}</th></tr> | ||
< | {{#if:{{{image|}}}|<tr><td colspan="2" class="infobox-image">[[File:{{{image}}}|260px]] | ||
< | {{#if:{{{imagecaption|}}}|''{{{imagecaption}}}''}}</td> | ||
</tr>}} | |||
{{#if:{{{tabber|}}}|<tr> | |||
<td colspan="2" class="infobox-image">{{{tabber}}}</td> | |||
</tr>}} | |||
< | {{#if:{{{aliases|}}}|<tr> | ||
<th class="infobox-label">Aliases</th> | |||
</tr>}}{{#if:{{{ | <td class="infobox-data">{{{aliases}}}</td> | ||
<th | </tr>}} | ||
<td>{{{ | {{#if:{{{relatives|}}}|<tr> | ||
</tr>}}{{#if:{{{ | <th class="infobox-label">Relatives</th> | ||
<th> | <td class="infobox-data">{{{relatives}}}</td> | ||
<td | </tr>}} | ||
</tr>}}<tr><th | {{#if:{{{affiliation|}}}|<tr> | ||
</tr>}}{{#if:{{{ | <th class="infobox-label">Affiliation</th> | ||
<th | <td class="infobox-data">{{{affiliation}}}</td> | ||
<td>{{{ | </tr>}} | ||
</tr>}}{{#if:{{{residence|}}} | {{#if:{{{path|}}}|<tr> | ||
<th class="infobox-label">Path(s)</th> | |||
<td class="infobox-data">{{{path}}}</td> | |||
</tr>}} | |||
{{#if:{{{marital|}}}{{{residence|}}}{{{birthDate|}}}{{{birthPlace|}}}{{{deathDate|}}}{{{deathPlace|}}}| | |||
<tr><th class="infobox-header" colspan="2">Biographical information</th></tr> | |||
< | {{#if:{{{marital|}}}|<tr> | ||
< | <th class="infobox-label">Marital status</th> | ||
<td class="infobox-data">{{{marital}}}</td> | |||
</tr>}}{{#if:{{{ | </tr>}} | ||
<th> | {{#if:{{{residence|}}}|<tr> | ||
<td>{{{ | <th class="infobox-label">Place of residence</th> | ||
</tr>}}{{#if:{{{ | <td class="infobox-data">{{{residence}}}</td> | ||
<th> | </tr>}} | ||
<td>{{{ | {{#if:{{{birthDate|}}}|<tr> | ||
</tr>}} | <th class="infobox-label">Date of birth</th> | ||
<td class="infobox-data">{{{birthDate}}}</td> | |||
<th | </tr>}} | ||
<td>{{{ | {{#if:{{{birthPlace|}}}|<tr> | ||
</tr>}}{{#if:{{{ | <th class="infobox-label">Place of birth</th> | ||
<th> | <td class="infobox-data">{{{birthPlace}}}</td> | ||
<td | </tr>}} | ||
</tr>}}{{#if:{{{ | {{#if:{{{deathDate|}}}|<tr> | ||
<th> | <th class="infobox-label">Date of death</th> | ||
<td>{{{ | <td class="infobox-data">{{{deathDate}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}} | ||
{{#if:{{{deathPlace|}}}|<tr> | |||
<th class="infobox-label">Place of death</th> | |||
<td class="infobox-data">{{{deathPlace}}}</td> | |||
</tr>}}}} | |||
{{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{weight|}}}{{{fur|}}}{{{hair|}}}{{{eyes|}}}{{{furstock|}}}| | |||
<tr><th class="infobox-header" colspan="2">Physical description</th></tr> | |||
{{#if:{{{species|}}}|<tr> | |||
<th class="infobox-label">Species</th> | |||
<td class="infobox-data">{{{species}}}</td> | |||
</tr>{{#if:{{{ | </tr>}} | ||
<th | {{#if:{{{gender|}}}|<tr> | ||
<td>{{{ | <th class="infobox-label">Gender</th> | ||
</tr>}}{{#if:{{{ | <td class="infobox-data">{{{gender}}}</td> | ||
<th> | </tr>}} | ||
<td | {{#if:{{{height|}}}|<tr> | ||
</tr>}} | <th class="infobox-label">Height</th> | ||
< | <td class="infobox-data">{{{height}}}</td> | ||
</tr>}} | |||
< | {{#if:{{{weight|}}}|<tr> | ||
<th class="infobox-label">Weight</th> | |||
<td class="infobox-data">{{{weight}}}</td> | |||
</tr>}} | |||
{{#if:{{{fur|}}}|<tr> | |||
<th class="infobox-label">Fur color</th> | |||
<td class="infobox-data">{{{fur}}}</td> | |||
</tr>}} | |||
{{#if:{{{hair|}}}|<tr> | |||
<th class="infobox-label">Hair color</th> | |||
<td class="infobox-data">{{{hair}}}</td> | |||
</tr>}} | |||
{{#if:{{{eyes|}}}|<tr> | |||
<th class="infobox-label">Eye color</th> | |||
<td class="infobox-data">{{{eyes}}}</td> | |||
</tr>}} | |||
{{#if:{{{furstock|}}}|<tr> | |||
<th class="infobox-label">Furstock</th> | |||
<td class="infobox-data">{{{furstock}}}</td> | |||
</tr>}}}} | |||
{{#if:{{{origin|}}}{{{residence|}}}{{{designer|}}}| | |||
<tr><th class="infobox-header" colspan="2">Real World</th></tr> | |||
{{#if:{{{origin|}}}|<tr> | |||
<th class="infobox-label">Origin</th> | |||
<td class="infobox-data">{{{origin}}}</td> | |||
</tr>}} | |||
{{#if:{{{designer|}}}|<tr> | |||
<th class="infobox-label">Designer</th> | |||
<td class="infobox-data">{{{designer}}}</td> | |||
</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> | |||
<includeonly>{{Namespace|main=[[Category:Characters]]}}</includeonly> | |||
<noinclude> | |||
{{Character | |||
| name = Chelsie | |||
| image = Chelsieportrait.png | |||
| imagecaption = Yeah, as if. | |||
| aliases = The Hunter | |||
| relatives = Irrelevant | |||
| affiliation = | |||
| path = Hunter | |||
| marital = | |||
| residence = [[Imrah City]], [[Fhurai]] | |||
| birthDate = | |||
| birthPlace = Unknown | |||
| deathDate = | |||
| deathPlace = | |||
| species = Felin | |||
| gender = {{InfoFemale}} | |||
| height = 182 cm | |||
| weight = | |||
| fur = {{Color|Gold|#F0B80F}} | |||
| hair = {{Color|Auburn|#A7580D}} | |||
| eyes = {{Color|Gold|#FDA000}} | |||
| furstock = {{InfoCheetah}} | |||
| origin = [[Noxico]] | |||
| designer = [[User:Kawa-oneechan|Kawa]] | |||
}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"example": "Chelsie", | |||
"type": "string", | |||
"label": "Name", | |||
"required": true, | |||
"autovalue": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"type": "wiki-file-name", | |||
"label": "Image" | |||
}, | |||
"imagecaption": { | |||
"type": "string", | |||
"example": "Yeah, as if.", | |||
"label": "Image caption" | |||
}, | |||
"tabber": { | |||
"example": "<tabber>|-|Daz=[[File:Chelsieportrait.png|260px]]|-|Koikatsu!=lol|-|Drawn=kek|-|Starbound=[[File:SBChelsie.png]]</tabber>", | |||
"type": "content", | |||
"label": "Tabber" | |||
}, | |||
"aliases": { | |||
"type": "string", | |||
"example": "The Hunter", | |||
"label": "Aliases" | |||
}, | |||
"relatives": { | |||
"type": "string", | |||
"example": "Irrelevant", | |||
"label": "Relatives" | |||
}, | |||
"affiliation": { | |||
"type": "string", | |||
"label": "Affiliation" | |||
}, | |||
"path": { | |||
"example": "Hunter", | |||
"type": "string", | |||
"label": "Path" | |||
}, | |||
"marital": { | |||
"type": "string", | |||
"label": "Marital status" | |||
}, | |||
"residence": { | |||
"example": "[[Imrah City]], [[Fhurai]]", | |||
"type": "string", | |||
"label": "Place of residence" | |||
}, | |||
"birthDate": { | |||
"type": "string", | |||
"label": "Date of birth" | |||
}, | |||
"birthPlace": { | |||
"example": "Unknown", | |||
"type": "string", | |||
"label": "Place of birth" | |||
}, | |||
"deathDate": { | |||
"type": "string", | |||
"label": "Date of death" | |||
}, | |||
"deathPlace": { | |||
"type": "string", | |||
"label": "Place of death" | |||
}, | |||
"species": { | |||
"example": "Felin", | |||
"type": "string", | |||
"label": "Species" | |||
}, | |||
"gender": { | |||
"example": "{{InfoFemale}}", | |||
"type": "wiki-template-name", | |||
"label": "Gender", | |||
"description": "Please use the {{InfoXXX}} template." | |||
}, | |||
"height": { | |||
"example": "182 cm", | |||
"type": "string", | |||
"label": "Height" | |||
}, | |||
"weight": { | |||
"type": "string", | |||
"label": "Weight" | |||
}, | |||
"fur": { | |||
"example": "{{Color|Gold|#F0B80F}}", | |||
"type": "wiki-template-name", | |||
"label": "Fur color", | |||
"description": "Please use the {{Color}} template." | |||
}, | |||
"hair": { | |||
"example": "{{Color|Auburn|#A7580D}}", | |||
"type": "wiki-template-name", | |||
"label": "Hair color", | |||
"description": "Please use the {{Color}} template." | |||
}, | |||
"eyes": { | |||
"example": "{{Color|Gold|#FDA000}}", | |||
"type": "wiki-template-name", | |||
"label": "Eye color", | |||
"description": "Please use the {{Color}} template." | |||
}, | |||
"furstock": { | |||
"example": "{{InfoCheetah}}", | |||
"type": "wiki-template-name", | |||
"label": "Furstock", | |||
"description": "Please use the {{InfoXXX}} template." | |||
}, | |||
"origin": { | |||
"example": "[[Noxico]]", | |||
"type": "string", | |||
"label": "Origin" | |||
}, | |||
"designer": { | |||
"example": "[[User:Kawa-neechan|Kawa]]", | |||
"type": "string", | |||
"label": "Designer" | |||
}, | |||
"image2": { | |||
"type": "wiki-file-name", | |||
"label": "Bottom image" | |||
}, | |||
"tabber2": { | |||
"type": "content", | |||
"label": "Bottom tabber" | |||
} | |||
}, | |||
"description": "An infobox for characters." | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 15:17, 10 September 2023
Chelsie | |
---|---|
Yeah, as if. | |
Aliases | The Hunter |
Relatives | Irrelevant |
Path(s) | Hunter |
Biographical information | |
Place of residence | Imrah City, Fhurai |
Place of birth | Unknown |
Physical description | |
Species | Felin |
Gender | Female |
Height | 182 cm |
Fur color | Gold |
Hair color | Auburn |
Eye color | Gold |
Furstock | Cheetah |
Real World | |
Origin | Noxico |
Designer | Kawa |
An infobox for characters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | no description
| String | required |
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 |
Fur color | fur | Please use the {{Color}} template.
| Template | optional |
Hair color | hair | Please use the {{Color}} template.
| Template | 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 image | image2 | no description | File | optional |
Bottom tabber | tabber2 | no description | Content | optional |