Usage summary edit

{{Twitter Bird|logo color|background color|logo size|vertical displacement}}

TemplateData edit

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Twitter Bird in articles based on its TemplateData.

TemplateData for Twitter Bird

This template adds Twitter logo.

Template parameters

ParameterDescriptionTypeStatus
Logo color1

Set color of the logo. Use the hex color code.

Default
#1DA1F2
Example
#000000
Numbersuggested
Background color2

Set background color. Use the hex color code.

Default
#FFFFFF
Example
#F9F9F9
Numbersuggested
Logo size3

Set size of the logo in pixels. Use numeric value only, without units of measurement (px).

Default
16
Example
24
Numbersuggested
Vertical displacement4

Set percentage (% of size) of the logo downward shift to align it with the text. Use decimal fraction.

Default
0.125
Example
0.35
Numbersuggested

Examples edit

Input Result
{{Twitter Bird}} Background color of the cell is set to white.
{{Twitter Bird||#F9F9F9}} [https://twitter.com/wikipedia @Wikipedia] Background color of the logo is set to match the cell's one. @Wikipedia
{{font color|white|'''Wikipedia'''}} {{Twitter Bird|white|darkblue|12|0.1}} Background color of the logo and the cell is set to dark blue. Wikipedia

See also edit