Difference between revisions of "AnnotationTable"

From Sega Retro

Line 1: Line 1:
 
<includeonly>{| align="{{{align|}}}" style="width:{{{width|}}}px;"
 
<includeonly>{| align="{{{align|}}}" style="width:{{{width|}}}px;"
| style="text-align:center; vertical-align:middle; height:{{{height|}}}px"|{{{annotations}}}[[File:{{{image}}}]]
+
| style="text-align:center; vertical-align:middle; height:{{{height|}}}px"|{{{annotations}}}[[File:{{{image}}}{{#if:{{{imagesize|}}}|{{!}}{{{imagesize}}}px}}]]
 
|-
 
|-
|{{#if:{{#var:A_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=A}} {{#var:A_desc}}</span>|}}{{
+
|{{multicol|{{#if:{{#var:A_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=A}} {{#var:A_desc}}{{#vardefine:A_desc|}}</span>|}}{{
#if:{{#var:B_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=B}} {{#var:B_desc}}</span>|}}{{
+
#if:{{#var:B_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=B}} {{#var:B_desc}}{{#vardefine:B_desc|}}</span>|}}{{
#if:{{#var:C_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=C}} {{#var:C_desc}}</span>|}}{{
+
#if:{{#var:C_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=C}} {{#var:C_desc}}{{#vardefine:C_desc|}}</span>|}}{{
#if:{{#var:D_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=D}} {{#var:D_desc}}</span>|}}{{
+
#if:{{#var:D_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=D}} {{#var:D_desc}}{{#vardefine:D_desc|}}</span>|}}{{
#if:{{#var:E_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=E}} {{#var:E_desc}}</span>|}}{{
+
#if:{{#var:E_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=E}} {{#var:E_desc}}{{#vardefine:E_desc|}}</span>|}}{{
#if:{{#var:F_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=F}} {{#var:F_desc}}</span>|}}
+
#if:{{#var:F_desc}}|<br/><span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=F}} {{#var:F_desc}}{{#vardefine:F_desc|}}</span>|}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{AnnotationTable
 
{{AnnotationTable
 
| width=500
 
| width=500
| height=300
+
| height=320
 
| image=Aladdin MD Desert.png
 
| image=Aladdin MD Desert.png
 
| annotations={{Annotation|x1=-50|y1=32|x2=16|y2=32|colour=#FFF|title=A|desc=Health}}{{
 
| annotations={{Annotation|x1=-50|y1=32|x2=16|y2=32|colour=#FFF|title=A|desc=Health}}{{
Line 18: Line 18:
 
Annotation|x1=310|y1=200|x2=380|y2=200|colour=#FFF|title=D|reverse=true|desc=Apples}}{{
 
Annotation|x1=310|y1=200|x2=380|y2=200|colour=#FFF|title=D|reverse=true|desc=Apples}}{{
 
Annotation|x1=244|y1=210|x2=244|y2=240|colour=#FFF|title=E|reverse=true|desc=I forget what this is}}
 
Annotation|x1=244|y1=210|x2=244|y2=240|colour=#FFF|title=E|reverse=true|desc=I forget what this is}}
 +
}}
 +
{{AnnotationTable
 +
| width=600
 +
| height=480
 +
| image=Megadrive2e.jpg
 +
| imagesize=500
 +
| annotations={{Annotation|x1=-30|y1=95|x2=200|y2=95|colour=#FFF|title=1|desc=Cartridge slot}}{{
 +
Annotation|x1=-30|y1=240|x2=150|y2=240|colour=#FFF|title=2|desc=Power button}}{{
 +
Annotation|x1=360|y1=240|x2=560|y2=240|colour=#FFF|title=3|reverse=true|desc=Reset button}}{{
 +
Annotation|x1=250|y1=240|x2=250|y2=380|colour=#FFF|title=4|reverse=true|desc=Power LED indicator}}{{
 +
Annotation|x1=210|y1=330|x2=210|y2=380|colour=#FFF|title=5|reverse=true|desc=Controller port 1}}{{
 +
Annotation|x1=290|y1=330|x2=290|y2=380|colour=#FFF|title=6|reverse=true|desc=Controller port 2}}
 
}}
 
}}
 
[[Category:Sega Retro templates]]
 
[[Category:Sega Retro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 08:21, 6 May 2018

ABCDEAladdin MD Desert.png
A Health
B Lives
C Score
D Apples
E I forget what this is
123456Megadrive2e.jpg