Template:Boxed-image:修订间差异

imported>一个人的孤独
创建页面,内容为“<includeonly><div style="dislpay:inline-block;margin:auto;text-align:center;max-width:100%;max-height:100%;width:{{{width|}}}px;height:{{{height|}}}px;overflow:hidde…”
 
imported>Irukaza
文本替换 - 替换“{{萌百:”为“{{萌百嵌入|模板:”
 
第1行: 第1行:
<includeonly><div style="dislpay:inline-block;margin:auto;text-align:center;max-width:100%;max-height:100%;width:{{{width|}}}px;height:{{{height|}}}px;overflow:hidden;{{{box-style|}}};"><span style="height:100%;vertical-align:middle;display:inline-block"></span><!-- 用来正确垂直居中…… -->[[:File:{{{img|}}}|<img src="{{filepath: {{{img|}}}}}" class="boxed-image" />]]</div><templatestyles src="Template:Boxed-image/styles.css" /></includeonly><noinclude>{{萌百:Boxed-image}}</noinclude>
<includeonly><div style="dislpay:inline-block;margin:auto;text-align:center;max-width:100%;max-height:100%;width:{{{width|}}}px;height:{{{height|}}}px;overflow:hidden;{{{box-style|}}};"><span style="height:100%;vertical-align:middle;display:inline-block"></span><!-- 用来正确垂直居中…… -->[[:File:{{{img|}}}|<img src="{{filepath: {{{img|}}}}}" class="boxed-image" />]]</div><templatestyles src="Template:Boxed-image/styles.css" /></includeonly><noinclude>{{萌百嵌入|模板:Boxed-image}}</noinclude>