Template:Infobox Demo: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
Infobox updated using the portable infobox migration tool
No edit summary
(Infobox updated using the portable infobox migration tool)
 
Line 1: Line 1:
<includeonly><div id="infobox-demo">  
<infobox theme="infobox">
{|  class="infobox-interior"
    <title source="name"><default>''{{dab away|{{PAGENAME}}}}''</default></title>
|-
<image source="image">
! colspan="3" class=wh style="font-size:150%"| {{{name|{{PAGENAME}}}}}
<caption source="caption">
|-
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
{{#if:{{{image|}}}|{{!}}class="info-pic" colspan="2"{{!}}[[file:{{{image}}}]]{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}}}
</caption>
|-
</image>
{{#if:{{{image2|}}}|{{!}}class="info-pic2" colspan="2"{{!}}[[file:{{{image2}}}]]{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}}}
<image source="image2">
|-
<caption source="caption2">
{{#if:{{{timelord|}}}|{{!}}class="info-both" colspan="2"{{!}}{{{timelord}}}{{#if:{{{timelord|}}}|{{#set:Has image=Template:{{{timelord|}}}|}} }}}}
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
|-
</caption>
{{#if:{{{aka|}}}|{{!}}class="info-left"{{!}}Main aliases:}}
</image>
{{#if:{{{aka|}}}|{{!}}class="info-right"{{!}}{{{aka}}}}}
<image source="timelord">
|-
<caption source="caption3">
{{ #if: {{{alias|}}}|{{!}}class="info-left"{{!}}Main aliases:}}
<default>{{#if:{{{timelord|}}}|{{#set:Has image=File:{{{timelord|}}}}}|}}</default>
{{ #if: {{{alias|}}}|{{!}}class="info-right"{{!}}{{{alias}}}}}
</caption>
|-
</image>
{{ #if: {{{type|}}}|{{!}}class="info-left"{{!}}Type:}}
 
{{ #if: {{{type|}}}|{{!}}class="info-right"{{!}}{{{type}}}}}
<!-- Data -->
|-
<data source="aka"><label>Main aliases:</label></data>
{{ #if: {{{origin|}}}|{{!}}class="info-left"{{!}}Place of origin:}}
<data source="alias"><label>Main aliases:</label></data>
{{ #if: {{{origin|}}}|{{!}}class="info-right"{{!}}{{{origin}}}}}
<data source="type"><label>Type:</label></data>
|-
<data source="origin"><label>Place of origin:</label></data>
{{ #if: {{{made by|}}}|{{!}}class="info-left"{{!}}Made by:}}
<data source="made by"><label>Made by:</label></data>
{{ #if: {{{made by|}}}|{{!}}class="info-right"{{!}}{{{made by}}}}}
<data source="used by"><label>Used by:</label></data>
|-
<data source="first"><label>First seen in:</label></data>
{{ #if: {{{used by|}}}|{{!}}class="info-left"{{!}}Used by:}}
<data source="only"><label>Appearance:</label></data>
{{ #if: {{{used by|}}}|{{!}}class="info-right"{{!}}{{{used by}}}}}
<data source="appearances"><label>Appearances:</label></data>
|-
</infobox>
{{ #if: {{{first|}}}|{{!}}class="info-left"{{!}}First seen in:}}
<noinclude>[[category:infoboxes]]{{documentation}}</noinclude>
{{ #if: {{{first|}}}|{{!}}class="info-right"{{!}}''{{dab away|{{{first}}}}}''}}
|-
{{#if:{{{only|}}}|{{!}}class="info-left"{{!}}Appearance:}}
{{#if:{{{only|}}}|{{!}}class="info-right"{{!}}''{{dab away|{{{only}}}}}''}}
|-
{{#if:{{{appearances|}}}|{{!}}class="info-left"{{!}}Appearances:}}
{{#if:{{{appearances|}}}|{{!}}class="info-right"{{!}}{{{appearances}}}}}
|-
|}</div></includeonly><noinclude>{{documentation}}[[Category:Infoboxes|{{PAGENAME}}]]</noinclude>
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.