Template:Coin image box 2 singles/doc

Parameter Required? Default Remark / Example
header optional Row/Border disappears if missing
image_left required
Image:2003 Sacagawea Obv.png
Do not put square 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)

Examples

change

Parameters fully utilized (except background)

change
1 Swiss franc 1983
Obverse Reverse
footer text here

Lorem ipsum dolor sit amet, consectetur adipiscing 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 Swiss franc 1983
| image_left = Image:Example.png
| image_right= Image:Example.png
| caption_left = Obverse
| caption_right = Reverse
| width_left = 90
| width_right = 90
| footer = footer text here
| position = right
| margin = 0
}}
{{lorem ipsum}}

Extreme margin, no footer, background

change
Extreme margin
O: Head of Mars with Corinthian helmet left R: Horse head right, grain ear behind

Lorem ipsum dolor sit amet, consectetur adipiscing 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}}

No margin specified (default = 4), no position, different width

change
150 and 100 px

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:Example.png
| image_right = Image:Example.png
| width_left = 150
| width_right = 100
| footer = 150 and 100 px
}}
change