Template:Character: Difference between revisions

From Firrhna Project Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="infobox"><tr><th colspan="2" class="infobox-title">{{{name|Character}}}</th></tr>
<includeonly><table class="infobox"><tr><th colspan="2" class="infobox-title">{{{name|{{PAGENAME}}}}}</th></tr>
{{#if:{{{image|}}}|<tr>
{{#if:{{{image|}}}|<tr><td colspan="2" class="infobox-image">[[File:{{{image}}}|260px]]
    <td colspan="2" class="infobox-image">
{{#if:{{{imagecaption|}}}|''{{{imagecaption}}}''}}</td>
    [[File:{{{image}}}|260px]]
    {{#if:{{{imagecaption|}}}|''{{imagecaption}}''}}
    </td>
</tr>}}
</tr>}}
{{#if:{{{tabber|}}}|<tr>
{{#if:{{{tabber|}}}|<tr>
Line 25: 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 49: 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|}}}{{{fur|}}}{{{hair|}}}{{{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 66: Line 65:
     <th class="infobox-label">Weight</th>
     <th class="infobox-label">Weight</th>
     <td class="infobox-data">{{{weight}}}</td>
     <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>}}
</tr>}}
{{#if:{{{eyes|}}}|<tr>
{{#if:{{{eyes|}}}|<tr>
Line 74: Line 81:
     <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 83: Line 91:
     <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>}}}}
<includeonly>[[Category:Characters]]</includeonly>
{{#if:{{{image2|}}}|<tr><td colspan="2" class="infobox-image">[[File:{{{image2}}}|260px]]</td>
<noinclude><templatedata>
</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": {
"params": {
Line 91: Line 131:
"example": "Chelsie",
"example": "Chelsie",
"type": "string",
"type": "string",
"required": true
"label": "Name",
"required": true,
"autovalue": "{{PAGENAME}}"
},
},
"image": {
"image": {
"example": "Chelsieportrait.png",
"type": "wiki-file-name",
"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": {
"aliases": {
Line 121: Line 173:
},
},
"residence": {
"residence": {
"example": "Imrah City, Fhurai",
"example": "[[Imrah City]], [[Fhurai]]",
"type": "string",
"type": "string",
"label": "Place of residence"
"label": "Place of residence"
Line 148: Line 200:
},
},
"gender": {
"gender": {
"example": "Feamle",
"example": "{{InfoFemale}}",
"type": "string",
"type": "wiki-template-name",
"label": "Gender"
"label": "Gender",
"description": "Please use the {{InfoXXX}} template."
},
},
"height": {
"height": {
Line 160: Line 213:
"type": "string",
"type": "string",
"label": "Weight"
"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": {
"eyes": {
"example": "Gold",
"example": "{{Color|Gold|#FDA000}}",
"type": "string",
"type": "wiki-template-name",
"label": "Eye color"
"label": "Eye color",
"description": "Please use the {{Color}} template."
},
},
"furstock": {
"furstock": {
"example": "Cheetah",
"example": "{{InfoCheetah}}",
"type": "string",
"type": "wiki-template-name",
"label": "Furstock"
"label": "Furstock",
"description": "Please use the {{InfoXXX}} template."
},
},
"origin": {
"origin": {
Line 181: Line 248:
"label": "Designer"
"label": "Designer"
},
},
"tabber": {
"image2": {
"example": "<tabber>|-|Daz=[[File:Chelsieportrait.png|260px]]|-|Koikatsu!=lol|-|Drawn=kek|-|Starbound=[[File:SBChelsie.png]]</tabber>",
"type": "wiki-file-name",
"type": "content"
"label": "Bottom image"
},
"tabber2": {
"type": "content",
"label": "Bottom tabber"
}
}
},
},
"format": "block",
"description": "An infobox for characters."
"paramOrder": [
"name",
"image",
"tabber",
"aliases",
"relatives",
"affiliation",
"path",
"marital",
"residence",
"birthDate",
"birthPlace",
"deathDate",
"deathPlace",
"species",
"gender",
"height",
"weight",
"eyes",
"furstock",
"origin",
"designer"
]
}
}
</templatedata></noinclude>
</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.

Template parameters

ParameterDescriptionTypeStatus
Namename

no description

Example
Chelsie
Auto value
{{PAGENAME}}
Stringrequired
Imageimage

no description

Fileoptional
Image captionimagecaption

no description

Example
Yeah, as if.
Stringoptional
Tabbertabber

no description

Example
<tabber>|-|Daz=[[File:Chelsieportrait.png|260px]]|-|Koikatsu!=lol|-|Drawn=kek|-|Starbound=[[File:SBChelsie.png]]</tabber>
Contentoptional
Aliasesaliases

no description

Example
The Hunter
Stringoptional
Relativesrelatives

no description

Example
Irrelevant
Stringoptional
Affiliationaffiliation

no description

Stringoptional
Pathpath

no description

Example
Hunter
Stringoptional
Marital statusmarital

no description

Stringoptional
Place of residenceresidence

no description

Example
[[Imrah City]], [[Fhurai]]
Stringoptional
Date of birthbirthDate

no description

Stringoptional
Place of birthbirthPlace

no description

Example
Unknown
Stringoptional
Date of deathdeathDate

no description

Stringoptional
Place of deathdeathPlace

no description

Stringoptional
Speciesspecies

no description

Example
Felin
Stringoptional
Gendergender

Please use the {{InfoXXX}} template.

Example
{{InfoFemale}}
Templateoptional
Heightheight

no description

Example
182 cm
Stringoptional
Weightweight

no description

Stringoptional
Fur colorfur

Please use the {{Color}} template.

Example
{{Color|Gold|#F0B80F}}
Templateoptional
Hair colorhair

Please use the {{Color}} template.

Example
{{Color|Auburn|#A7580D}}
Templateoptional
Eye coloreyes

Please use the {{Color}} template.

Example
{{Color|Gold|#FDA000}}
Templateoptional
Furstockfurstock

Please use the {{InfoXXX}} template.

Example
{{InfoCheetah}}
Templateoptional
Originorigin

no description

Example
[[Noxico]]
Stringoptional
Designerdesigner

no description

Example
[[User:Kawa-neechan|Kawa]]
Stringoptional
Bottom imageimage2

no description

Fileoptional
Bottom tabbertabber2

no description

Contentoptional