模板:Gallery
来自戏曲百科
文件:Ambox warning yellow.svg | 此Template被引用於約3,500個頁面。 為了避免造成大規模的影響,所有對此Template的編輯應先於沙盒、測試樣例或您的-{zh-hant:使用者頁面;zh-hans:用户页}-上測試。 測試後無誤的版本可以一次性地加入此Template中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
🪧 | 此模板使用Lua语言: |
-{H|zh-cn:图库;zh-tw:圖片陣列}-
本模板將多張圖片組成圖片陣列。圖片將會以表格方式由左至右排列。
選填參數
- title 圖片陣列的標題
- width 設定圖片顯示的寬度,預設是180(px)。
- height 設定圖片顯示的高度,預設是180(px)。
- lines 圖片說明的顯示行數上限,預設是2。超過上限的說明內文會自動出現捲動按鈕。
- footer 在圖片陣列的右下角顯示的註腳文字
使用方法
{{Gallery
| title = 圖片陣列標題
| footer = 註腳文字
| width = 150
| height = 170
| lines = 2
| File:Pigion052006.JPG|圖片的說明
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|圖說部份也可支援[[Wikipedia:如何编辑页面|內部連結]]
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|
| File:Pigion052006.JPG|當說明內文超過指定的行數上限後,會自動出現-{zh-hans:滚动条; zh-hant:捲軸;}-。
| File:Pigion052006.JPG|
}}
范例
{{Gallery |title=Cultural depictions of George Washington |width=160 |height=170 |lines=4 |align=center |File:Federal Hall NYC 27.JPG|alt1=Back of statue facing a city building whose facade is Greek columns covered by a huge U.S. flag|The statue of Washington outside [[Federal Hall]] in [[New York City]], looking on [[Wall Street]]. |File:Mount Rushmore2.jpg|alt2=Profile of stone face jutting out from a mountainside. Three workers clamber over it, each about the height of the face's upper lip.|Construction on the George Washington portrait at [[Mount Rushmore]], c. 1932. |File:2006 Quarter Proof.png|alt3=Shiny silver coin with profile of Washington bust. He faces left regally and wears a colonial-style queue in his hair. "UNITED STATES OF AMERICA" is at top, "QUARTER DOLLAR" at bottom, "LIBERTY" at left, and "IN GOD WE TRUST" above "S" at right. Just below the bust is "JF uc" in tiny letters.|Washington is commemorated on the [[Quarter (United States coin)|quarter]]. |File:George Washington Presidential $1 Coin obverse.png|alt4=Gold coin with bust of Washington facing slightly left of but looking sternly straight at the viewer. "GEORGE WASHINGTON" is above, "1st PRESIDENT 1789–1797" below, and "JFM" in tiny letters at the bust's base.|Washington is also commemorated on some [[dollar coin (United States)|dollar coins]]. }}
Cultural depictions of George Washington | ||||||||
---|---|---|---|---|---|---|---|---|
參見
- en:Help:Gallery tag
- {{Cleanup gallery}},以標記非百科圖像的圖片陣列
- {{Image array}}
- {{Multiple image}}
- {{Photomontage}}
- {{Image frame}}
- {{Gallery items}},將圖庫樣式佈局應用於任意內容區段(如模板輸出)
- {{Stack}},圖像等可以在右側堆疊,避免間距和浮動問題
上述文档嵌入自模板:Gallery/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |