Difference between revisions of "User:SuperHamster/Sandbox/Magenta"
From Nookipedia, the Animal Crossing wiki
< User:SuperHamster | Sandbox
SuperHamster (talk | contribs) (Rm max width) Tags: mobile edit mobile web edit |
SuperHamster (talk | contribs) (Height and width adjustments) |
||
Line 1: | Line 1: | ||
<div style="vertical-align: top; background: #{{{primarycolor|b3b3b3}}}; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #{{{bordercolor|4d4d4d}}}; max-width: 700px; padding: 2px; {{#if:{{{minwidth|}}}|min-width: {{{minwidth}}}}};"> | <div style="vertical-align: top; background: #{{{primarycolor|b3b3b3}}}; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #{{{bordercolor|4d4d4d}}}; max-width: 700px; padding: 2px; {{#if:{{{minwidth|}}}|min-width: {{{minwidth}}}}};"> | ||
<div class="flex-container"> | <div class="flex-container"> | ||
− | <div class="flex-item" style="background: #ffffff; {{roundy|9px}}; text-align: center; padding: 10px;"> | + | <div class="flex-item" style="background: #ffffff; {{roundy|9px}}; text-align: center; padding: 10px; max-width: 250px;"> |
{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|200px}}}]]|Have an image of this boxart?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}<br>{{#if:{{{image2|}}}|[[File:{{{image}}}|{{{imagesize|200px}}}]]|}}{{#if:{{{caption2|}}}|<br>{{{caption}}}}} | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|200px}}}]]|Have an image of this boxart?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}<br>{{#if:{{{image2|}}}|[[File:{{{image}}}|{{{imagesize|200px}}}]]|}}{{#if:{{{caption2|}}}|<br>{{{caption}}}}} | ||
</div> | </div> | ||
<div class="flex-item"> | <div class="flex-item"> | ||
− | {| style="width: 100%;" | | + | {| style="display: inline-table; width: 100%; height: 100%;" | |
|- | |- | ||
! width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytl|9px}}; text-align:center;" | {{{label}}} | ! width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytl|9px}}; text-align:center;" | {{{label}}} |
Revision as of 07:06, May 17, 2020
Have an image of this boxart?
Then please upload it!
{{{label}}} |
---|
Usage
This is a very complex template that has been designed to accommodate multiple different use cases for infoboxes. Please see the below for the full list of parameters.
{{Infobox |bordercolor = |primarycolor = |secondarycolor = |title = |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 = }}