模板:单位卡片:修订间差异
小 (修改样式:去除卡片边框) |
小无编辑摘要 |
||
| 第1行: | 第1行: | ||
<includeonly><div style="display: flex;flex-direction: column;align-items: center;width: 80px;height: 100px;margin: 6px 4px;"> | <includeonly><div style="display: flex;flex-direction: column;align-items: center;width: 80px;height: 100px;margin: 6px 4px;"> | ||
<div style="width: 80px;height: 80px;display: flex;flex-direction: column;justify-content: center;align-items: center;{{#switch:{{{旋转|}}}|是 = transform: rotate(-90deg);|否 = |#default =}}">[[file:{{{图片文件}}}|75x75px|link={{{指向页面}}}]]</div> | <div style="width: 80px;height: 80px;display: flex;flex-direction: column;justify-content: center;align-items: center;{{#switch:{{{旋转|}}}|是 = transform: rotate(-90deg);|否 = |#default =}}">[[file:{{{图片文件}}}|75x75px|link={{{指向页面}}}]]</div> | ||
<div style="width: 100%;background-color: #080;border-radius: 5px;font-weight: bold;font-size: smaller;color: #eee;text-align: center;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;line-height: | <div style="width: 100%;background-color: #080;border-radius: 5px;font-weight: bold;font-size: smaller;color: #eee;text-align: center;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;line-height: 18px;margin-top: 2px;">[[{{{指向页面}}}|<span style="color: #eee;">{{{单位名称}}}</span>]]</div> | ||
</div></includeonly><noinclude>{{Documentation}}</noinclude> | </div></includeonly><noinclude>{{Documentation}}</noinclude> | ||