From Wikipedia, the free encyclopedia
|
This template employs some extremely complicated or esoteric features of template syntax.
Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space. |
Parameter |
Required? |
Default |
Remark / Example |
header |
optional |
|
Row/Border disappears if missing |
image_left |
required |
|
Image:2003 Sacagawea Obv.png
Do not put sqaure bracket [[ ]]. Do not put "|100px" here. |
image_right |
required |
|
width_left |
recommended |
|
Recommended because it can prevent lengthy text to inadvertently enlarge the box. See examples below for the reason why we need 2 instances of width. Just an integer, not "100px" |
width_right |
recommended |
|
caption_left |
optional |
|
Row/Border disappears if both missing |
caption_right |
optional |
|
footer |
optional |
|
position |
optional |
(none) |
left or right |
margin |
optional |
4(px) |
Just put an integer, not "4px", not "4em" |
background |
optional |
(none) |
#CCCCFF (please don't put quotation mark) |
[edit] Examples
[edit] Parameters fully utilized (except backgroud)
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{Coin image box 2 singles
| header = 1 peseta 1998
| image_left = Image:1peseta1998front.jpg
| image_right= Image:1peseta1998back.jpg
| caption_left = [[List of Spanish monarchs|King]] [[Juan Carlos I of Spain|Juan Carlos I]]
| caption_right = [[Coat of arms of Spain|Coat of arms]]
| width_left = 88
| width_right = 88
| footer = footer text here
| position = right
| margin = 0
}}
{{lorem ipsum}}
|
[edit] Extreme margin, no footer, background
Extreme margin |
|
O: Head of Mars with Corinthian helmet left |
R: Horse head right, grain ear behind |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{Coin image box 2 singles
| header = Extreme margin
| image_left = Image:Crawford 13-1 Obverse.jpg
| image_right= Image:Crawford 13-1 Reverse.jpg
| caption_left = [[Obverse and reverse|'''O: ''']] Head of Mars with Corinthian helmet left
| caption_right = [[Obverse and reverse|'''R: ''']] Horse head right, grain ear behind
| width_left = 100
| width_right = 100
| position = left
| margin = 20
| background = #CCCCFF
}}
{{lorem ipsum}}
|
[edit] No margin specified (default = 4), no position, different width
|
Almost like the built in thumb. Maltese 50 euro cent. |
Different widths are required in this case because the right image is the width of the coin while the left image has extra white space. The image with more white space requires a larger width to make the coin diameters look identical in size. It is best demonstrated by "selecting all" (Ctrl-A on most Windows browsers, and apple-A on Mac). This width must be computed with the aid of image processing software to measure the amount of white space.
{{Coin image box 2 singles
| image_left= Image:Eurocoin design malta coat of arms.png
| image_right = Image:50c comm.png
| width_left = 107
| width_right = 100
| footer = Almost like the built in thumb. Maltese 50 euro cent.
}}
[edit] See also