틀:Image array

위키백과, 우리 모두의 백과사전.
둘러보기로 가기 검색하러 가기
틀 설명문서[보기] [편집] [역사] [새로 고침]

이 틀은 정사격형의 나열 그림을 만드는데 사용되며, 주로 정보상자 안에서 사용된다.

사용법[편집]

A 4x4 이미지 나열

{{image array|perrow = 4
| image1 = | caption1 =
| image2 = | caption2 =
| image3 = | caption3 =
| image4 = | caption4 =
| image5 = | caption5 =
| image6 = | caption6 =
| image7 = | caption7 =
| image8 = | caption8 =
| image9 = | caption9 =
| image10 = | caption10 =
| image11 = | caption11 =
| image12 = | caption12 =
| image13 = | caption13 =
| image14 = | caption14 =
| image15 = | caption15 =
| image16 = | caption16 =
}}

A 5x5 이미지 어레이

{{image array|perrow = 5
| image1 = | caption1 =
| image2 = | caption2 =
| image3 = | caption3 =
| image4 = | caption4 =
| image5 = | caption5 =
| image6 = | caption6 =
| image7 = | caption7 =
| image8 = | caption8 =
| image9 = | caption9 =
| image10 = | caption10 =
| image11 = | caption11 =
| image12 = | caption12 =
| image13 = | caption13 =
| image14 = | caption14 =
| image15 = | caption15 =
| image16 = | caption16 =
| image17 = | caption17 =
| image18 = | caption18 =
| image19 = | caption19 =
| image20 = | caption20 =
| image21 = | caption21 =
| image22 = | caption22 =
| image23 = | caption23 =
| image24 = | caption24 =
| image25 = | caption25 =
}}

A 5x6 이미지 어레이

{{image array|perrow = 5
| image1 = | caption1 =
| image2 = | caption2 =
| image3 = | caption3 =
| image4 = | caption4 =
| image5 = | caption5 =
| image6 = | caption6 =
| image7 = | caption7 =
| image8 = | caption8 =
| image9 = | caption9 =
| image10 = | caption10 =
| image11 = | caption11 =
| image12 = | caption12 =
| image13 = | caption13 =
| image14 = | caption14 =
| image15 = | caption15 =
| image16 = | caption16 =
| image17 = | caption17 =
| image18 = | caption18 =
| image19 = | caption19 =
| image20 = | caption20 =
| image21 = | caption21 =
| image22 = | caption22 =
| image23 = | caption23 =
| image24 = | caption24 =
| image25 = | caption25 =
| image26 = | caption26 =
| image27 = | caption27 =
| image28 = | caption28 =
| image29 = | caption29 =
| image30 = | caption30 =
}}

포함[편집]

단순 뜬 그림 어레이를 만들려면, {{Image frame}} 틀을 사용하라.

{{Image frame
| content = {{image array|perrow = 4
| image1 = | caption1 =
| image2 = | caption2 =
| image3 = | caption3 =
| image4 = | caption4 =
| image5 = | caption5 =
| image6 = | caption6 =
| image7 = | caption7 =
| image8 = | caption8 =
| image9 = | caption9 =
| image10 = | caption10 =
| image11 = | caption11 =
| image12 = | caption12 =
| image13 = | caption13 =
| image14 = | caption14 =
| image15 = | caption15 =
| image16 = | caption16 =
}}
}}

부가 변수[편집]

기본 그림 크기[편집]

The default image size is 60px by 70px. To override this default, use |width=YY and |height=ZZ, where YY and ZZ are raw numbers, without the px units.

그림 외곽[편집]

To add a border around each image, use |border-width=X, where X is the width in pixels.

대체 텍스트 추가[편집]

To add alternative text for an image, use |altX=, where X is the image number.

힌트 텍스트 추가[편집]

힌트나 말풍선 텍스트를 이미지에 추가하려면, |textX=를 사용하라. X는 이미지 번호이다. 모든 이미지의 힌트나 말풍선 텍스트 텍스트에 설명을 넣으려면 |text=y를 사용해라.

링크 텍스트 추가[편집]

By default, clicking on an image will direct the viewer to the file page, which contains licensing and attribution information for the image. This is required for any non-public domain images. To change the link to the image, use |linkX=, where X is the image number. However, be careful to make sure that you only do this for public domain images that do not require attribution.

예제[편집]

예제 1: 이미지만[편집]

{{Image array
| image1 = On The Streets of Vilnius (5984257911).jpg
| image2 = Taiwanese Buddhist Nun Black Robes.jpeg
| image3 = Louise Marie Thérèse (The Black Nun of Moret).jpg
| image4 = Pakistani Nun - Convent School Rawalpindi.jpg
}}
On The Streets of Vilnius (5984257911).jpg
Taiwanese Buddhist Nun Black Robes.jpeg
Louise Marie Thérèse (The Black Nun of Moret).jpg
Pakistani Nun - Convent School Rawalpindi.jpg

예제 2: 선택 변수[편집]

{{Image array
| perrow = 2
| width = 140
| height = 140
| border-width = 2
| image1 = On The Streets of Vilnius (5984257911).jpg | caption1 = caption1
| alt1 = alt1 | text1 = text1 | link1 = Vilnius
| image2 = Taiwanese Buddhist Nun Black Robes.jpeg | caption2 = caption2
| alt2 = alt2 | text2 = text2 | link2 = Bhikkhuni
| image3 = Louise Marie Thérèse (The Black Nun of Moret).jpg | caption3 = caption3
| alt3 = alt3 | text3 = text3 | link3 = Louise Marie Therese
| image4 = Pakistani Nun - Convent School Rawalpindi.jpg | caption4 = caption4
| alt4 = alt4 | text4 = text4 | link4 = Rawalpindi
}}
alt1
caption1
alt2
caption2
alt3
caption3
alt4
caption4

같이 보기[편집]