Template:Infobox character: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
No edit summary
Tag: Reverted
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{Infobox
<templatedata>
| bodystyle    = border-spacing: 2px 5px;
{
 
"params": {
| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
"name": {
| abovestyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} | color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
"label": "Character Name",
 
"example": "Azlos",
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
"type": "string",
| caption      = {{{caption|}}}
"required": true
 
},
| headerstyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} |color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
"image": {
 
"label": "Image",
| label1      = Created by
"example": "[zorro_bust.webp]",
| data1        = {{{creator|}}}
"type": "wiki-file-name",
 
"required": true
| label2      = Designed by
},
| data2        = {{{designer|}}}
"location": {
 
"label": "Locations",
| label3      = Voiced by
"example": "General Store",
| data3        = {{{voice|}}}
"type": "string",
 
"suggested": true
| label4      = Full name
},
| data4      = {{{full_name|}}}
"availability": {
 
"label": "Availability",
| label5      = {{#if: {{{alias|}}} | Alias | Aliases }}
"type": "string",
| data5      = {{If empty |{{{alias|}}} |{{{aliases|}}} }}
"suggested": true
 
},
| label6      = {{#if: {{{nickname|}}} | Nickname | Nicknames }}
"kinks": {
| data6      = {{If empty |{{{nickname|}}} |{{{nicknames|}}} }}
"label": "Kinks",
 
"type": "string",
| label7      = Species
"suggested": true
| data7      = {{{species|}}}
}
 
}
| label8      = Gender
}
| data8      = {{{gender|}}}
</templatedata>
 
| 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>
</noinclude>

Latest revision as of 02:22, 20 June 2023