跳至內容

模板:Image array/doc

維基百科,自由的百科全書

本模板使用之後能生成一個矩形圖像陣列,通常放置在族群模板「{{Infobox ethnic group}}」中使用。

說明

  • 「perrow」表示每一橫排要顯示的圖像數量,如「perrow=4」,則會每一橫排顯示「4張圖像」。
  • 「width」表示圖像的「寬度」,「height」表示圖像的「高度」,系統自動添加單位「px」,無須再自行添加單位。

詳細使用方法請參看下面的「示例」——「湖南人」。

基本參數

A 4x4 圖像

{{image array|perrow = 4 |width=  |height= 
| 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 |width=  |height= 
| 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 |width=  |height= 
| 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 =
}}

Embedding

要使頁面顯示簡單的圖像矩陣,請使用模板「{{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 =
}}
}}

示例

  • 註:部分人物的圖像沒有顯示,是因為沒有「自由版權的圖像」,故而使用「空缺圖像」替代。
湖南人
總人口
湖南人
7119.34萬
全國人口的5.15%
分佈地區
湖南省廣東省(外出務工)
語言
普通話湘語
宗教信仰
漢傳佛教道教基督教
相關族群
中國人·江西人·湖北人·廣東人·重慶人
{{Infobox ethnic group
| group = 湖南人
| image =
{{image array|perrow=4|width=85|height=105
| image1  =| caption1 = [[毛泽东]]
| image2  = LiuShaoqi Colour.jpg| caption2 = [[刘少奇]]
| image3  = Huang xing.jpg| caption3 = [[黄兴]]
| image4  = Zeng Guofan.png| caption4 = [[曾国藩]]
| image5  = 李善蘭 黑白.jpg| caption5 = [[左宗棠]]
| image6  = GeneralQaoAoCampañaDeYunnan.jpg| caption6 = [[蔡锷]]
| image7  = He Long.jpg| caption7 = [[贺龙]]
| image8  = General Peng Dehuai.jpg| caption8 = [[彭德怀]]
| image9  = QuYuan.jpg| caption9 = [[屈原]]
| image10 = Wang Fuzhi.jpg| caption10 = [[王夫之]]
| image11 =| caption11 = [[沈从文]]
| image12 = The Soviet Union 1958 CPA 2116 stamp (Qi Baishi) cancelled.jpg| caption12 = [[齐白石]]
| image13 = Song Zuying East Meets West.jpg| caption13 = [[宋祖英]]
| image14 = Liao Fan Berlinale 2014.jpg| caption14 = [[廖凡]]
| image15 =| caption15 = [[周笔畅]]
| image16 = Li Guyi.jpg| caption16 = [[李谷一]]
| image17 = Replace this image male.svg| caption17 = [[熊倪]]
| image18 = Replace this image female.svg| caption18 = [[陆莉]]
| image19 = Replace this image male.svg| caption19 = [[周光召]]
| image20 = Replace this image male.svg| caption20 = [[袁隆平]]
}}
| poptime = '''湖南人''' <br/>7119.34万<br/> <small>全国人口的'''5.15%'''</small>
|-
|popplace = [[湖南省]]、[[广东省]](外出务工)
|langs    = [[普通话]]、[[湘语]]
|rels     = [[汉传佛教]]、[[道教]]、[[基督教]]
|related  = [[中国人]]{{·}}[[江西人]]{{·}}[[湖北人]]{{·}}[[广东人]]{{·}}[[重庆人]]
}}


參見