Difference between revisions of "AnnotationTable"

From Sega Retro

(Created page with "<includeonly>{| align="{{{align|}}}" style="width:{{{width|}}}px;" | style="text-align:center; vertical-align:middle; height:{{{height|}}}px"|{{{annotations}}}File:{{{image}...")
 
 
(3 intermediate revisions by the same user not shown)
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}}]]
 
|-
 
|-
|{{{descriptions}}}
+
|{{multicol|{{#if:{{#var:A_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=A}} {{#var:A_desc}}{{#vardefine:A_desc|}}</span><br />|}}{{
 +
#if:{{#var:B_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=B}} {{#var:B_desc}}{{#vardefine:B_desc|}}</span><br />|}}{{
 +
#if:{{#var:C_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=C}} {{#var:C_desc}}{{#vardefine:C_desc|}}</span><br />|}}{{
 +
#if:{{#var:D_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=D}} {{#var:D_desc}}{{#vardefine:D_desc|}}</span><br />|}}{{
 +
#if:{{#var:E_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=E}} {{#var:E_desc}}{{#vardefine:E_desc|}}</span><br />|}}{{
 +
#if:{{#var:F_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=F}} {{#var:F_desc}}{{#vardefine:F_desc|}}</span><br />|}}{{
 +
#if:{{#var:G_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=G}} {{#var:G_desc}}{{#vardefine:G_desc|}}</span><br />|}}{{
 +
#if:{{#var:H_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=H}} {{#var:H_desc}}{{#vardefine:H_desc|}}</span><br />|}}{{
 +
#if:{{#var:I_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=I}} {{#var:I_desc}}{{#vardefine:I_desc|}}</span><br />|}}{{
 +
#if:{{#var:J_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=J}} {{#var:J_desc}}{{#vardefine:J_desc|}}</span><br />|}}{{
 +
#if:{{#var:K_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=K}} {{#var:K_desc}}{{#vardefine:K_desc|}}</span><br />|}}{{
 +
#if:{{#var:L_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=L}} {{#var:L_desc}}{{#vardefine:L_desc|}}</span><br />|}}{{
 +
#if:{{#var:M_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=M}} {{#var:M_desc}}{{#vardefine:M_desc|}}</span><br />|}}{{
 +
#if:{{#var:N_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=N}} {{#var:N_desc}}{{#vardefine:N_desc|}}</span><br />|}}{{
 +
#if:{{#var:O_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=O}} {{#var:O_desc}}{{#vardefine:O_desc|}}</span><br />|}}{{
 +
#if:{{#var:P_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=P}} {{#var:P_desc}}{{#vardefine:P_desc|}}</span><br />|}}{{
 +
#if:{{#var:Q_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=Q}} {{#var:Q_desc}}{{#vardefine:Q_desc|}}</span><br />|}}{{
 +
#if:{{#var:R_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=R}} {{#var:R_desc}}{{#vardefine:R_desc|}}</span><br />|}}{{
 +
#if:{{#var:S_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=S}} {{#var:S_desc}}{{#vardefine:S_desc|}}</span><br />|}}{{
 +
#if:{{#var:T_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=T}} {{#var:T_desc}}{{#vardefine:T_desc|}}</span><br />|}}{{
 +
#if:{{#var:U_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=U}} {{#var:U_desc}}{{#vardefine:U_desc|}}</span><br />|}}{{
 +
#if:{{#var:V_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=V}} {{#var:V_desc}}{{#vardefine:V_desc|}}</span><br />|}}{{
 +
#if:{{#var:W_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=W}} {{#var:W_desc}}{{#vardefine:W_desc|}}</span><br />|}}{{
 +
#if:{{#var:X_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=X}} {{#var:X_desc}}{{#vardefine:X_desc|}}</span><br />|}}{{
 +
#if:{{#var:Y_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=Y}} {{#var:Y_desc}}{{#vardefine:Y_desc|}}</span><br />|}}{{
 +
#if:{{#var:Z_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=Z}} {{#var:Z_desc}}{{#vardefine:Z_desc|}}</span><br />|}}{{
 +
#if:{{#var:1_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=1}} {{#var:1_desc}}{{#vardefine:1_desc|}}</span><br />|}}{{
 +
#if:{{#var:2_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=2}} {{#var:2_desc}}{{#vardefine:2_desc|}}</span><br />|}}{{
 +
#if:{{#var:3_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=3}} {{#var:3_desc}}{{#vardefine:3_desc|}}</span><br />|}}{{
 +
#if:{{#var:4_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=4}} {{#var:4_desc}}{{#vardefine:4_desc|}}</span><br />|}}{{
 +
#if:{{#var:5_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=5}} {{#var:5_desc}}{{#vardefine:5_desc|}}</span><br />|}}{{
 +
#if:{{#var:6_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=6}} {{#var:6_desc}}{{#vardefine:6_desc|}}</span><br />|}}{{
 +
#if:{{#var:7_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=7}} {{#var:7_desc}}{{#vardefine:7_desc|}}</span><br />|}}{{
 +
#if:{{#var:8_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=8}} {{#var:8_desc}}{{#vardefine:8_desc|}}</span><br />|}}{{
 +
#if:{{#var:9_desc}}|<span style="vertical-align:middle;">{{AnnotationTitle|size=20|title=9}} {{#var:9_desc}}{{#vardefine:9_desc|}}</span><br />|}}}}
 
|}</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}}{{Annotation|x1=-50|y1=200|x2=16|y2=200|colour=#FFF|title=B}}{{Annotation|x1=290|y1=32|x2=380|y2=32|colour=#FFF|title=C|reverse=true}}{{Annotation|x1=310|y1=200|x2=380|y2=200|colour=#FFF|title=D|reverse=true}}{{Annotation|x1=244|y1=210|x2=244|y2=240|colour=#FFF|title=E|reverse=true}}
+
| annotations={{Annotation|x1=-50|y1=32|x2=16|y2=32|colour=#FFF|title=A|desc=Health}}{{
| descriptions={{AnnotationTitle|size=20|title=A}} Health<br/>
+
Annotation|x1=-50|y1=200|x2=16|y2=200|colour=#FFF|title=B|desc=Lives}}{{
{{AnnotationTitle|size=20|title=B}} Lives<br/>
+
Annotation|x1=290|y1=32|x2=380|y2=32|colour=#FFF|title=C|reverse=true|desc=Score}}{{
{{AnnotationTitle|size=20|title=C}} Score<br/>
+
Annotation|x1=310|y1=200|x2=380|y2=200|colour=#FFF|title=D|reverse=true|desc=Apples}}{{
{{AnnotationTitle|size=20|title=D}} Apples<br/>
+
Annotation|x1=244|y1=210|x2=244|y2=240|colour=#FFF|title=E|reverse=true|desc=I forget what this is}}
{{AnnotationTitle|size=20|title=E}} I forget what this is<br/>
 
 
}}
 
}}
[[Category:Sega Retro templates]]
+
{{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:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:52, 1 January 2022

ABCDEAladdin MD Desert.png
A Health
B Lives
C Score
D Apples
E I forget what this is
123456Megadrive2e.jpg
1 Cartridge slot
2 Power button
3 Reset button
4 Power LED indicator
5 Controller port 1
6 Controller port 2