模板:Twitter Bird/doc
此页面是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