Template:SizeImageBox/Main Page:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 标签:已被回退 移动版编辑 移动版网页编辑 |
无编辑摘要 标签:已被回退 移动版编辑 移动版网页编辑 |
||
第1行: | 第1行: | ||
<div style="width: {{#invoke:SizeImageBoxHelper|adjustValue|value={{{boxsize|160px}}}}}; height: 180px; margin: 6px; border-right: 1px solid #ccc; text-align: center; padding: 10px; background-color: rgba(255, 255, 255, 0.1); box-shadow: 0 2px 5px #aaa; position: relative; display: flex; justify-content: space-evenly; align-content: flex-start; flex-wrap: wrap;">{{SizeImageBox | <div class="screen-width-detector" style="display:none;"><span class="screen-small">small</span><span class="screen-medium">medium</span><span class="screen-large">large</span></div><div style="width: {{#invoke:SizeImageBoxHelper|adjustValue|value={{{boxsize|160px}}}|screenLabel={{#ifexist:screen-small|small|large}}}}; height: 180px; margin: 6px; border-right: 1px solid #ccc; text-align: center; padding: 10px; background-color: rgba(255, 255, 255, 0.1); box-shadow: 0 2px 5px #aaa; position: relative; display: flex; justify-content: space-evenly; align-content: flex-start; flex-wrap: wrap;">{{SizeImageBox | ||
|img={{{1|Illustration Miniko.png}}} | |img={{{1|Illustration Miniko.png}}} | ||
|Xmove={{#invoke:SizeImageBoxHelper|adjustValue|value={{{x|0}}}}} | |Xmove={{#invoke:SizeImageBoxHelper|adjustValue|value={{{x|0}}}|screenLabel={{#ifexist:screen-small|small|large}}}} | ||
|Ymove={{#invoke:SizeImageBoxHelper|adjustValue|value={{{y|0}}}}} | |Ymove={{#invoke:SizeImageBoxHelper|adjustValue|value={{{y|0}}}|screenLabel={{#ifexist:screen-small|small|large}}}} | ||
|imgSize={{#invoke:SizeImageBoxHelper|adjustValue|value={{{size|150px}}}}} | |imgSize={{#invoke:SizeImageBoxHelper|adjustValue|value={{{size|150px}}}|screenLabel={{#ifexist:screen-small|small|large}}}} | ||
|link={{{2|Miniko}}} | |link={{{2|Miniko}}} | ||
|background-color={{{3|{{{background-color|#E1E1E1}}}}}} | |background-color={{{3|{{{background-color|#E1E1E1}}}}}} | ||
|border={{{border|3px solid {{{4|{{{border-color|#666666}}}}}}}}}}}<div style="padding:5px; {{#ifeq:{{{subtext|none}}}|none||margin-bottom: -14px; margin-top: -9px;}}">[[{{{2|Miniko}}}|{{{text|{{{2|Miniko}}}}}}]]</div>{{#ifeq:{{{subtext|none}}}|none||<div style="padding:2px; font-size: 12px; width: 100%;">{{{subtext|none}}</div>}}</div> | |border={{{border|3px solid {{{4|{{{border-color|#666666}}}}}}}}}}}<div style="padding:5px; {{#ifeq:{{{subtext|none}}}|none||margin-bottom: -14px; margin-top: -9px;}}">[[{{{2|Miniko}}}|{{{text|{{{2|Miniko}}}}}}]]</div>{{#ifeq:{{{subtext|none}}}|none||<div style="padding:2px; font-size: 12px; width: 100%;">{{{subtext|none}}}</div>}}</div> |
2024年12月13日 (五) 12:49的版本
<div style="width: 脚本错误:没有“SizeImageBoxHelper”这个模块。; height: 180px; margin: 6px; border-right: 1px solid #ccc; text-align: center; padding: 10px; background-color: rgba(255, 255, 255, 0.1); box-shadow: 0 2px 5px #aaa; position: relative; display: flex; justify-content: space-evenly; align-content: flex-start; flex-wrap: wrap;">