模板:单位卡片:修订间差异
(创建页面,内容为“<includeonly> <div style="display: inline-flex;flex-direction: column;align-items: center;width: 100px;"> <div>[[file:{{{图片名称}}}|64x64px|link={{{指向页面}}}]]</div> <div style="border-top: 1px solid;text-align: center;">{{{单位名称}}}</div> </div> </includeonly> <noinclude> - 模板说明 -<br> 宽100px的单位卡片,点击图片进入单位详情页。<br> 参数:图片名称(必填),指向页面(必填),单位名称(必填…”) |
小无编辑摘要 |
||
| (未显示同一用户的11个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly> | <includeonly><div style="display: flex;flex-direction: column;align-items: center;width: 80px;height: 100px;margin: 6px 4px;"> | ||
<div style="display: | <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>[[file:{{{ | <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 style="border- | </div></includeonly><noinclude>{{Documentation}}</noinclude> | ||
</div> | |||
</includeonly> | |||
<noinclude | |||
</noinclude> | |||