Difference between revisions of "Template:Infobox character"

From Summertime Saga Wiki
Jump to: navigation, search
(rm unsupported parameters)
 
m
(40 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Infobox
+
<onlyinclude>{{Infobox
|bodystyle    = border-spacing: 2px 5px;
+
| name = {{{name}}}
 
+
| image_character = {{{image_character|}}}
|above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
+
| aliases = {{{aliases|}}}
|abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
+
| gender = {{{gender|}}}
 
+
| hair = {{{hair|}}}
|subheader    = {{#if:{{{series|}}}|''{{{series}}}'' character{{#if:{{{multiple|}}}|s}}}}
+
| eyes = {{{eyes|}}}
 
+
| relatives = {{{relatives|}}}
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
+
| dating = {{{dating|}}}
|caption      = {{{caption|}}}
+
| pregnancy = {{{pregnancy|}}}
 
+
| morning = {{{morning|}}}
|headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
+
| afternoon = {{{afternoon|}}}
|labelstyle  = {{{lbl-style|}}}
+
| evening = {{{evening|}}}
|datastyle    = {{{data-style|}}}
+
}}</onlyinclude><noinclude>[[Category:Templates]]</noinclude>
 
 
|label1  = First appearance
 
|data1    = {{{first|}}}
 
 
 
|label2  = Last appearance
 
|data2    = {{{last|}}}
 
 
 
|label4  = Created by
 
|data4    = {{{creator|}}}
 
 
 
|label5  = Portrayed by
 
|data5    = {{{portrayer|}}}
 
 
 
|label6  = [[Voice acting|Voiced by]]
 
|data6    = {{{voice|}}}
 
 
 
|label7  = {{{lbl1|}}}
 
|data7    = {{{data1|}}}
 
 
 
|label8  = {{{lbl2|}}}
 
|data8    = {{{data2|}}}
 
 
 
|label9  = {{{lbl3|}}}
 
|data9    = {{{data3|}}}
 
 
 
|label10  = {{{lbl4|}}}
 
|data10  = {{{data4|}}}
 
 
 
|label11  = {{{lbl5|}}}
 
|data11  = {{{data5|}}}
 
 
 
|header12 = {{ #if: {{{noinfo|}}} || {{ #if: {{{nickname|}}} {{{alias|}}} {{{species|}}} {{{gender|}}} {{{occupation|}}} {{{title|}}}  {{{family|}}} {{{spouse|}}} {{{significantother|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{nationality|}}} {{{data21|}}} {{{data22|}}} {{{data23|}}} {{{data24|}}} {{{data25|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }}
 
 
 
|label13  = Full name
 
|data13  = {{{fullname|}}}
 
 
 
|label14  = {{nowrap|Nickname(s)}}
 
|data14  = {{{nickname|}}}
 
 
 
|label15  = Aliases
 
|data15  = {{{alias|}}}
 
 
 
|label16  = Species
 
|data16  = {{{species|}}}
 
 
 
|label17  = Gender
 
|data17  = {{{gender|}}}
 
 
 
|label18  = Occupation
 
|data18  = {{{occupation|}}}
 
 
 
|label19  = Affiliation
 
|data19  = {{{affiliation|}}}
 
 
 
|label20  = Title
 
|data20  = {{{title|}}}
 
 
 
|label21  = Family
 
|data21  = {{{family|}}}
 
 
 
|label22  = {{nowrap|Spouse(s)}}
 
|data22  = {{{spouse|}}}
 
 
 
|label23  = [[Significant other|Significant {{nowrap|other(s)}}]]
 
|data23  = {{{significantother|}}}
 
 
 
|label24  = Children
 
|data24  = {{{children|}}}
 
 
 
|label25  = Relatives
 
|data25  = {{{relatives|}}}
 
 
 
|label26  = Religion
 
|data26  = {{{religion|}}}
 
 
 
|label27  = Nationality
 
|data27  = {{{nationality|}}}
 
 
 
|label33  = {{{lbl21|}}}
 
|data33  = {{{data21|}}}
 
 
 
|label34  = {{{lbl22|}}}
 
|data34  = {{{data22|}}}
 
 
 
|label35  = {{{lbl23|}}}
 
|data35  = {{{data23|}}}
 
 
 
|label36  = {{{lbl24|}}}
 
|data36  = {{{data24|}}}
 
 
 
|label37  = {{{lbl25|}}}
 
|data37  = {{{data25|}}}
 
 
 
|header38 = {{ #if: {{{data31|}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr|}}} }}
 
 
 
|label39  = {{{lbl31|}}}
 
|data39  = {{{data31|}}}
 
 
 
|label40  = {{{lbl32|}}}
 
|data40  = {{{data32|}}}
 
 
 
|label41  = {{{lbl33|}}}
 
|data41  = {{{data33|}}}
 
 
 
|label42  = {{{lbl34|}}}
 
|data42  = {{{data34|}}}
 
|label43  = {{{lbl35|}}}
 
|data43  = {{{data35|}}}
 
}}{{Main other|{{#if:{{{lbl35|}}}{{{data35|}}}{{{lbl25|}}}{{{data25|}}}{{{lbl5|}}}{{{data5|}}}
 
|[[Category:Articles using Infobox character with multiple unlabeled fields|5{{PAGENAME}}]]
 
|{{#if:{{{lbl34|}}}{{{data34|}}}{{{lbl24|}}}{{{data24|}}}{{{lbl4|}}}{{{data4|}}}
 
|[[Category:Articles using Infobox character with multiple unlabeled fields|4{{PAGENAME}}]]
 
|{{#if:{{{lbl33|}}}{{{data33|}}}{{{lbl23|}}}{{{data23|}}}{{{lbl3|}}}{{{data3|}}}
 
|[[Category:Articles using Infobox character with multiple unlabeled fields|3{{PAGENAME}}]]
 
|{{#if:{{{lbl32|}}}{{{data32|}}}{{{lbl22|}}}{{{data22|}}}{{{lbl2|}}}{{{data2|}}}
 
|[[Category:Articles using Infobox character with multiple unlabeled fields|2{{PAGENAME}}]]
 
}} }} }} }}{{Ensure AAA contrast ratio|base={{If empty|{{{color|}}}|{{{colour|}}}}}|category=[[Category:Articles using Template:Infobox character with invalid colour combination]]}}}}<!-- Start tracking
 
-->{{main other|{{#ifeq:{{{sep|♠}}}|♠||[[Category:Infobox character articles using potentially unnecessary parameters|{{#ifeq:{{{sep|♠}}}|♠||S}}]]}}}}<!-- End tracking
 
-->{{#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_"|ignoreblank=y|  affiliation  | alias | alt  | caption | children | color | colour | creator | data-style | data1 | data2 | data21 | data22 | data23 | data24 | data25 | data3 | data31 | data32 | data33 | data34 | data35 | data4 | data5 | extra-hdr | family | first | fullname | gender | image | image_size | image_upright | info-hdr | last | lbl-style | lbl1 | lbl2 | lbl21 | lbl22 | lbl23 | lbl24 | lbl25 | lbl3 | lbl31 | lbl32 | lbl33 | lbl34 | lbl35 | lbl4 | lbl5 | multiple | name | nationality | nickname | noinfo | occupation | portrayer | relatives | religion | sep | series | significantother | species | spouse  | title | voice }}<noinclude>
 
{{Documentation}}
 
<!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 

Revision as of 22:01, 8 July 2019