Template:Infobox character: Difference between revisions
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
(5 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
| aboveclass = notheme | | aboveclass = notheme | ||
| headerclass = notheme | | headerclass = notheme | ||
| abovestyle = {{#if: {{{titlestyle|{{{headerstyle|}}}}}}|{{{titlestyle|{{{headerstyle|}}}}}}|}} | |||
| headerstyle = {{#if: {{{headerstyle|}}}|{{{headerstyle|}}}|}} | | headerstyle = {{#if: {{{headerstyle|}}}|{{{headerstyle|}}}|}} | ||
| | | bodystyle = {{#if: {{{bodystyle|}}}|{{{bodystyle|}}}|}} | ||
| | | imagestyle = {{#if: {{{bodystyle|}}}|{{{bodystyle|}}}|}} | ||
| subheader = {{#if: {{{series|}}}{{{franchise|}}} | {{#if: {{{series|}}} | ''{{{series|}}}'' | {{{franchise|}}} }} character{{#if: {{{multiple|}}} | s }} }} | | subheader = {{#if: {{{series|}}}{{{franchise|}}} | {{#if: {{{series|}}} | ''{{#ifeq: {{{serieslink|}}}|yes|[[{{{series|}}}]]|{{{series|}}}}}'' | {{#ifeq: {{{franchiselink|}}}|yes|[[{{{franchise|}}}]]|{{{franchise|}}}}} }} character{{#if: {{{multiple|}}} | s }} }} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|}}}|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|}}}|alt={{{alt|}}}}} | ||
Line 73: | Line 74: | ||
| label24 = {{#if: {{{race|}}} | Race | Species }} | | label24 = {{#if: {{{race|}}} | Race | Species }} | ||
| data24 = {{If empty |{{{race|}}} |{{{species|}}} }} | | data24 = {{#ifeq: {{{specieslink|}}}|yes|[[{{If empty |{{{race|}}}|{{{species|}}}}}]]|{{If empty |{{{race|}}}|{{{species|}}}}}}} | ||
| label25 = Gender | | label25 = Gender | ||
| data25 = {{{gender|}}} | | data25 = {{#ifeq: {{{genderlink|}}}|yes|[[{{{gender|}}}]]|{{{gender|}}}}} | ||
| label26 = Title | | label26 = Title | ||
Line 156: | Line 157: | ||
| {{#if: {{{lbl32|}}} {{{data32|}}} {{{lbl22|}}} {{{data22|}}} {{{lbl2|}}} {{{data2|}}} | [[Category:Articles using Infobox character with multiple unlabeled fields|2{{PAGENAME}}]] | | {{#if: {{{lbl32|}}} {{{data32|}}} {{{lbl22|}}} {{{data22|}}} {{{lbl2|}}} {{{data2|}}} | [[Category:Articles using Infobox character with multiple unlabeled fields|2{{PAGENAME}}]] | ||
}} }} }} }}}}<!-- | }} }} }} }}}}<!-- | ||
-->{{#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_"|showblankpositional=1| adapted_by | affiliation | alias | aliases | alignment | alt | caption | children | class | 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 }}<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_"|showblankpositional=1| adapted_by | affiliation | alias | aliases | alignment | alt | caption | children | class | 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 }} | ||
[[Category:Characters]]{{#if: {{{species|}}}|[[Category:{{{species|}}} characters]]|}}{{#if: {{{gender|}}}|[[Category:{{{gender|}}} characters]]|}}{{#if: {{{race|}}}|[[Category:{{{race|}}} characters]]|}}{{#if: {{{series|}}}|[[Category:{{{series|}}} characters]]|}}{{#if: {{{franchise|}}}|[[Category:{{{franchise|}}} characters]]|}}<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |