Template:Infobox character: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatedata>
{{Infobox
{
| bodystyle    = border-spacing: 2px 5px;
"description": "Character summary",
 
"params": {
| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
"characterName": {
| abovestyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} | color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
"label": "Character's Name",
 
"required": true,
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
            "type": "string"
| caption      = {{{caption|}}}
},
 
"image": {
| headerstyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} |color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
"label": "Character Image",
 
"type": "wiki-file-name",
| label1      = Created by
"required": true
| data1        = {{{creator|}}}
},
 
"location": {
| label2      = Designed by
"label": "Locations found at",
| data2        = {{{designer|}}}
"required": true,
 
            "type": "string"
| label3      = Voiced by
},
| data3        = {{{voice|}}}
"availability": {
 
"label": "Availability",
| label4      = Full name
            "type": "string"
| data4      = {{{full_name|}}}
},
 
"kinks": {
| label5      = {{#if: {{{alias|}}} | Alias | Aliases }}
"label": "List of kinks",
| data5      = {{If empty |{{{alias|}}} |{{{aliases|}}} }}
            "type": "string"
 
}
| label6      = {{#if: {{{nickname|}}} | Nickname | Nicknames }}
}
| data6      = {{If empty |{{{nickname|}}} |{{{nicknames|}}} }}
}
 
</templatedata>
| label7      = Species
| data7      = {{{species|}}}
 
| label8      = Gender
| data8      = {{{gender|}}}
 
| label9      = Title
| data9      = {{{title|}}}
 
| label10      = {{#if: {{{occupation|}}} | Occupation | {{#if: {{{position|}}} | Position }} }}
| data10      = {{If empty |{{{occupation|}}} |{{{position|}}} }}
 
| label11      = {{#if: {{{spouse|}}} | Spouse | Spouses }}
| data11      = {{If empty |{{{spouse|}}} |{{{spouses|}}} }}
 
| label12      = {{#if: {{{significant_other|}}} | Significant {{nowrap|other}} | Significant {{nowrap|others}} }}
| data12      = {{If empty |{{{significant_other|}}} |{{{significant_others|}}} }}
 
| label13      = Available
| data13        = {{{available|}}}
 
| label14      = Desires
| data14        = {{{desires|}}}
}}
{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox character with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox character]] with unknown parameter "_VALUE_" | alias | aliases | alt | available | caption| color | colour | creator | designer | desires | full_name | gender | image | image_size | image_upright | name | nickname | nicknames | occupation | position | race | significant_other | significant_others | species | spouse | spouses | title | voice }}<noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 02:22, 20 June 2023