Difference between revisions of "Template:Userbox-4"
Jump to navigation
Jump to search
(trying to allow for spacing between images...) |
(trying again...) |
||
| Line 1: | Line 1: | ||
<div style="float:{{{float|left}}}; border:{{{9|{{{border-s|1}}}}}}px solid {{{1|{{{border-c|{{{id1-c|#000000}}}}}}}}}; margin: 1px;"> | <div style="float:{{{float|left}}}; border:{{{9|{{{border-s|1}}}}}}px solid {{{1|{{{border-c|{{{id1-c|#000000}}}}}}}}}; margin: 1px;"> | ||
{|cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#ffffff}}}}}}}}};" | {|cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#ffffff}}}}}}}}};" | ||
| − | |style="width:45px; height:50px; background:{{{1|{{{id1-c|#ffffff}}}}}}" | [[{{{image1a}}}{{!}}{{{image1absize}}}px]]{{#if:{{{imagespacing1|}}}|{{!}}colspan="2" style="height: {{{imagespacing1}}}"}}[[{{{image1b}}}{{!}}{{{image1absize}}}px]] | + | |style="width:45px; height:50px; background:{{{1|{{{id1-c|#ffffff}}}}}}" | [[{{{image1a}}}{{!}}{{{image1absize}}}px]]{{#if:{{{imagespacing1|}}}| |
| + | {{!}}colspan="2" style="width:45px; height: {{{imagespacing1}}}; background:{{{1|{{{id1-c|#ffffff}}}}}}"}}[[{{{image1b}}}{{!}}{{{image1absize}}}px]] | ||
|style="font-size: {{{info-s|8}}}pt; color: {{{8|{{{info-fc|black}}}}}}; padding: {{{info-p|4pt}}}; line-height: {{{info-lh|1.25em}}}; {{{info-op|}}}}}}" | {{{4|{{{info|''info''}}}}}} | |style="font-size: {{{info-s|8}}}pt; color: {{{8|{{{info-fc|black}}}}}}; padding: {{{info-p|4pt}}}; line-height: {{{info-lh|1.25em}}}; {{{info-op|}}}}}}" | {{{4|{{{info|''info''}}}}}} | ||
| − | |style="width:45px; height:50px; background:{{{1|{{{id1-c|#ffffff}}}}}}" | [[{{{image2a}}}{{!}}{{{image2absize}}}px]]{{#if:{{{imagespacing2|}}}|{{!}}colspan="2" style="height: {{{imagespacing2}}}"}}[[{{{image2b}}}{{!}}{{{image2absize}}}px]] | + | |style="width:45px; height:50px; background:{{{1|{{{id1-c|#ffffff}}}}}}" | [[{{{image2a}}}{{!}}{{{image2absize}}}px]]{{#if:{{{imagespacing2|}}}| |
| + | {{!}}colspan="2" style="width:45px; height: {{{imagespacing2}}}; background:{{{1|{{{id1-c|#ffffff}}}}}}"}}[[{{{image2b}}}{{!}}{{{image2absize}}}px]] | ||
|} | |} | ||
</div> | </div> | ||
Revision as of 16:10, July 5, 2020
| [[{{{image1a}}}|{{{image1absize}}}px]][[{{{image1b}}}|{{{image1absize}}}px]] | info | [[{{{image2a}}}|{{{image2absize}}}px]][[{{{image2b}}}|{{{image2absize}}}px]] |
How to use the template:
{{Userbox-4
|image1absize=(size in pixels for the two images on the left side)
|image1a=(file title of upper left image)
|image1b=(file title of lower left image)
|image2absize=(size in pixels for the two images on the right side)
|image2a=(file title of upper right image)
|image2b=(file title to lower right image)
|info-c=(color for center cell)
|info-s=(font size for text)
|info=(insert text)
}}