跳去內容

Template:Image array/doc

出自維基百科,自由嘅百科全書

呢個模一般用喺啲明細度,可以整出長方形嘅相框來將好多張相放入去。

普通用法

[編輯]

四乘四嘅相框(共16張相)

{{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 =
}}

五乘五嘅相框(共25張相)

{{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 =
}}

五乘六嘅相框(30張相)

{{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 =
}}

唔喺明細用時

[編輯]

如果呢個模唔係用喺明細模(Infobox)時,要套個{{Imageframe}}模來用。

{{Imageframe
| 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 =
}}
}}

調相框嘅大細

[編輯]

想調整相框嘅大細,要加欄參數:|border-width=。注意單位係「px」,但係填嘅時候只需填數字,唔使帶「px」單位。

調啲相嘅大細

[編輯]

啲相默認大細爲60x70px,想調節大細,要加參數:|width=|height=。注意單位係「px」,但係填嘅時候只需填數字,唔使帶「px」單位。

其他參數

[編輯]
  • |altX=:如果某張相嘅file失效,要換代替嘅file時,可以填呢個。其中X係失效嘅嗰張相喺相框中嘅號碼。
  • |textX=:一般將針放喺張相時會浮出佢嘅file名,如果想浮出嘅係將相中嘅內容,噉就填呢個,其中X係對應嘅相喺相框中嘅號碼。如果想全部嘅相都浮出下面啲說明,噉就要填成:|text=y
  • |linkX=:一般撳下啲相會連去相嘅file頁,如果想連去文章,填呢個,直接填文章名。其中X係對應嘅相喺相框中嘅號碼。

睇埋

[編輯]