Template:Infobox character: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
No edit summary
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox character
{{Infobox
|name    = {{{name|{{PAGENAME}}}}}
| bodystyle   = border-spacing: 2px 5px;
|above    = {{{characterName|}}}
|image   = {{{image|}}}


|header2  = General information
| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| abovestyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} | color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}


|label1   = Location
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
| data1   = {{{locations|}}}
| caption      = {{{caption|}}}
|label2   = Availability
 
| data2   = {{{Availability|}}}
| headerstyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} |color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
|label3   = Kinks
 
| data3   = {{{kinks|}}}
| label1       = Created by
| data1       = {{{creator|}}}
 
| label2       = Designed by
| data2       = {{{designer|}}}
 
| label3       = Voiced by
| data3       = {{{voice|}}}
 
| label4      = Full name
| data4      = {{{full_name|}}}
 
| label5      = {{#if: {{{alias|}}} | Alias | Aliases }}
| data5      = {{If empty |{{{alias|}}} |{{{aliases|}}} }}
 
| label6      = {{#if: {{{nickname|}}} | Nickname | Nicknames }}
| data6      = {{If empty |{{{nickname|}}} |{{{nicknames|}}} }}
 
| 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|}}}
}}
}}
<templatedata>
{{#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}}
"description": "Character summary",
<!-- Add categories to the /doc subpage, not here! -->
"params": {
</noinclude>
"characterName": {
"label": "Character's Name",
"required": true,
            "type": "string"
},
"image": {
"label": "Character Image",
"type": "wiki-file-name",
"required": true
},
"location": {
"label": "Locations found at",
"required": true,
            "type": "string"
},
"availability": {
"label": "Availability",
            "type": "string"
},
"kinks": {
"label": "List of kinks",
            "type": "string"
}
}
}
</templatedata>

Latest revision as of 02:22, 20 June 2023