User:Scott Davidson/Infobox: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Custom Infobox)
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
I think this is what is meant by creating a sub-page to my user page. Please get in touch asap if it isn't!
<includeonly><div id="infobox-exterior">
 
{| class="infobox-interior"   
{| class="infobox" border="1;" cellpadding="3;" cellspacing="0;" style="font-size:90%; width:300px; margin-left:1px; margin-bottom:1px; vertical-align: top; letter-spacing:0px; line-height: 1.25em; background-color: white;"
|-
|-
! class="info_title" colspan="2" style="background-color:#0099FF; color: black; padding:1em; font-size:150%;" | {{{name (Leave Blank)|{{PAGENAME}}}}}
! colspan="3" class=wh style="font-size:150%"| {{PAGENAME}}
|- style="text-align:center; font-style:italic;"
|{{#if: {{{image|}}} |
{{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|300}}}px|{{{imagecaption|}}}]]
| }}
|-
|-
! colspan="2" style="background: #{{#if:{{{bgcolor2|}}}|{{{bgcolor2}}}|66CCFF}}" | CCFF}}" | <div class="wikia-infobox-section-header">Physical Informa</div>
{{#if:{{{image|}}}|{{!}}class="info-both" colspan="2"{{!}}{{infobox image|{{{image}}}|{{#if:{{{caption|}}}|{{{caption}}}|}}}}}}
|-
|-
!Name
! colspan="3" class=info-both | Biographical Information
|{{{name|{{PAGENAME}} }}}
|-
|-
|{{#if: {{{born|}}}
{{#if:{{{name|}}}|{{!}}class="info-left"{{!}}Full Name:}}
| !Born
{{#if:{{{name|}}}|{{!}}class="info-right"{{!}}{{{name}}}}}
{{!}} {{{born}}}
}}
|-
|-
! colspan="2" style="background: #{{#if:{{{bgcolor2|}}}|{{{bgcolor2}}}|66CCFF}}" | lor2}}}|66CCFF}}" | <div class="wikia-infobox-section-header">Occupation</div>
{{#if:{{{main_aliases|}}}|{{!}}class="info-left"{{!}}Main Aliases:}}
{{#if:{{{main_aliases|}}}|{{!}}class="info-right"{{!}}{{{main_aliases}}}}}
|-
|-
|{{#if: {{{Notable Works|}}}
{{#if:{{{born|}}}|{{!}}class="info-left"{{!}}Born:}}
| !Notable Works
{{#if:{{{born|}}}|{{!}}class="info-right"{{!}}{{{born}}}}}
{{!}} {{{Notable Works}}}
}}
|-
|-
|{{#if: {{{title|}}}
! colspan="3" class=info-both | Doctor Who Related
| !Title
{{!}} {{{title}}}
}}
|-
|-
{{#if:{{{roles|}}}|{{!}}class="info-left"{{!}}Roles:}}
{{#if:{{{roles|}}}|{{!}}class="info-right"{{!}}{{{roles}}}}}
|-
|-
! colspan="2" style="background: #{{#if:{{{bgcolor2|}}}|{{{bgcolor2}}}|66CCFF}}" | 2|}}}|{{{bgcolor2}}}|66CCFF}}" | <div class="wikia-infobox-section
{{#if:{{{fav doctor|}}}|{{!}}class="info-left"{{!}}Favorite Doctor:}}
{{#if:{{{fav doctor|}}}|{{!}}class="info-right"{{!}}{{{fav doctor}}}}}
|-
|-
|{{#if: {{{spouse|}}}
{{#if:{{{fav episode|}}}|{{!}}class="info-left"{{!}}Favorite episode:}}
| !Spouse
{{#if:{{{fav episode|}}}|{{!}}class="info-right"{{!}}{{{fav episode}}}}}
{{!}} {{{spouse}}}
}}
|-
|-
|{{#if: {{{father|}}}
! colspan="3" class=info-both | Outside of Doctor Who
| !Father
{{!}} {{{father}}}
}}
|-
|-
|{{#if: {{{mother|}}}
{{#if:{{{notable_works|}}}|{{!}}class="info-left"{{!}}Notable Works:}}
| !Mother
{{#if:{{{notable_works|}}}|{{!}}class="info-right"{{!}}{{{notable_works}}}}}
{{!}} {{{mother}}}
}}
|-
|-
|{{#if: {{{siblings|}}}
{{#if:{{{twitter|}}}|{{!}}class="info-left"{{!}}Twitter:}}
| !Siblings
{{#if:{{{twitter|}}}|{{!}}class="info-right"{{!}}{{{twitter}}}}}
{{!}} {{{siblings}}}
}}
|-
|-
|{{#if: {{{children|}}}
{{#if:{{{facebook|}}}|{{!}}class="info-left"{{!}}Facebook:}}
| !Children
{{#if:{{{facebook|}}}|{{!}}class="info-right"{{!}}{{{facebook}}}}}
{{!}} {{{children}}}
|}
}}
</div></includeonly>
|-
|{{#if: {{{other_family|}}}
| !Other
{{!}} {{{other_family}}}
}}
|}<noinclude><br style="clear:both;" />{{documentation}}</noinclude>

Latest revision as of 20:58, 2 July 2014