Difference between revisions of "Template:Critter Info"

From Nookipedia, the Animal Crossing wiki
(Adjust margin)
m (Fixing code for second image)
 
Line 6: Line 6:
 
<div style="display: table; height: 100%; width: 100%;">
 
<div style="display: table; height: 100%; width: 100%;">
 
<div style="display: table-cell; vertical-align: middle;">
 
<div style="display: table-cell; vertical-align: middle;">
{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|200px}}}|{{SUBPAGENAME}}{{#if:{{{crisp|}}}|{{!}}class=sprite}}]]|Have an image of this critter?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}<br>{{#if:{{{image2|}}}|[[File:{{{image}}}|{{{imagesize|200px}}}|{{SUBPAGENAME}}]]|}}{{#if:{{{caption2|}}}|<br>{{{caption2}}}}}
+
{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|200px}}}|{{SUBPAGENAME}}{{#if:{{{crisp|}}}|{{!}}class=sprite}}]]|Have an image of this critter?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}<br>{{#if:{{{image2|}}}|[[File:{{{image2}}}|{{{image2size|200px}}}|{{SUBPAGENAME}}{{#if:{{{crisp2|}}}|{{!}}class=sprite}}]]|}}{{#if:{{{caption2|}}}|<br>{{{caption2}}}}}
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 03:43, December 18, 2023

Have an image of this critter?
Then please upload it!

{{{label}}}

Usage

{{Critter Info
|primarycolor   = 
|secondarycolor = 
|name           = 
|image          =
|caption        =
|image2         =
|caption2       =
|label          = 
|data           = 
|label2         = 
|data2          = 
|label3         = 
|data3          = 
|label4         = 
|data4          = 
|label5         = 
|data5          = 
|label6         = 
|data6          = 
|label7         = 
|data7          = 
|label8         = 
|data8          = 
|label9         = 
|data9          = 
|label10        = 
|data10         = 
|label11        = 
|data11         = 
|labelend       = 
|dataend        = 
}}