Difference between revisions of "Template:Social media button"
(fixed size: 32x32px; added Hyves) |
(Tag: Undo) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><span style="float:left; margin | + | <includeonly><span style="float:left; margin:0px 5px;">[[Image:AddThis-32px-{{{SiteName}}}.png|link={{{Link}}}|32x32px|Follow us on {{{SiteName}}}]]</span></includeonly><noinclude> |
'''Usage:''' | '''Usage:''' | ||
<pre> | <pre> | ||
{{Social media button|SiteName=Twitter|Link=http://twitter.com/wnbrlondon}} | {{Social media button|SiteName=Twitter|Link=http://twitter.com/wnbrlondon}} | ||
+ | </pre> | ||
+ | |||
+ | '''Result:''' | ||
+ | |||
+ | {{Social media button|SiteName=Twitter|Link=http://twitter.com/wnbrlondon}} | ||
+ | <br clear="both" /> | ||
+ | |||
+ | Break to new line afterwards using: | ||
+ | <pre> | ||
+ | <br style="clear:both;" /> | ||
</pre> | </pre> | ||
'''Allowed sites:''' | '''Allowed sites:''' | ||
− | Facebook, Flickr, | + | Facebook, Flickr, GooglePlus, Instagram, ipernity, Twitter, Yahoo, YouTube. |
+ | |||
+ | '''Other icons available at:'''<br /> | ||
+ | * http://www.addthis.com/logos (separate PNG icons) | ||
+ | <!-- * https://s7.addthis.com/static/r07/widget044_32x32.png (Requires cropping)--> | ||
− | |||
− | |||
− | |||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 14:27, 9 April 2022
Usage:
{{Social media button|SiteName=Twitter|Link=http://twitter.com/wnbrlondon}}
Result:
Break to new line afterwards using:
<br style="clear:both;" />
Allowed sites: Facebook, Flickr, GooglePlus, Instagram, ipernity, Twitter, Yahoo, YouTube.
Other icons available at:
- http://www.addthis.com/logos (separate PNG icons)