Template:Twitter Bird
外观
使用總結
{{Twitter Bird|logo color|background color|logo size|vertical displacement}}
TemplateData
This template adds Twitter logo.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Logo color | 1 | Set color of the logo. Use the hex color code.
| 数字 | 推荐 |
Background color | 2 | Set background color. Use the hex color code.
| 数字 | 推荐 |
Logo size | 3 | Set size of the logo in pixels. Use numeric value only, without units of measurement (px).
| 数字 | 推荐 |
Vertical displacement | 4 | Set percentage (% of size) of the logo downward shift to align it with the text. Use decimal fraction.
| 数字 | 推荐 |
例子
Input | Result |
---|---|
{{Twitter Bird}} |
|
{{Twitter Bird||#F9F9F9}} [https://twitter.com/wikipedia @Wikipedia] |
@Wikipedia |
{{font color|white|'''Wikipedia'''}} {{Twitter Bird|white|darkblue|12|0.1}} |
Wikipedia |
參見
- {{Twitter}} — Twitter
- {{User Twitter}} — Twitter用戶框
- {{Facebook}} — Facebook
- {{SoundCloud}} — SoundCloud
上述文档嵌入自Template:Twitter Bird/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |