Wikia

Harry Potter Wiki

Changes: Template:Family infobox

View source

Back to page

m (Protected "Template:Family infobox": Excessive vandalism ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(updating)
 
Line 1: Line 1:
<div style="float:right; margin:0 0 .5em 1em; width:250px;">
+
<div id="Family_infobox" class="infobox hidable" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; width:250px; background:#fff; border-collapse:collapse; font-size:smaller; line-height:1.5;">
+
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px"
<tr style="text-align:center; background:#f0f0f0;">
+
|-
<td colspan="2" style="padding:0; background:#321; color:#fff;">{{{image|}}}</td>
+
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|321}}|background: #{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|321}}|background: #321}}}}" | {{{image|}}}
</tr><tr style="color:#fff; background:#321; font-size:larger;">
+
|-
<th colspan="2">{{{name}}}</th>
+
! class="infoboxheading" colspan="2" style="{{#if:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|321}}|background: #{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|321}}|background: #321}}; {{{css|}}}" | {{{{{{2|name}}}}}}
</tr> {{t|1=|1{{{hideh|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#654;">'''Family heritage'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">'''Blood status'''</td><td class="infoboxcell" style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">
+
{{#if:{{{hideh|}}}|{{!}}-|{{!}}-
  +
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{bgcolor2|}}}|{{{bgcolor2}}}|654}}" {{!}} '''Family&nbsp;heritage'''}}
  +
{{#if:{{{blood|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Blood&nbsp;status
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{blood|}}}
 
{{{blood|}}}
</td></tr>|1{{{blood|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">'''Notable family members'''</td><td class="infoboxcell" style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">
+
{{!}}-
  +
|}}{{#if:{{{family members|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Notable&nbsp;family&nbsp;members
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{family members|}}}
 
{{{family members|}}}
</td></tr>|1{{{family members|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">'''Status'''</td><td class="infoboxcell" style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">
+
{{!}}-
  +
|}}{{#if:{{{status|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Status
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{status|}}}
 
{{{status|}}}
</td></tr>|1{{{status|}}}=}}{{t|1=|1{{{hider|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#654;">'''Relationships'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">'''Related families'''</td><td class="infoboxcell" style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">
+
{{!}}-
  +
|}}{{#if:{{{hider|}}}|{{!}}-|{{!}}-
  +
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{bgcolor2|}}}|{{{bgcolor2}}}|654}}" {{!}} '''Relationships'''}}
  +
{{#if:{{{related|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Related&nbsp;families
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{related|}}}
 
{{{related|}}}
</td></tr>|1{{{related|}}}=}} {{t|1=|1{{{hidef|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#654;">'''Affiliation'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">'''House(s)'''</td><td class="infoboxcell" style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">
+
{{!}}-
  +
|}}{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
  +
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{bgcolor2|}}}|{{{bgcolor2}}}|654}}" {{!}} '''Affiliation'''}}
  +
{{#if:{{{house|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} House(s)
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{house|}}}
 
{{{house|}}}
</td></tr>|1{{{house|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">'''Loyalty'''</td><td class="infoboxcell" style="border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;">
+
{{!}}-
  +
|}}{{#if:{{{loyalty|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Loyalty
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{loyalty|}}}
 
{{{loyalty|}}}
</td></tr>|1{{{loyalty|}}}=}}<tr colspan="2" style="background:#321;"><td colspan="2" style="font-size:.01em; color:#321">.</td></tr></table>{{rb|#321}}</div>
+
{{!}}-
  +
|}}
  +
|}
  +
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|321}}|background: #{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|321}}|background: #321}}"><span class="hidable-button"></span>[[{{{srclink|Template:Family infobox}}}|[Source]]]</div>
  +
{{#if:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|321}}|{{rb|#{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|321}}}}|{{rb|#321}}}}</div>
 
<noinclude>
 
<noinclude>
 
==Clean template==
 
==Clean template==

Latest revision as of 17:00, September 11, 2010

{{{name}}}
Family heritage
Relationships
Affiliation

Clean templateEdit

{{Family infobox
|image=
|name=
|hideh=
|blood=
|family members=
|status=
|hider=
|related=
|hidea=
|house=
|loyalty=
}}

Around Wikia's network

Random Wiki