模板:Coin image box 1 double/doc
外觀
![]() | 此頁面是Template:Coin image box 1 double的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
![]() | 本模板含有複雜而精密的擴展語法。 編輯本模板前,建議您先熟悉解析器函數與本模板的設計思路、運作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的編輯可先在模板沙盒或您的個人頁面中進行測試。 |
模板介紹
[編輯]Parameter | Required? | Default | Remark / Example |
---|---|---|---|
header | optional | Row/Border disappears if missing | |
image | required | Image:500JPY.JPGDo not put square bracket [[]]. Do not put "|100px" here. | |
width | recommended | Recommended because it can prevent lengthy text to inadvertently enlarge the box. See examples below for the reason why we need 2 instances of width. Just an integer, not "100px". Highly recommend to use an even number. | |
alt | recommended | empty | Alt text for readers who can't see the image; see WP:ALT |
caption_left | optional | Row/Border disappears if both missing | |
caption_right | optional | ||
footer | optional | ||
position | optional | (none) | left or right |
margin | optional | 4(px) | Just put an integer, not "4px", not "4em" |
background | optional | (none) | #CCCCFF (please don't put quotation mark) |
範例
[編輯]Parameters fully used (except background)
[編輯]500 Japanese yen | |
---|---|
Paulownia, state title, value | Value, bamboo, Mandarin orange, year of minting, latent image |
footer text here |
本文為測試文字。這段文字用於說明格式,請勿刪除。這段文字用於說明格式,請勿刪除。海納百川,有容乃大。維基百科,自由的百科全書。
{{Coin image box 1 double | header = 500 Japanese yen | image = Image:500JPY.JPG | alt = Two sides of a coin. The front contains a plant and the back contains "500" in big digits. | caption_left = Paulownia, state title, value | caption_right = Value, bamboo, Mandarin orange, year of minting, latent image | width = 200 | footer = footer text here | position = right | margin = 0 }} {{lorem ipsum}} |
Extreme margin, no footer, background
[編輯]Extreme margin | |
---|---|
![]() | |
Sun Yat-sen | 50 圓 at the top, 50/五十 in the center |
本文為測試文字。這段文字用於說明格式,請勿刪除。這段文字用於說明格式,請勿刪除。海納百川,有容乃大。維基百科,自由的百科全書。
{{Coin image box 1 double | header = Extreme margin | image = Image:Example.png | alt = Example image | caption_left = [[Sun Yat-sen]] | caption_right = 50 圓 at the top, 50/五十 in the center | width = 150 | position = left | margin = 20 | background = #CCCCFF }} {{lorem ipsum}} |