🏠
檢視模板:Image的原始碼
←
模板:Image
跳至導覽
跳至搜尋
由於以下原因,您無權編輯此頁面:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
<templatestyles src="Image/styles.css"/><div class="t-image {{#ifeq:{{{padding|}}}|no||t-image-padding}}" {{#if:{{{width|}}}|style="max-width:{{{width}}}%"}}> [[File:{{{file|1AKC Samoyed Dog Show 2011.jpg}}}|{{{imagewidth|400}}}px|{{#ifeq:{{{border|}}}|yes|border{{!}}}}alt={{{caption|}}}|{{#if:{{{link|}}}|link={{{link|}}}}}]]{{#if: {{{caption|}}}| <p class="t-image-caption"> {{{caption}}} </p>}} </div><noinclude> {{documentation|content= {{Uses TemplateStyles|Template:Image/styles.css}} This template is used to provide images with captions as an alternative to the ugly image captions that come with MediaWiki. Syntax: * '''<code>file=</code>''' Sets which file to use. Default value is [[commons:File:1AKC Samoyed Dog Show 2011.jpg|1AKC Samoyed Dog Show 2011.jpg]]. * '''<code>width=</code>''' The maximum width of the image. Note that the image gets smaller so that it is never more than a certain percentage of the browser window. Defaults to 400px. * <s>'''<code>percentage=</code>'''</s> '''Never used''' The percent width of the browser window the image takes up. The width proportionality is maintained until the image is at the maximum size; it does not get better. Defaults to 50%. * '''<code>caption=</code>''' Places a caption beneath the image, and also serves as the alt text. Optional. * '''<code>padding=</code>''' Gives the option to turn off padding, in case the image is part of a floating div already. Default is to include padding; turn off by setting parameter to "no". * '''<code> link=</code>''' Allows the image to link to a different page. Default is to link to the image description page. Set <code>link=</code> to nothing and the image will not be clickable }} </noinclude>
返回到「
模板:Image
」。
導覽選單
個人工具
登入
命名空間
模板
討論
臺灣正體
視圖
閱讀
檢視原始碼
檢視歷史
更多
搜尋
導覽
首頁
近期變更
隨機頁面
MediaWiki說明
工具
連結至此的頁面
相關變更
特殊頁面
頁面資訊