Difference between revisions of "Template:Infobox soap character 2"
Jump to navigation
Jump to search
Template documentation[create]
imported>Nk3play2 |
imported>Frietjes (rewrite code to use template:infobox, should have near zero impact on usage or appearance, but dramatic reduction in the code complexity here) |
||
| Line 1: | Line 1: | ||
| − | {| | + | {{infobox |
| − | + | | bodystyle = width: 22em; text-align: left; font-size: 89%; line-height: 1.5em | |
| − | | | + | |
| − | {{#if:{{{image1<includeonly>|</includeonly>}}}| | + | | aboveclass = navbox-title |
| − | {{ | + | | abovestyle = {{#if:{{{color|{{{colour|}}}}}}|background-color: {{{color|{{{colour}}}}}};}} font-size: 125% |
| − | + | | above = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}} | |
| − | + | | image = {{#if:{{{image1<includeonly>|</includeonly>}}}| [[{{{image1}}}|240px]] }} | |
| − | {{ | + | | caption = {{{caption1<includeonly>|</includeonly>}}} |
| − | + | | image2 = {{{image<includeonly>|</includeonly>}}} | |
| − | }} | + | | caption2 = {{{caption<includeonly>|</includeonly>}}} |
| − | + | ||
| − | {{#if:{{{ | + | | headerstyle = {{#if:{{{color|{{{colour|}}}}}}|background-color: {{{color|{{{colour}}}}}};}} |
| − | + | ||
| − | + | | class1 = navbox-title | |
| − | {{#if:{{{ | + | | header1 = {{#if:{{{series<includeonly>|</includeonly>}}}|''{{{series}}}'' character}} |
| − | + | ||
| − | + | | label2 = Portrayed by | |
| − | + | | data2 = {{{portrayer<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label3 = {{Nowrap|Created by}} | |
| − | + | | data3 = {{{creator<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | }} | + | | label4 = {{Nowrap|Introduced by}} |
| − | | | + | | data4 = {{{introducer<includeonly>|</includeonly>}}} |
| − | + | ||
| − | + | | label5 = Duration | |
| − | {{ | + | | data5 = {{{years<includeonly>|</includeonly>}}} |
| − | + | ||
| − | }} | + | | label6 = {{Nowrap|First appearance}} |
| − | {{ | + | | data6 = {{{first<includeonly>|</includeonly>}}} |
| − | + | ||
| − | {{ | + | | label7 = {{Nowrap|Last appearance}} |
| − | + | | data7 = {{{last<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | {{ | + | | label8 = {{Nowrap|Appears on}} |
| − | + | | data8 = {{{appeared<includeonly>|</includeonly>}}} | |
| − | {{ | + | |
| − | {{ | + | | label9 = {{Nowrap|Appears in}} |
| − | }} | + | | data9 = {{{only<includeonly>|</includeonly>}}} |
| − | {{ | + | |
| − | + | | label10 = Classification | |
| − | {{ | + | | data10 = {{{classification<includeonly>|</includeonly>}}} |
| − | {{ | + | |
| − | } | + | | label11 = {{Nowrap|Book appearances}} |
| − | {{ | + | | data11 = {{{books<includeonly>|</includeonly>}}} |
| − | + | ||
| − | + | | label12 = {{Nowrap|Spin-off appearances}} | |
| − | {{ | + | | data12 = {{{spinoffs<includeonly>|</includeonly>}}} |
| − | }} | + | |
| − | {{ | + | | class15 = navbox-title |
| − | + | | header15 = {{#if:{{{alias|}}}{{{species|}}}{{{breed|}}}{{{born|}}}{{{death|}}}{{{home|}}}{{{occupation<includeonly>|</includeonly>}}}| Profile }} | |
| − | {{ | + | |
| − | {{ | + | | label16 = Alias |
| − | }} | + | | data16 = {{{alias<includeonly>|</includeonly>}}} |
| − | {{ | + | |
| − | + | | label17 = Species | |
| − | {{ | + | | data17 = {{{species<includeonly>|</includeonly>}}} |
| − | + | ||
| − | + | | label18 = Breed | |
| − | {{# | + | | data18 = {{{breed<includeonly>|</includeonly>}}} |
| − | + | ||
| − | {{ | + | | label19 = {{Nowrap|Date of birth}} |
| − | + | | data19 = {{{born<includeonly>|</includeonly>}}} | |
| − | }} | + | |
| − | + | | label20 = Date of death | |
| − | + | | data20 = {{{death<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label21 = Home | |
| − | + | | data21 = {{#ifeq: {{{series}}} | EastEnders | | {{{home<includeonly>|</includeonly>}}} }} | |
| − | {{#if:{{{ | + | |
| − | + | | label22 = Residence | |
| − | {{ | + | | data22 = {{#ifeq: {{{series}}} | EastEnders | | {{{residence<includeonly>|</includeonly>}}} }} |
| − | {{ | + | |
| − | }} | + | | label23 = Occupation |
| − | {{ | + | | data23 = {{{occupation<includeonly>|</includeonly>}}} |
| − | + | ||
| − | {{ | + | | class25 = navbox-title |
| − | + | | header25 = {{#if:{{{image2<includeonly>|</includeonly>}}}{{{image3|}}} | |
| − | }} | + | |{{infobox|child=yes |
| − | {{#if:{{{ | + | | title = Alternative image(s) |
| − | + | | image = {{{image2<includeonly>|</includeonly>}}} | |
| − | {{ | + | | caption = {{{caption2<includeonly>|</includeonly>}}}| |
| − | } | + | | image2 = {{{image3<includeonly>|</includeonly>}}}| |
| − | + | | caption2 = {{{caption3<includeonly>|</includeonly>}}} | |
| − | + | }} | |
| − | {{ | + | }} |
| − | {{ | + | |
| − | + | | belowstyle = font-size: 100%; | |
| − | {{ | + | | below = {{#if:{{{family|}}}{{{owner|}}}{{{wife|}}}{{{husband|}}}{{{civilpartner|}}}{{{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<includeonly>|</includeonly>}}} |
| − | + | |{{infobox | |
| − | {{ | + | |bodyclass = collapsible collapsed |
| − | {{ | + | |bodystyle=width:100%; font-size: 100%; line-height: 1.5em; border-collapse: collapse; border: 0; margin:0; clear:none; float:none; |
| − | } | + | |aboveclass = navbox-title |
| − | {{ | + | |abovestyle = {{#if:{{{color|{{{colour|}}}}}}|background-color: {{{color|{{{colour}}}}}};}} font-size: 100%; |
| − | + | ||
| − | {{ | + | |above = Family |
| − | {{ | + | |
| − | } | + | | label1 = Family |
| − | {{ | + | | data1 = {{{family<includeonly>|</includeonly>}}} |
| − | + | ||
| − | + | | label2 = Owner(s) | |
| − | {{ | + | | data2 = {{{owner<includeonly>|</includeonly>}}} |
| − | + | ||
| − | + | | label3 = Husband | |
| − | + | | data3 = {{{husband<includeonly>|</includeonly>}}} | |
| − | {{ | + | |
| − | + | | label4 = Wife | |
| − | + | | data4 = {{{wife<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label5 = Civil partner | |
| − | {{ | + | | data5 = {{{civilpartner<includeonly>|</includeonly>}}} |
| − | + | ||
| − | + | | label6 = Father | |
| − | + | | data6 = {{{father<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | {{ | + | | label7 = Mother |
| − | + | | data7 = {{{mother<includeonly>|</includeonly>}}} | |
| − | } | + | |
| − | }} | + | | label8 = {{Nowrap|Adoptive father}} |
| − | {{ | + | | data8 = {{{adoptivefather<includeonly>|</includeonly>}}} |
| − | + | ||
| − | + | | label9 = {{Nowrap|Adoptive mother}} | |
| − | + | | data9 = {{{adoptivemother<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | {{ | + | | label10 = Stepfather |
| − | + | | data10 = {{{stepfather<includeonly>|</includeonly>}}} | |
| − | {{ | + | |
| − | {{ | + | | label11 = Stepmother |
| − | + | | data11 = {{{stepmother<includeonly>|</includeonly>}}} | |
| − | {{ | + | |
| − | {{ | + | | label12 = Brothers |
| − | + | | data12 = {{{brothers<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label13 = Sisters | |
| − | + | | data13 = {{{sisters<includeonly>|</includeonly>}}} | |
| − | {{ | + | |
| − | + | | label14 = {{Nowrap|Half brothers}} | |
| − | + | | data14 = {{{halfbrothers<includeonly>|</includeonly>}}} | |
| − | {{ | + | |
| − | {{ | + | | label15 = {{Nowrap|Half sisters}} |
| − | }} | + | | data15 = {{{halfsisters<includeonly>|</includeonly>}}} |
| − | + | ||
| − | {{ | + | | label16 = Sons |
| − | + | | data16 = {{{sons<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label17 = Daughters | |
| − | + | | data17 = {{{daughters<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label18 = {{Nowrap|Adoptive sons}} | |
| − | + | | data18 = {{{adoptivesons<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label19 = {{Nowrap|Adoptive daughters}} | |
| − | + | | data19 = {{{adoptivedaughters<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label20 = Stepsons | |
| − | + | | data20 = {{{stepsons<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label21 = Stepdaughters | |
| − | + | | data21 = {{{stepdaughters<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label22 = Grandsons | |
| − | + | | data22 = {{{grandsons<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label23 = Granddaughters | |
| − | + | | data23 = {{{granddaughters<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label24 = Grandfathers | |
| − | + | | data24 = {{{grandfathers<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label25 = Grandmothers | |
| − | + | | data25 = {{{grandmothers<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label26 = Uncles | |
| − | + | | data26 = {{{uncles<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label27 = Aunts | |
| − | + | | data27 = {{{aunts<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label28 = Cousins | |
| − | + | | data28 = {{{cousins<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label29 = Nephews | |
| − | + | | data29 = {{{nephews<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label30 = Nieces | |
| − | + | | data30 = {{{nieces<includeonly>|</includeonly>}}} | |
| − | + | ||
| − | + | | label31 = {{Nowrap|Other relatives}} | |
| − | + | | data31 = {{{relatives<includeonly>|</includeonly>}}} | |
| − | + | }} | |
| − | + | }} | |
| − | + | }}<noinclude>{{documentation}}</noinclude> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | |||
| − | |||
Revision as of 19:36, 20 November 2012
| {{{name}}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [[{{{image1}}}|240px]] {{{caption1}}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{{image}}} {{{caption}}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{{series}}} character | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Portrayed by | {{{portrayer}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Created by | {{{creator}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Introduced by | {{{introducer}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Duration | {{{years}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| First appearance | {{{first}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Last appearance | {{{last}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Appears on | {{{appeared}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Appears in | {{{only}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Classification | {{{classification}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Book appearances | {{{books}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Spin-off appearances | {{{spinoffs}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Profile | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alias | {{{alias}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Species | {{{species}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Breed | {{{breed}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Date of birth | {{{born}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Date of death | {{{death}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home | {{{home}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Residence | {{{residence}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Occupation | {{{occupation}}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alternative image(s) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{{image2}}} {{{caption2}}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{{image3}}} {{{caption3}}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| [[Category:Infobox templates|Template:Remove first word]] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[[Category:Infobox templates|Template:Remove first word]]
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |