:그림 위에 띄우기/설명문서

그림 위에 최대 9개의 요소를 띄울 수 있도록 해줍니다. 주로 그림의 빈 공간에 텍스트를 채울 때 쓸 수 있습니다.

사용법

편집
{{그림 위에 띄우기
 | image  =
 | width  =
 | item1  =
 | hpos1  =
 | vpos1  =
 | x1     =
 | y1     =
 | width1 =
 | height1=
 | border1=
 | ts1    =
 | item2  =
 | hpos2  =
 | vpos2  =
 | x2     =
 | y2     =
 | width2 =
 | height2=
 | border2=
 | ts2    =
 | item3  =
 | hpos3  =
 | vpos3  =
 | x3     =
 | y3     =
 | width3 =
 | height3=
 | border3=
 | ts3    =
 | item4  =
 | hpos4  =
 | vpos4  =
 | x4     =
 | y4     =
 | width4 =
 | height4=
 | border4=
 | ts4    =
 | item5  =
 | hpos5  =
 | vpos5  =
 | x5     =
 | y5     =
 | width5 =
 | height5=
 | border5=
 | ts5    =
 | item6  =
 | hpos6  =
 | vpos6  =
 | x6     =
 | y6     =
 | width6 =
 | height6=
 | border6=
 | ts6    =
 | item7  =
 | hpos7  =
 | vpos7  =
 | x7     =
 | y7     =
 | width7 =
 | height7=
 | border7=
 | ts7    =
 | item8  =
 | hpos8  =
 | vpos8  =
 | x8     =
 | y8     =
 | width8 =
 | height8=
 | border8=
 | ts8    =
 | item9  =
 | hpos9  =
 | vpos9  =
 | x9     =
 | y9     =
 | width9 =
 | height9=
 | border9=
 | ts9    =
}}

변수

편집
  • image(필수): 그림을 삽입하는 코드. [[파일:...]]과 같은 형식으로 기재해야 합니다.
  • width: 그림과 그림 위에 겹칠 항목이 들어갈 div의 너비. 그림의 크기와 같거나 보다 더 커야 합니다. 기본 값은 400(px).
  • itemn(필수): 겹칠 항목. 텍스트의 경우 {{블록 왼쪽}}, {{블록 가운데}}, {{블록 오른쪽}}을 쓰면 편리함.
  • hpos: 항목의 가로 정렬 위치. left와 right 중 하나를 택해야 합니다. 기본 값은 left.
  • vposn: 항목의 세로 정렬 위치. top과 botttom 중 하나를 택해야 합니다. 기본 값은 top.
  • xn: 가로 정렬 시 여백의 크기. 기본 값은 0(px).
  • yn: 세로 정렬 시 여백의 크기. 기본 값은 0(px).
  • widthn: 항목 블록의 가로 크기. 기본 값은 없음.
  • heightn: 항목 블록의 세로 크기. 기본 값은 없음.
  • bordern: 항목 블록의 테두리 모양. 항목 위치를 조절할 때 유용하게 쓸 수 있습니다. 기본 값은 없음.
  • tsn: 아무 값이나 지정한 경우, 아이템 항목을 표 칸 안에 표시합니다. 이 경우 {{ts}}를 바로 쓸 수 있습니다. 예를 들어 top, middle, bottom 등과 같은 값을 지정할 수 있습니다. 기본 값은 없음.

n이 붙은 각 변수는 1부터 9까지 쓸 수 있습니다. 각 변수는 itemn을 지정하여야 쓸 수 있습니다.

예제

편집

예제 1

편집
{{overfloat image
 | image = [[File:Amazing Stories v01n01 p092 The Facts in the Case of M Valdemar.png|400px|center]]
 | item1 = {{block left
             |width=160px
             |{{gap}}{{x-larger|''The''}} {{xx-larger|'''Facts'''}}<br />{{x-larger|''in the''}} {{xx-larger|'''Case'''}} {{x-larger|''of''}}<br />{{xx-larger|'''M. Valdemar'''}}
{{c|{{larger|''by''}}}}
{{gap}}{{larger|''Edgar Allan Poe''}}
           }}
 | y1    = 75
}}
The Facts
in the Case of
M. Valdemar

by

Edgar Allan Poe

예제 2

편집
{{overfloat image
 | image = [[File:WeirdTalesv24n3pg352 Trail of the Cloven Hoof.png|center|600px]]
 | width = 600
 | item1 = {{block center|width=150px|{{larger|By ARLTON EADIE}}}}
 | x1    = 230
 | y1    = 0
 | item2 = {{block right|width=175px|{{smaller|"One look was enough. I snapped off my flashlight and fled."}}}}
 | hpos2 = right
 | y2    = 425
}}

By ARLTON EADIE

"One look was enough. I snapped off my flashlight and fled."

예제 3

편집
{{overfloat image
 | image = [[File:The Pathway of Roses, Larson (1913) decoration on page 5.jpg|frameless|center|400px]]
 | item1 = <div style="line-height:1.5; text-indent:1em; margin-left:0; font-style:italic;
font-size:92%; text-align:justify;"><div>''To give the world emancipation is the ruling desire of all<!--
--> minds that are spiritually awakened; and these should remember that to overcome evil with good is the only way.<!--
--> Forget the wrong that may appear in the outer world of things, and give all your thought to the great good that is<!--
--> inherent in all things.  You thereby place in action the greatest emancipating power that the human race will ever<!--
--> know.''</div>
<div>''We are in bondage because we have lived to please the person.  Follow the soul and freedom shall come quickly.<!--
--> Then we shall please the person better than ever before.  To follow the soul is to enter the greater domains of life,<!--
--> those domains from which we may secure everything that is rich and beautiful and superior in human existence.  The<!--
--> soul leads, not only into the life more abundant, but also into the actual possession of all the spiritual riches<!--
--> that the greater life may contain.  And when we find the kingdom that is within, all that we may desire in the<!--
--> without shall be added.''</div>
<div>''The soul that lives most perfectly in the present, creates most nobly for the future.  Be yourself to-day,<!--
--> regardless of what happened yesterday.  Be all that you are or can be to-day, and you will live in a fairer world<!--
--> to-morrow.''</div></div>
 | x1 = 50
 | y1 = 50
 | height1 = 553
 | width1 = 300
 | ts1 = middle
}}
To give the world emancipation is the ruling desire of all minds that are spiritually awakened; and these should remember that to overcome evil with good is the only way. Forget the wrong that may appear in the outer world of things, and give all your thought to the great good that is inherent in all things. You thereby place in action the greatest emancipating power that the human race will ever know.
We are in bondage because we have lived to please the person. Follow the soul and freedom shall come quickly. Then we shall please the person better than ever before. To follow the soul is to enter the greater domains of life, those domains from which we may secure everything that is rich and beautiful and superior in human existence. The soul leads, not only into the life more abundant, but also into the actual possession of all the spiritual riches that the greater life may contain. And when we find the kingdom that is within, all that we may desire in the without shall be added.
The soul that lives most perfectly in the present, creates most nobly for the future. Be yourself to-day, regardless of what happened yesterday. Be all that you are or can be to-day, and you will live in a fairer world to-morrow.