模板:Multiple image
出自【暗黑百科】DiabloWiki_凯恩之角
(修订版本间的差异)
Chendy1985 (讨论 | 贡献) 小 (修改待测试) |
Chendy1985 (讨论 | 贡献) 小 |
||
第1行: | 第1行: | ||
- | {{#if:{{{image1|}}}{{{image2|}}}{{{image3|}}}{{{image4|}}}{{{image5|}}}{{{image6|}}}{{{image7|}}}{{{image8|}}}{{{image9|}}} | + | {{#if:{{{image1|}}}{{{image2|}}}{{{image3|}}}{{{image4|}}}{{{image5|}}}{{{image6|}}}{{{image7|}}}{{{image8|}}}{{{image9|}}}{{{image10|}}}|<div class="thumb |
- | {{{image10|}}}|<div class="thumb {{#switch: {{{align|}}} | left = tleft | center|centre|none = tnone | right|#default = | + | {{#switch: {{{align|}}} | left = tleft | center|centre|none = tnone | right|#default = |
tright}}" style="width: {{#switch:{{{direction|}}}<!-- | tright}}" style="width: {{#switch:{{{direction|}}}<!-- | ||
If stacked vertically, box width = largest width + 12 px (6 px margin on left and right) --> | If stacked vertically, box width = largest width + 12 px (6 px margin on left and right) --> |