Difference between revisions of "Template:Infobox soap character 2"

From blackwiki
Jump to navigation Jump to search
imported>Stephenb
(Reverted good faith edits by Wren Valmont (talk): These changes don't appear to have been discussed and seem to have broken some infoboxes. (TW))
imported>Wren Valmont
Line 1: Line 1:
{| class="infobox" style="width: 22em; text-align: left; font-size: 89%; line-height: 1.5em"
+
{{Infobox
! colspan=2 style="background-color: {{{color|{{{colour|#cccfff}}}}}}; font-size: 125%; text-align: center" | {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
+
|bodystyle    = border-spacing: 2px 5px;
|-
+
 
{{#if:{{{image1<includeonly>|</includeonly>}}}|
+
|above        = {{ifempty|{{{name<includeonly>|</includeonly>}}}|{{PAGENAME}}}}
{{!}} colspan=2 style="text-align: center" {{!}} [[{{{image1}}}|240px]]
+
|abovestyle  = background: {{ifempty|{{{color|{{{colour|}}}}}}|#DEDEE2}}; color: {{ifempty|{{{color text|{{{colour text|}}}}}}|#000}};
{{!}}-
+
 
{{#if:{{{caption1<includeonly>|</includeonly>}}}|
+
|subheader    = {{ #if: {{{series<includeonly>|</includeonly>}}} | ''{{{series}}}'' character }}
{{!}} colspan=2 style="text-align: center" {{!}} {{{caption1}}}
+
 
{{!}}-
+
|image        = {{{image<includeonly>|</includeonly>}}}
 +
|caption      = {{{caption<includeonly>|</includeonly>}}}
 +
|captionstyle = font-size: smaller;
 +
 
 +
|headerstyle  = background: {{ifempty|{{{color|{{{colour|}}}}}}|#DEDEE2}}; color: {{ifempty|{{{color text|{{{colour text|}}}}}}|#000}};
 +
|labelstyle  = {{{lbl-style|}}}
 +
|datastyle    = {{{data-style|}}}
 +
 
 +
|label1      = First appearance{{{sep|}}}
 +
|data1        = {{ #if: {{{first<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{first}}} }}
 +
 
 +
|label2      = Last appearance{{{sep|}}}
 +
|data2        = {{ #if: {{{last<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{last}}} }}
 +
 
 +
|label4      = Duration{{{sep|}}}
 +
|data4        = {{ #if: {{{duration<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{duration}}} }}
 +
 
 +
|label5      = Cause/reason{{{sep|}}}
 +
|data5        = {{ #if: {{{cause<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{cause}}} }}
 +
 
 +
|label6      = Created by{{{sep|}}}
 +
|data6        = {{ #if: {{{creator<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{creator}}} }}
 +
 
 +
|label7      = Portrayed by{{{sep|}}}
 +
|data7        = {{ #if: {{{portrayer<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{portrayer}}} }}
 +
 
 +
|label8  = {{{lbl1<includeonly>|</includeonly>}}}{{{sep|}}}
 +
|data8    = {{ #if: {{{data1<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{data1}}} }}
 +
 
 +
|label9  = {{{lbl2<includeonly>|</includeonly>}}}{{{sep|}}}
 +
|data9    = {{ #if: {{{data2<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{data2}}} }}
 +
 
 +
|label10  = {{{lbl3|}}}{{{sep|}}}
 +
|data10  = {{ #if: {{{data3|}}} | <nowiki></nowiki>
 +
{{{data3}}} }}
 +
 
 +
|header11 = {{ #if: {{{noinfo|}}} || {{ #if: {{{nickname<includeonly>|</includeonly>}}} {{{alias|}}} {{{species|}}} {{{gender|}}} {{{occupation|}}} {{{title|}}}  {{{family|}}} {{{spouse|}}} {{{significantother|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{nationality|}}} {{{data21|}}} {{{data22|}}} {{{data23|}}} {{{data24|}}} {{{data25|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }}
 +
 
 +
|label12  = Full name
 +
|data12  = {{{fullname|}}}
 +
 
 +
|label13  = Nickname(s){{{sep|}}}
 +
|data13  = {{{nickname<includeonly>|</includeonly>}}}
 +
 
 +
|label14  = Aliases{{{sep|}}}
 +
|data14  = {{{alias<includeonly>|</includeonly>}}}
 +
 
 +
|label15  = Gender{{{sep|}}}
 +
|data15  = {{{gender<includeonly>|</includeonly>}}}
 +
 
 +
|label16  = Occupation{{{sep|}}}
 +
|data16  = {{{occupation<includeonly>|</includeonly>}}}
 +
 
 +
|label17  = Title{{{sep|}}}
 +
|data17  = {{{title<includeonly>|</includeonly>}}}
 +
 
 +
|label18  = Residence{{{sep|}}}
 +
|data18  = {{{residence<includeonly>|</includeonly>}}}
 +
 
 +
|label19  = Religion{{{sep|}}}
 +
|data19  = {{{religion<includeonly>|</includeonly>}}}
 +
 
 +
|label20  = Nationality{{{sep|}}}
 +
|data20  = {{{nationality<includeonly>|</includeonly>}}}
 +
 
 +
|header21 = {{ #if: {{{noinfo|}}} || {{ #if: {{{parents<includeonly>|</includeonly>}}} {{{siblings|}}} {{{species|}}} {{{gender|}}} {{{occupation|}}} {{{title|}}}  {{{family|}}} {{{spouse|}}} {{{significantother|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{nationality|}}} {{{data21|}}} {{{data22|}}} {{{data23|}}} {{{data24|}}} {{{data25|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }}
 +
 
 +
|label22  = Parents{{{sep|}}}
 +
|data22  = {{{parents<includeonly>|</includeonly>}}}
 +
 
 +
|label23  = Sibling(s){{{sep|}}}
 +
|data23  = {{{siblings<includeonly>|</includeonly>}}}
 +
 
 +
|label24  = Spouse(s){{{sep|}}}
 +
|data24  = {{{spouse<includeonly>|</includeonly>}}}
 +
 
 +
|label25  = Romances{{{sep|}}}
 +
|data25  = {{{romances<includeonly>|</includeonly>}}}
 +
 
 +
|label26  = Children{{{sep|}}}
 +
|data26  = {{{children<includeonly>|</includeonly>}}}
 +
 
 +
|label27  = Grandchildren{{{sep|}}}
 +
|data27  = {{{grandchildren<includeonly>|</includeonly>}}}
 +
 
 +
|label28  = Grandparents{{{sep|}}}
 +
|data28  = {{{grandparents<includeonly>|</includeonly>}}}
 +
 
 +
|label29  = Aunts and uncles{{{sep|}}}
 +
|data29  = {{{aunts/uncles<includeonly>|</includeonly>}}}
 +
 
 +
|label30  = Nieces and nephews{{{sep|}}}
 +
|data30  = {{{nieces/nephews<includeonly>|</includeonly>}}}
 +
 
 +
|label31  = Cousins{{{sep|}}}
 +
|data31  = {{{cousins<includeonly>|</includeonly>}}}
 +
 
 +
|label32  = Other relatives{{{sep|}}}
 +
|data32  = {{{relatives<includeonly>|</includeonly>}}}
 +
 
 +
|label33  = {{{lbl5<includeonly>|</includeonly>}}}{{{sep|}}}
 +
|data33  = {{ #if: {{{data5<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{data5}}} }}
 +
 
 +
|label34  = {{{lbl6<includeonly>|</includeonly>}}}{{{sep|}}}
 +
|data34  = {{ #if: {{{data6<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{data6}}} }}
 +
 
 +
|label35  = {{{lbl7<includeonly>|</includeonly>}}}{{{sep|}}}
 +
|data35  = {{ #if: {{{data7<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{data7}}} }}
 +
 
 +
|label36  = {{{lbl8|}}}{{{sep|}}}
 +
|data36  = {{ #if: {{{data8|}}} | <nowiki></nowiki>
 +
{{{data8}}} }}
 +
 
 
}}
 
}}
}}
 
{{#if:{{{image<includeonly>|</includeonly>}}}|
 
{{!}} colspan=2 style="text-align: center" {{!}}  {{{image}}}
 
{{!}}-
 
{{#if:{{{caption<includeonly>|</includeonly>}}}|
 
{{!}} colspan=2 style="text-align: center" {{!}} {{{caption}}}
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{series<includeonly>|</includeonly>}}}|
 
! colspan=2 style="background-color: {{{color|{{{colour|#cccfff}}}}}}; text-align: center" {{!}} <!-- {{!}} --> ''{{{series}}}'' character
 
{{!}}-
 
}}
 
|-
 
{{#if:{{{portrayer<includeonly>|</includeonly>}}}|
 
! Portrayed by
 
{{!}} {{{portrayer}}}
 
{{!}}-
 
}}
 
{{#if:{{{creator<includeonly>|</includeonly>}}}|
 
! Created by
 
{{!}} {{{creator}}}
 
{{!}}-
 
}}
 
{{#if:{{{introducer<includeonly>|</includeonly>}}}|
 
! Introduced by
 
{{!}} {{{introducer}}}
 
{{!}}-
 
}}
 
{{#if:{{{years<includeonly>|</includeonly>}}}|
 
! Duration
 
{{!}} {{{years}}}
 
{{!}}-
 
}}
 
{{#if:{{{first<includeonly>|</includeonly>}}}|
 
! First&nbsp;appearance
 
{{!}} {{{first}}}
 
{{!}}-
 
}}
 
{{#if:{{{last<includeonly>|</includeonly>}}}|
 
! Last appearance
 
{{!}} {{{last}}}
 
{{!}}-
 
}}
 
{{#if:{{{cause<includeonly>|</includeonly>}}}|
 
! Cause/reason
 
{{!}} {{{cause}}}
 
{{!}}-
 
}}
 
{{#if:{{{appeared<includeonly>|</includeonly>}}}|
 
! Appears on
 
{{!}} {{{appeared}}}
 
{{!}}-
 
}}
 
{{#if:{{{only<includeonly>|</includeonly>}}}|
 
! Appears in
 
{{!}} {{{only}}}
 
{{!}}-
 
}}
 
{{#if:{{{classification<includeonly>|</includeonly>}}}|
 
! Classification
 
{{!}} {{{classification}}}
 
{{!}}-
 
}}
 
{{#if:{{{books<includeonly>|</includeonly>}}}|
 
! Book appearances
 
{{!}} {{{books}}}
 
{{!}}-
 
}}
 
{{#if:{{{spinoffs<includeonly>|</includeonly>}}}|
 
! Spin-off appearances
 
{{!}} {{{spinoffs}}}
 
{{!}}-
 
}}
 
{{#if:{{{alias|}}}{{{species|}}}{{{breed|}}}{{{born|}}}{{{death|}}}{{{home|}}}{{{occupation<includeonly>|</includeonly>}}}|
 
! colspan=2 style="background-color: {{{color|{{{colour|#cccfff}}}}}}; text-align: center" {{!}} Profile
 
{{!}}-
 
}}
 
{{#if:{{{alias<includeonly>|</includeonly>}}}|
 
! Alias
 
{{!}} {{{alias}}}
 
{{!}}-
 
}}
 
{{#if:{{{species<includeonly>|</includeonly>}}}|
 
! Species
 
{{!}} {{{species}}}
 
{{!}}-
 
}}
 
{{#if:{{{breed<includeonly>|</includeonly>}}}|
 
! Breed
 
{{!}} {{{breed}}}
 
{{!}}-
 
}}
 
{{#if:{{{born<includeonly>|</includeonly>}}}|
 
! Date of birth
 
{{!}} {{{born}}}
 
{{!}}-
 
}}
 
{{#if:{{{death<includeonly>|</includeonly>}}}|
 
! Date of death
 
{{!}} {{{death}}}
 
{{!}}-
 
}}
 
{{#if:{{{death cause<includeonly>|</includeonly>}}}|
 
! Cause of death
 
{{!}} {{{death cause}}}
 
{{!}}-
 
}}
 
{{#ifeq: {{{series}}} | EastEnders | | {{#if:{{{home<includeonly>|</includeonly>}}}|
 
! Home
 
{{!}} {{{home}}}
 
{{!}}-
 
}}
 
{{#if:{{{residence<includeonly>|</includeonly>}}}|
 
! Residence
 
{{!}} {{{residence}}}
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{occupation<includeonly>|</includeonly>}}}|
 
! Occupation
 
{{!}} {{{occupation}}}
 
{{!}}-
 
}}
 
{{#if:{{{image2<includeonly>|</includeonly>}}}|
 
! colspan=2 style="background-color: {{{color|{{{colour|#cccfff}}}}}}; text-align: center" {{!}} Alternative image(s)
 
{{!}}-
 
{{!}} colspan=2 style="text-align: center" {{!}} {{{image2}}}
 
{{!}}-
 
{{#if:{{{caption2<includeonly>|</includeonly>}}}|
 
{{!}} colspan=2 style="text-align: center" {{!}} {{{caption2}}}
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{image3<includeonly>|</includeonly>}}}|
 
{{!}} colspan=2 style="text-align: center" {{!}}  {{{image3}}}
 
{{!}}-
 
{{#if:{{{caption3<includeonly>|</includeonly>}}}|
 
{{!}} colspan=2 style="text-align: center" {{!}} {{{caption3}}}
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{family|}}}{{{owner|}}}{{{wife|}}}{{{husband|}}}{{{father|}}}{{{mother|}}}{{{adoptivefather|}}}{{{adoptivemother|}}}{{{stepfather|}}}{{{stepmother|}}}{{{brothers|}}}{{{sisters|}}}{{{halfbrothers|}}}{{{halfsisters|}}}{{{sons|}}}{{{daughters|}}}{{{adoptivesons|}}}{{{adoptivedaughters|}}}{{{stepsons|}}}{{{stepdaughters|}}}{{{grandsons|}}}{{{granddaughters|}}}{{{grandfathers|}}}{{{grandmothers|}}}{{{aunts|}}}{{{uncles|}}}{{{cousins|}}}{{{nieces|}}}{{{nephews|}}}{{{relatives|}}}{{{romances<includeonly>|</includeonly>}}}|
 
{{!}} colspan=2 {{!}}
 
{{{!}} class="collapsible collapsed" style="width: 100%; background-color: transparent"
 
! colspan=2 style="background-color: {{{color|{{{colour|#cccfff}}}}}}; text-align: center" {{!}} Family
 
{{!}}-
 
{{#if:{{{family<includeonly>|</includeonly>}}}|
 
! Family
 
{{!}} {{{family}}}
 
{{!}}-
 
}}
 
{{#if:{{{owner<includeonly>|</includeonly>}}}|
 
! Owner(s)
 
{{!}} {{{owner}}}
 
{{!}}-
 
}}
 
{{#if:{{{husband<includeonly>|</includeonly>}}}|
 
! Husband
 
{{!}} {{{husband}}}
 
{{!}}-
 
}}
 
{{#if:{{{wife<includeonly>|</includeonly>}}}|
 
! Wife
 
{{!}} {{{wife}}}
 
{{!}}-
 
}}
 
{{#if:{{{father<includeonly>|</includeonly>}}}|
 
! Father
 
{{!}} {{{father}}}
 
{{!}}-
 
}}
 
{{#if:{{{mother<includeonly>|</includeonly>}}}|
 
! Mother
 
{{!}} {{{mother}}}
 
{{!}}-
 
}}
 
{{#if:{{{adoptivefather<includeonly>|</includeonly>}}}|
 
! Adoptive father
 
{{!}} {{{adoptivefather}}}
 
{{!}}-
 
}}
 
{{#if:{{{adoptivemother<includeonly>|</includeonly>}}}|
 
! Adoptive mother
 
{{!}} {{{adoptivemother}}}
 
{{!}}-
 
}}
 
{{#if:{{{stepfather<includeonly>|</includeonly>}}}|
 
! Stepfather
 
{{!}} {{{stepfather}}}
 
{{!}}-
 
}}
 
{{#if:{{{stepmother<includeonly>|</includeonly>}}}|
 
! Stepmother
 
{{!}} {{{stepmother}}}
 
{{!}}-
 
}}
 
{{#if:{{{brothers<includeonly>|</includeonly>}}}|
 
! Brothers
 
{{!}} {{{brothers}}}
 
{{!}}-
 
}}
 
{{#if:{{{sisters<includeonly>|</includeonly>}}}|
 
! Sisters
 
{{!}} {{{sisters}}}
 
{{!}}-
 
}}
 
{{#if:{{{halfbrothers<includeonly>|</includeonly>}}}|
 
! Half brothers
 
{{!}} {{{halfbrothers}}}
 
{{!}}-
 
}}
 
{{#if:{{{halfsisters<includeonly>|</includeonly>}}}|
 
! Half sisters
 
{{!}} {{{halfsisters}}}
 
{{!}}-
 
}}
 
{{#if:{{{sons<includeonly>|</includeonly>}}}|
 
! Sons
 
{{!}} {{{sons}}}
 
{{!}}-
 
}}
 
{{#if:{{{daughters<includeonly>|</includeonly>}}}|
 
! Daughters
 
{{!}} {{{daughters}}}
 
{{!}}-
 
}}
 
{{#if:{{{adoptivesons<includeonly>|</includeonly>}}}|
 
! Adoptive sons
 
{{!}} {{{adoptivesons}}}
 
{{!}}-
 
}}
 
{{#if:{{{adoptivedaughters<includeonly>|</includeonly>}}}|
 
! Adoptive daughters
 
{{!}} {{{adoptivedaughters}}}
 
{{!}}-
 
}}
 
{{#if:{{{stepsons<includeonly>|</includeonly>}}}|
 
! Stepsons
 
{{!}} {{{stepsons}}}
 
{{!}}-
 
}}
 
{{#if:{{{stepdaughters<includeonly>|</includeonly>}}}|
 
! Stepdaughters
 
{{!}} {{{stepdaughters}}}
 
{{!}}-
 
}}
 
{{#if:{{{grandsons<includeonly>|</includeonly>}}}|
 
! Grandsons
 
{{!}} {{{grandsons}}}
 
{{!}}-
 
}}
 
{{#if:{{{granddaughters<includeonly>|</includeonly>}}}|
 
! Granddaughters
 
{{!}} {{{granddaughters}}}
 
{{!}}-
 
}}
 
{{#if:{{{grandfathers<includeonly>|</includeonly>}}}|
 
! Grandfathers
 
{{!}} {{{grandfathers}}}
 
{{!}}-
 
}}
 
{{#if:{{{grandmothers<includeonly>|</includeonly>}}}|
 
! Grandmothers
 
{{!}} {{{grandmothers}}}
 
{{!}}-
 
}}
 
{{#if:{{{uncles<includeonly>|</includeonly>}}}|
 
! Uncles
 
{{!}} {{{uncles}}}
 
{{!}}-
 
}}
 
{{#if:{{{aunts<includeonly>|</includeonly>}}}|
 
! Aunts
 
{{!}} {{{aunts}}}
 
{{!}}-
 
}}
 
{{#if:{{{cousins<includeonly>|</includeonly>}}}|
 
! Cousins
 
{{!}} {{{cousins}}}
 
{{!}}-
 
}}
 
{{#if:{{{nephews<includeonly>|</includeonly>}}}|
 
! Nephews
 
{{!}} {{{nephews}}}
 
{{!}}-
 
}}
 
{{#if:{{{nieces<includeonly>|</includeonly>}}}|
 
! Nieces
 
{{!}} {{{nieces}}}
 
{{!}}-
 
}}
 
{{#if:{{{relatives<includeonly>|</includeonly>}}}|
 
! Other relatives
 
{{!}} {{{relatives}}}
 
{{!}}-
 
}}
 
{{#if:{{{romances<includeonly>|</includeonly>}}}|
 
! Romances
 
{{!}} {{{romances}}}
 
{{!}}-
 
}}
 
{{!}}}
 
}}
 
|}<noinclude>{{template doc}}</noinclude>
 

Revision as of 03:59, 5 October 2011

Script error: No such module "If empty".
{{{series}}} character
{{{image}}}
{{{caption}}}
First appearance {{{first}}}
Last appearance {{{last}}}
Duration {{{duration}}}
Cause/reason {{{cause}}}
Created by {{{creator}}}
Portrayed by {{{portrayer}}}
{{{lbl1}}} {{{data1}}}
{{{lbl2}}} {{{data2}}}
Script error: No such module "If empty".
Nickname(s){{{nickname}}}
Aliases{{{alias}}}
Gender{{{gender}}}
Occupation{{{occupation}}}
Title{{{title}}}
Residence{{{residence}}}
Religion{{{religion}}}
Nationality{{{nationality}}}
Script error: No such module "If empty".
Parents{{{parents}}}
Sibling(s){{{siblings}}}
Spouse(s){{{spouse}}}
Romances{{{romances}}}
Children{{{children}}}
Grandchildren{{{grandchildren}}}
Grandparents{{{grandparents}}}
Aunts and uncles{{{aunts/uncles}}}
Nieces and nephews{{{nieces/nephews}}}
Cousins{{{cousins}}}
Other relatives{{{relatives}}}
{{{lbl5}}} {{{data5}}}
{{{lbl6}}} {{{data6}}}
{{{lbl7}}} {{{data7}}}

[[Category:Infobox templates|Template:Remove first word]]