Difference between revisions of "Template:Userbox-4"
Jump to navigation
Jump to search
(trying to allow for spacing between images...) |
(never mind) |
||
| (20 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <div style="float:{{{float|left}}}; border:{{{9|{{{border-s|1}}}}}}px solid {{{1|{{{border-c|{{{id1-c|# | + | <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|# | + | {|cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#ffffff}}}}}}}}};" |
| − | |style="width:45px; height:50px; background:{{{1|{{{id1-c|# | + | |style="width:45px; height:50px; background:{{{1|{{{id1-c|#ffffff}}}}}}" | [[{{{image1a}}}{{!}}{{{image1absize}}}px]][[{{{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|# | + | |style="width:45px; height:50px; background:{{{1|{{{id1-c|#ffffff}}}}}}" | [[{{{image2a}}}{{!}}{{{image2absize}}}px]][[{{{image2b}}}{{!}}{{{image2absize}}}px]] |
|} | |} | ||
</div> | </div> | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | <noinclude> | ||
| + | How to use the template: | ||
| + | |||
| + | <pre style="width:40em"> | ||
| + | {{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) | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | ==See also== | ||
| + | *[[Template:Userbox]] | ||
| + | *[[Template:Userbox-r]] | ||
| + | *[[Template:Userbox-2]] | ||
| + | </noinclude> | ||
Latest revision as of 16:21, 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)
}}