Difference between revisions of "Template:Disambigentry"

From Legion Wiki
Jump to navigationJump to search
m
m
Line 14: Line 14:
 
{{!}}[[File:{{{prebootimage}}}|160x300px|center|link={{{prebootlink|{{{prebootname}}}}}}|Preboot {{{prebootname}}}]]}}
 
{{!}}[[File:{{{prebootimage}}}|160x300px|center|link={{{prebootlink|{{{prebootname}}}}}}|Preboot {{{prebootname}}}]]}}
 
{{!}}}
 
{{!}}}
}}
+
}}{{#if:{{{prebootname5yl|}}}|
{{#if:{{{prebootname5yl|}}}|
 
 
{{!}}class="preboot_5yl_heading" style="width:15em"{{!}}
 
{{!}}class="preboot_5yl_heading" style="width:15em"{{!}}
 
{{{!}}align=center style="text-align:center;border:0px;background:none"
 
{{{!}}align=center style="text-align:center;border:0px;background:none"
Line 27: Line 26:
 
{{!}}[[File:{{{prebootimage5yl}}}|160x300px|center|link={{{prebootlink5yl|{{{prebootname5yl}}}}}}|Preboot {{{prebootname5yl}}}]]}}
 
{{!}}[[File:{{{prebootimage5yl}}}|160x300px|center|link={{{prebootlink5yl|{{{prebootname5yl}}}}}}|Preboot {{{prebootname5yl}}}]]}}
 
{{!}}}
 
{{!}}}
}}
+
}}{{#if:{{{rebootname|}}}|
{{#if:{{{rebootname|}}}|
 
 
{{!}}class="reboot_heading" style="width:15em"{{!}}
 
{{!}}class="reboot_heading" style="width:15em"{{!}}
 
{{{!}}align=center style="text-align:center;border:0px;background:none"
 
{{{!}}align=center style="text-align:center;border:0px;background:none"
Line 40: Line 38:
 
{{!}}[[File:{{{rebootimage}}}|160x300px|center|link={{{rebootlink|{{{rebootname}}}}}}|Reboot {{{rebootname}}}]]}}
 
{{!}}[[File:{{{rebootimage}}}|160x300px|center|link={{{rebootlink|{{{rebootname}}}}}}|Reboot {{{rebootname}}}]]}}
 
{{!}}}
 
{{!}}}
}}
+
}}{{#if:{{{rebootname2|}}}|
{{#if:{{{rebootname2|}}}|
 
 
{{!}}class="reboot_heading" style="width:15em"{{!}}
 
{{!}}class="reboot_heading" style="width:15em"{{!}}
 
{{{!}}align=center style="text-align:center;border:0px;background:none"
 
{{{!}}align=center style="text-align:center;border:0px;background:none"
Line 53: Line 50:
 
{{!}}[[File:{{{rebootimage2}}}|160x300px|center|link={{{rebootlink2|{{{rebootname2}}}}}}|Reboot {{{rebootname2}}}]]}}
 
{{!}}[[File:{{{rebootimage2}}}|160x300px|center|link={{{rebootlink2|{{{rebootname2}}}}}}|Reboot {{{rebootname2}}}]]}}
 
{{!}}}
 
{{!}}}
}}
+
}}{{#if:{{{threebootname|}}}|
{{#if:{{{threebootname|}}}|
 
 
{{!}}class="threeboot_heading" style="width:15em"{{!}}
 
{{!}}class="threeboot_heading" style="width:15em"{{!}}
 
{{{!}}align=center style="text-align:center;border:0px;background:none"
 
{{{!}}align=center style="text-align:center;border:0px;background:none"
Line 67: Line 63:
 
{{!}}[[File:{{{threebootimage}}}|160x300px|center|link={{{threebootlink|{{{threebootname}}}}}}|Threeboot {{{threebootname}}}]]}}
 
{{!}}[[File:{{{threebootimage}}}|160x300px|center|link={{{threebootlink|{{{threebootname}}}}}}|Threeboot {{{threebootname}}}]]}}
 
{{!}}}
 
{{!}}}
}}
+
}}{{#if:{{{cartoonname|{{{televisionname|}}}}}}|
{{#if:{{{cartoonname|{{{televisionname|}}}}}}|
 
 
{{!}}class="cartoon_heading" style="width:15em"{{!}}
 
{{!}}class="cartoon_heading" style="width:15em"{{!}}
 
{{{!}}align=center style="text-align:center;border:0px;background:none"
 
{{{!}}align=center style="text-align:center;border:0px;background:none"

Revision as of 13:32, 4 November 2012

(Transcluded documentation: view)

Currently, this only covers the three main comic continuity families. Elseworlds and TV will be added at a later date.

Variables

{{Disambigentry
|prebootname=
|prebootlink=
|prebootalias=
|prebootimage=
|rebootname=
|rebootlink=
|rebootalias=
|rebootimage=
|threebootname=
|threebootlink=
|threebootalias=
|threebootimage=
}}

Example

{{Disambigentry
|prebootname=Cosmic Boy
|prebootlink=Cosmic Boy/Preboot
|prebootalias=Polestar
|prebootimage=FinalCrisisLOTW3Solicit.jpg
|rebootname=Cosmic Boy
|rebootlink=Cosmic Boy/Reboot
|rebootimage=CosmicBoy.jpg
|threebootname=Cosmic Boy
|threebootlink=Cosmic Boy/Threeboot
|threebootimage=Cosmic_Boy_P-IC_01.jpg
}}

gives


Cosmic Boy
Preboot
a.k.a., Polestar
Preboot Cosmic Boy
|class="reboot_heading" style="width:15em"|
Cosmic Boy
Reboot
Reboot Cosmic Boy
|class="threeboot_heading" style="width:15em"|
Cosmic Boy


Threeboot

Threeboot Cosmic Boy