Difference between revisions of "Template:Social media button"
m (fix) |
(Tag: Undo) |
||
(10 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, Twitter, | + | 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)