사용자:Adrenalin/틀 작업장/설명문서
이 문서는 사용자:Adrenalin/틀 작업장에 대한 설명입니다. 여기에는 틀 사용법, 분류 등 원래의 사용자 틀 문서에는 포함되지 않는 내용을 담고 있습니다. |
이 틀은 구조가 복잡하고, 많은 기능을 포함하고 있습니다. 틀의 구조를 충분히 이해하기 전까지는 이 틀을 바꾸지 마시고, 편집 후 문제가 생기면 바로 되돌리기 해 주세요. 틀의 시험은 /시험장에서 해볼 수 있습니다. |
사용법[편집]
변수 이름 | 필수 여부 | 기본 | Remark / 예 |
---|---|---|---|
앞면 | 선택 | Row/Border disappears if missing | |
왼쪽그림 | 필수 | Image:2003 Sacagawea Obv.pngDo not put square bracket [[]]. Do not put "|100px" here. | |
오른쪽그림 | 필수 | ||
왼쪽그림너비 | 권장 | 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" | |
오른쪽그림너비 | 권장 | ||
왼쪽그림설명 | 선택 | Row/Border disappears if both missing | |
오른쪽그림설명 | 선택 | ||
뒷면 | 선택 | ||
정렬위치 | 선택 | (none) | left or right |
margin | 선택 | 4(px) | Just put an integer, not "4px", not "4em" |
배경색 | 선택 | (none) | #CCCCFF (please don't put quotation mark) |
Examples[편집]
Parameters fully used (except background)[편집]
틀:Coin image box 2 singles 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 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}} |
[편집]
틀:Coin image box 2 singles 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}} |
No margin specified (default = 4), no position, different width[편집]
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 }}
See also[편집]