Template:Infobox character: Difference between revisions

From Robin's SM-201 Website
Jump to navigation Jump to search
(Created page with "{{main other|{{short description|Fictional character|noreplace}}}} {{Infobox | bodystyle = border-spacing: 2px 5px; | 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 }}; }} | subheader = {{#if: {{{series|}}}{{{franchis...")
 
No edit summary
Line 1: Line 1:
{{main other|{{short description|Fictional character|noreplace}}}}
{| class="infobox" cellspacing="5" style="width:25em; font-size:90%; border: 1px solid black;padding:0.5em  1em 0.5em 1em" align="right"
{{Infobox
|-
| bodystyle    = border-spacing: 2px 5px;
|colspan="3" style="text-align: center; font-size: larger; background-color:{{{color|#ddf}}}; color:#000;" | '''{{{name|{{PAGENAME}}}}}'
|-
|colspan="3" style="text-align: center; font-size: 90%; line-height: 15px;"|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|220px}}| ]]<br /><small>{{{caption|}}}</small>}}
|-
{{#if:{{{birthname|}}}| {{!}}  style="text-align:left;" {{!}} '''Born as:''' {{!!}} {{{birthname|}}} }}
|- Valign ="top"
{{#if:{{{series|}}}| {{!}}  style="text-align:left;" {{!}} '''Series:''' {{!!}} {{{series|}}} }}
|- Valign ="top"
{{#if:{{{franchise|}}}| {{!}}  style="text-align:left;" {{!}} '''Franchise:''' {{!!}} {{{franchise|}}} }}
|- valign="top"
{{#if:{{{first|}}}| {{!}} '''First appearance:''' {{!!}} {{{first|}}} }}
|- valign="top"
{{#if:{{{last|}}}| {{!}} '''Last appearance:''' {{!!}} {{{last|}}} }}
|- valign="top"
{{#if:{{{creator|}}}| {{!}} '''Creator:''' {{!!}} {{{creator|}}} }}
|- valign="top"
{{#if:{{{based_on|}}}| {{!}} '''Based on:''' {{!!}} {{{based_on|}}} }}
|- valign="top"
{{#if:{{{adapted_by|}}}| {{!}} '''Adapted by:''' {{!!}} {{{adapted_by|}}} }}
|- valign="top"
{{#if:{{{designer|}}}| {{!}} '''Designed by:''' {{!!}} {{{designer|}}} }}
|- valign="top"
{{#if:{{{portrayer|}}}| {{!}} '''Portrayed by:''' {{!!}} {{{portrayer|}}} }}


| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
|- valign="top"
| abovestyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} | color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
{{#if:{{{|}}}| {{!}} ''':''' {{!!}} {{{|}}} }}


| subheader    = {{#if: {{{series|}}}{{{franchise|}}} | {{#if: {{{series|}}} | ''{{{series|}}}'' | {{{franchise|}}} }} character{{#if: {{{multiple|}}} | s }} }}
|- valign="top"
{{#if:{{{voice|}}}| {{!}} '''Voiced by:''' {{!!}} {{{voice|}}} }}


| 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      = First appearance
| data1        = {{#if: {{{first|}}} | {{{first|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{first_major|}}} |minor_work={{{first_minor|}}} |issue={{{first_issue|}}} |date={{{first_date|}}} }} }}
| label2      = First game
| data2        = {{{firstgame|}}}
| label3      = Last appearance
| data3        = {{#if: {{{last|}}} | {{{last|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{last_major|}}} |minor_work={{{last_minor|}}} |issue={{{last_issue|}}} |date={{{last_date|}}} }} }}
| label4      = Created by
| data4        = {{{creator|}}}
| label5      = Based on
| data5        = {{{based_on|}}}
| label6      = Adapted by
| data6        = {{{adapted_by|}}}
| label7      = Designed by
| data7        = {{{designer|}}}
| label8      = Portrayed by
| data8        = {{{portrayer|}}}
| label9      = Voiced by
| data9        = {{{voice|}}}


| label10      = Motion capture
| label10      = Motion capture
Line 158: Line 151:
<!-- Add categories to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
</noinclude>
| label2      = First game
| data2        = {{{firstgame|}}}
| label3      = Last appearance
| data3        = {{#if: {{{last|}}} | {{{last|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{last_major|}}} |minor_work={{{last_minor|}}} |issue={{{last_issue|}}} |date={{{last_date|}}} }} }}

Revision as of 04:38, 15 January 2023

Infobox character'
label10 = Motion capture data10 = label11 = data11 = label12 = data12 = label13 = data13 = label14 = data14 = label15 = data15 = header20 = label21 = Full name data21 = label22 = Aliases data22 = Template:If empty label23 = Nicknames data23 = Template:If empty label24 = Species data24 = Template:If empty label25 = Gender data25 = label26 = Title data26 = label27 = Class data27 = Template:If empty label28 = Alignment data28 = Template:If empty label29 = Fighting style data29 = label30 = Weapon data30 = label31 = Family data31 = label32 = Spouses data32 = Template:If empty label33 = Significant others data33 = Template:If empty label34 = Children data34 = label35 = Relatives data35 = label36 = Religion data36 = label37 = Home data37 = Template:If empty label38 = Nationality data38 = label39 = data39 = label40 = data40 = label41 = data41 = label42 = data42 = label43 = data43 = header50 = label51 = data51 = label52 = data52 = label53 = data53 = label54 = data54 = label55 = data55 =

}}Template:Main other{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox character with unknown parameter "_VALUE_"| adapted_by | affiliation | alias | aliases | alignment | alt | caption | children | class | color | colour | creator | based_on | data1 | data2 | data3 | data4 | data5 | data21 | data22 | data23 | data24 | data25 | data31 | data32 | data33 | data34 | data35 | designer | extra-hdr | family | fighting_style | first | first_date | first_issue | first_major | first_minor | firstgame | franchise | full_name | gender | home | image | image_size | image_upright | info-hdr | last | last_date | last_issue | last_major | last_minor | lbl1 | lbl2 | lbl3 | lbl4 | lbl5 | lbl21 | lbl22 | lbl23 | lbl24 | lbl25 | lbl31 | lbl32 | lbl33 | lbl34 | lbl35 | motion_actor | multiple | name | nationality | nickname | nicknames | noinfo | occupation | origin | portrayer | position | race | relatives | religion | series | significant_other | significant_others | species | spouse | spouses | title | voice | weapon }} Template:Documentation


label2 = First game data2 = label3 = Last appearance getFormattedAppearance|major_work= |minor_work= |issue= |date= }}