模板:Headline:修订间差异
跳转到导航
跳转到搜索
imported>我局得事你 无编辑摘要 |
imported>我局得事你 无编辑摘要 |
||
| 第32行: | 第32行: | ||
transform: translate(-50%, -50%); /* 兼容性:野蛮IE不支持calc */ | transform: translate(-50%, -50%); /* 兼容性:野蛮IE不支持calc */ | ||
transform: translate(calc(-50% + 0.5em), -50%); | transform: translate(calc(-50% + 0.5em), -50%); | ||
} | |||
#mw-mf-page-center .esu-headline-text.esu-headline-text-overlay { | |||
transform: translate(calc(-50% + 0.3em), -50%); | |||
} | } | ||
}} | }} | ||
2019年1月7日 (一) 02:37的版本
用途
大字报
参数
image
可选图片
1
文字
border
图片边框粗细,默认为5px,填写0可关闭
overlay
文字是否覆盖图片,填写no可关闭
示例
{{headline
|image=[[File:BBHP.jpg|500px]]
|医院深造<br>深度残疾
|border=0
}}
{{headline
|image=[[File:QQ图片20151027225832.jpg|死的好惨啊]]
|未确认死妈快感
|overlay=no
}}
{{headline
|image=[[File:奶子精.png|1000px|忽悠大革命]]
|'''用鲜血和生命保卫大忽悠'''
}}

