Template:Infobox character: Difference between revisions

m
Removing broken semantic mediawiki reference for images
mNo edit summary
m (Removing broken semantic mediawiki reference for images)
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{infobox
<includeonly>{{infobox
|name        =  
| name        =  
|bodystyle    = background-color: #F0F0FA;
| bodystyle    = background-color: #F0F0FA;
|title        = Character
| title        = <div style="float:right; width:27px; font-size:10px;">[[Special:FormEdit/Character/{{PAGENAMEE}}{{#ifexist: {{PAGENAMEE}}/infobox | /infobox}}|edit]]</div><div style="margin-left:32px;">Character</div>
|titlestyle  = font-size: 90%;
| titlestyle  = font-size: 90%;
text-transform: uppercase;
text-transform: uppercase;
background-color: #EEE;
background-color: #EEE;
border: 1px solid #AAA;
border: 1px solid #AAA;
border-bottom: none;  
border-bottom: none;  
|above = {{PAGENAME}}
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|abovestyle = font-size: 150%;
| abovestyle = font-size: 150%;


|image        = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|170px}}|center|{{{caption}}}]]}}
| image        = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|170px}}|center|{{{caption}}}]]<!--[[Image::File:{{{image}}}| ]]-->}}
|imagestyle  = {{{imagestyle|}}}
| imagestyle  = {{{imagestyle|}}}
|caption      = {{{caption|}}}
| caption      = {{{caption|}}}
|captionstyle = {{{captionstyle|}}}
| captionstyle = {{{captionstyle|}}}


|headerstyle  = background:#444; color: #fff;
| headerstyle  = background:#444; color: #fff;
|labelstyle  = background:#ddd;
| labelstyle  = background:#ddd;
|datastyle    =  
| datastyle    =  


|header1 =  
| header1 =  


|label1  = Appearances
| label1  = Appearances
|data1  =  
| data1  = {{gameselect|{{{game_1|}}}|{{{game_2|}}}|{{{game_3|}}}|{{{game_4|}}}|{{{game_5|}}}|{{{game_6|}}}|{{{game_7|}}}|{{{game_8|}}}|{{{game_9|}}}|{{{game_10|}}}|{{{game_11|}}}|{{{game_12|}}}|{{{game_13|}}}|{{{game_14|}}}|{{{game_15|}}}|{{{game_16|}}}|{{{game_17|}}}|{{{game_18|}}}|{{{game_19|}}}|{{{game_20|}}}}}{{#IF: {{{games|}}} |[[Category:Fix Games]] [[Appearance::{{game|{{{games|}}}}}]]}}{{#IF: {{{game_1|}}} | | [[Category:Fix Games]]}}{{#IF: {{{games|}}} | [[Category:Fix Games]]}}
{{#ifexist: {{game|{{{game_1|}}}}}|[[Appearance::{{game|{{{game_1|}}}}}]]
{{#ifexist: {{game|{{{game_2|}}}}}|<br />[[Appearance::{{game|{{{game_2|}}}}}]]}}
{{#ifexist: {{game|{{{game_3|}}}}}|<br />[[Appearance::{{game|{{{game_3|}}}}}]]}}
{{#ifexist: {{game|{{{game_4|}}}}}|<br />[[Appearance::{{game|{{{game_4|}}}}}]]}}
{{#ifexist: {{game|{{{game_5|}}}}}|<br />[[Appearance::{{game|{{{game_5|}}}}}]]}}
{{#ifexist: {{game|{{{game_6|}}}}}|<br />[[Appearance::{{game|{{{game_6|}}}}}]]}}
{{#ifexist: {{game|{{{game_7|}}}}}|<br />[[Appearance::{{game|{{{game_7|}}}}}]]}}
{{#ifexist: {{game|{{{game_8|}}}}}|<br />[[Appearance::{{game|{{{game_8|}}}}}]]}}
{{#ifexist: {{game|{{{game_9|}}}}}|<br />[[Appearance::{{game|{{{game_9|}}}}}]]}}
{{#ifexist: {{game|{{{game_10|}}}}}|<br />[[Appearance::{{game|{{{game_10|}}}}}]]}}
|
{{{games|}}}
}}


|label2  = Full Name
| label2  = Full Name
|data2  = {{{name|}}}
| data2  = {{{name|}}}


|label3  = {{abbr|Aliases|Permanent nicknames or alternative names, not one-off, affectionate or abusive names}}
| label3  = {{abbr|Aliases|Permanent nicknames or alternative names, not one-off, affectionate, or abusive names}}
|data3  = {{{aka|}}}
| data3  = {{{aka|}}}


|label4  = Status
| label4  = Status
|data4  = {{#if: {{{status|}}}|[[Status::{{{status|}}}]]}}
| data4  = {{#if: {{{status|}}}|
{{#if: {{{status-link|}}}|
[[{{{status-link|}}}|{{#switch: {{lc:{{{status|}}}}}
| alive = Alive
| dead = Deceased
| deceased = Deceased
| died = Deceased
| {{{status|}}}[[Category:Fix status]]
}}]]
|
{{#switch: {{lc:{{{status|}}}}}
| alive = Alive
| dead = Deceased
| deceased = Deceased
| died = Deceased
| {{{status|}}}[[Category:Fix status]]
}}
}}
[[Status::{{#switch: {{lc:{{{status|}}}}}
| alive = Alive
| dead = Deceased
| deceased = Deceased
| died = Deceased
| {{{status|}}}[[Category:Fix status]]
}}| ]]}}


|label5  = Gender
|label5  = Gender
|data5  = {{#if: {{{gender|}}}|[[Gender::{{#switch: {{{gender|}}}
|data5  = {{#if: {{{gender|}}}|[[Gender::{{#switch: {{lc:{{{gender|}}}}}
| M = Male
  | m = Male
  | m = Male
| Male = Male
  | male = Male
  | male = Male
  | Boy = Male
  | boy = Male
  | Man = Male
  | man = Male
| F = Female
  | f = Female
  | f = Female
| Female = Female
  | female = Female
  | female = Female
  | Girl = Female
  | girl = Female
  |  
  | [[Category: Fix Gender]]
}}]]
}}]]
}}
}}


|label6  = Date of Birth
| label6  = Date of Birth
|data6  = {{#if: {{{dob|}}}|[[{{#time: Y |{{{dob|}}}}}|{{{dob}}}]][[DOB::{{{dob|}}}| ]] {{{dob-comment|}}}
| data6  = {{#if: {{{dob|}}}|[[{{#time: Y |{{{dob|}}}}}|{{{dob}}}]][[DOB::{{{dob|}}}| ]] {{{dob-comment|}}}
}}
}}


|label7  = Place of Birth
| label7  = Place of Birth
|data7  = {{{pob|}}}
| data7  = {{{pob|}}}


|label8  = Date of Death
| label8  = Date of Death
|data8  = {{#if: {{{dod|}}}|[[{{#time: Y |{{{dod|}}}}}|{{{dod}}}]][[DOD::{{{dod|}}}| ]] {{{dod-comment|}}}}}
| data8  = {{#if: {{{dod|}}}|[[{{#time: Y |{{{dod|}}}}}|{{{dod}}}]][[DOD::{{{dod|}}}| ]] {{{dod-comment|}}}}}


|label9  = Age at Death
| label9  = Age at Death
|data9  =  
| data9  =  
{{#if: {{dod|}}|
{{#if: {{{dod|}}}|
{{#if: {{{dob|}}}|
{{#if: {{{dob|}}}|
{{#iferror:{{#time: Y |{{{dod|abc}}}}} | <!-- dod error --> | {{#iferror:{{#time: Y |{{{dob|abc}}}}} | <!-- dob error in dod --> |  
{{#iferror:{{#time: Y |{{{dod|abc}}}}} | <!-- dod error -->[[Category:Fix dod]] | {{#iferror:{{#time: Y |{{{dob|abc}}}}} | <!-- dob error in dod -->[[Category:Fix dob]] |  
{{#expr: {{#time: Y |{{{dod}}}}} - {{#time: Y |{{{dob}}} }} }} }} }} }} }}
{{#expr: {{#time: Y |{{{dod}}}}} - {{#time: Y |{{{dob}}} }} }} }} }} }} }}


|label10  = Age Now
| label10  = Age Now
|data10  =  
| data10  =  
{{#if: {{{dob|}}}|  
{{#if: {{{dob|}}}|  
{{#if: {{dod|}}|{{blank}}|
{{#if: {{{dod|}}}|{{blank}}|
{{#iferror:{{#time: Y |{{{dob|abc}}}}} | <!-- dob error --> |
{{#iferror:{{#time: Y |{{{dob|abc}}}}} | <!-- dob error -->[[Category:Fix dob]] |
{{age|{{#time: Y |{{{dob}}} }} }} }} }} }}
{{age|{{#time: Y |{{{dob}}} }} }} }} }} }}


|label11  = Nationality
| label11  = Nationality
|data11  = {{#if: {{{nationality|}}}|[[{{Country|{{{nationality}}}}}|{{Nationality|{{{nationality}}}}}]][[Nationality::{{nationality|{{{nationality|}}}}}| ]]}}
| data11  = {{#if: {{{nationality|}}}|[[{{Country|{{{nationality}}}}}|{{Nationality|{{{nationality}}}}}]][[Nationality::{{country|{{{nationality|}}}}}| ]]}}
 
| label12  = Home
| data12  = {{{home|}}}
 
| label13  = Family
| data13  = {{{family|}}}


|label12 = Home
| label14 = Main Affiliations
|data12   = {{{home|}}}
| data14   = {{{affiliations|}}}


|label13 = Family
| label15 = Vehicles
|data13   = {{{family|}}}
| data15   = {{{vehicles|}}}


|label14 = Main Affiliations
| label16 = Businesses
|data15   = {{{affiliations|}}}
| data16   = {{{businesses|}}}


|label15 = Vehicles
| label17 = Occupation
|data15   = {{{vehicles|}}}
| data17   = {{{occupation|}}}


|label16 = Businesses
| label18 = Voiced by
|data16   = {{{businesses|}}}
| data18   = {{{voice|}}}


|label17 = Voiced by
| label19 = Lifeinvader page
|data17   = {{{voice|}}}
| data19   = {{{lifeinvader|}}}


}}</includeonly><noinclude>
}}[[Type::Character| ]]</includeonly><noinclude>


{{doc}}
{{doc}}


[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>