Template:Character: Difference between revisions

From Firrhna Project Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<table class="infobox"><tr><th colspan="2" class="infobox-title">{{{name|Character}}}</th></tr>
<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",
"label": "Name",
"required": true
"required": true,
"autovalue": "{{PAGENAME}}"
},
},
"image": {
"image": {
"example": "Chelsieportrait.png",
"type": "wiki-file-name",
"type": "wiki-file-name",
            "label": "Image"
"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"
"label": "Tabber"
},
},
        "aliases": {
"aliases": {
"type": "string",
"type": "string",
"example": "The Hunter",
"example": "The Hunter",
Line 157: Line 166:
},
},
"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 171: Line 181:
},
},
"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 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}}}


An infobox for characters.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Example
Chelsie
Auto value
{{PAGENAME}}
Stringrequired
Bottom 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
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 tabbertabber2

no description

Contentoptional