Template:Infobox character: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
No edit summary
Tag: Reverted
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| name             = {{{name|{{PAGENAME}}}}}
| bodystyle    = border-spacing: 2px 5px;
| image           = {{{image|}}}
 
| location        = {{{location|}}}
| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| availability    = {{{availability|}}}
| abovestyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} | color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
| kinks            = {{{kinks|}}}
 
| image       = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
| caption      = {{{caption|}}}
 
| headerstyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} |color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
 
| 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|}}}
}}
}}
<noinclude>
{{#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>
<templatedata>
{{Documentation}}
{
<!-- Add categories to the /doc subpage, not here! -->
"params": {
"name": {
"label": "Character Name",
"example": "Azlos",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"example": "[zorro_bust.webp]",
"type": "wiki-file-name",
"required": true
},
"location": {
"label": "Locations",
"example": "General Store",
"type": "string",
"suggested": true
},
"availability": {
"label": "Availability",
"type": "string",
"suggested": true
},
"kinks": {
"label": "Kinks",
"type": "string",
"suggested": true
}
}
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 02:22, 20 June 2023