教學:自製標題文字
外觀
介紹
- 本模板可用於製作標題文字。
使用
{{U:台北人/檔案館/展名|大標題|小標題}}
模板結構
<div style="background:#FFFDD0; border: none; font-family:'微軟正黑體','微软雅黑','文泉驛正黑體'; font-size:150%; height: 100px; margin: 10px 0px; padding: 0;">
<div style="float: left; height: 100%; overflow: hidden; text-align: left; width: 70%;">
<div style="height: 10%;">{{space|hair}}</div>
<div style="font-weight: 700; float:left; height: 80%; overflow: hidden; padding-left: 3%; text-align:left; text-wrap: unrestricted; vertical-align: text-top; width:97%;">{{{1}}}</div>
</div>
<div style="height: 100%; overflow: hidden; text-align: right; width: 30%;">
<div style="height: 30%;">{{space|hair}}</div>
<div style="font-size: 70%; font-weight: 300; height: 40%; vertical-align: middle;">{{{2}}}</div>
<div style="height: 30%;">{{space|hair}}</div>
</div>
</div>
<div style="float: left; height: 100%; overflow: hidden; text-align: left; width: 70%;">
<div style="height: 10%;">{{space|hair}}</div>
<div style="font-weight: 700; float:left; height: 80%; overflow: hidden; padding-left: 3%; text-align:left; text-wrap: unrestricted; vertical-align: text-top; width:97%;">{{{1}}}</div>
</div>
<div style="height: 100%; overflow: hidden; text-align: right; width: 30%;">
<div style="height: 30%;">{{space|hair}}</div>
<div style="font-size: 70%; font-weight: 300; height: 40%; vertical-align: middle;">{{{2}}}</div>
<div style="height: 30%;">{{space|hair}}</div>
</div>
</div>