模板:单位卡片:修订间差异

缩小卡片,使信息更密集;添加旋转图片参数,用于非建筑正面图片朝上;添加圆角
(.)
(缩小卡片,使信息更密集;添加旋转图片参数,用于非建筑正面图片朝上;添加圆角)
第1行: 第1行:
<includeonly><div style="display: flex;flex-direction: column;align-items: center;width: 100px;height: 130px;border: 1px solid #000;margin: 7px 5px;">
<includeonly><div style="display: flex;flex-direction: column;align-items: center;width: 80px;height: 100px;border: 1px solid #000;margin: 5px 3px;border-radius: 5%">
<div style="width: 100px;height: 105px;display: flex;flex-direction: column;justify-content: center;align-items: center;">[[file:{{{图片文件}}}|100x100px|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="font-weight: bold;text-align: center;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;background-color: #080;color: #eee;width: 100%;line-height: 25px;">{{{单位名称}}}</div>
<div style="width: 100%;background-color: #080;border-radius: 0 0 5% 5%;font-weight: bold;font-size: smaller;color: #eee;text-align: center;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;line-height: 20px;">[[{{{指向页面}}}|<span style="color: #eee;">{{{单位名称}}}</span>]]</div>
</div></includeonly><noinclude>{{Documentation}}</noinclude>
</div></includeonly><noinclude>{{Documentation}}</noinclude>
610

个编辑