Difference between revisions of "Template:Social media button"

From World Naked Bike Ride
Jump to: navigation, search
(fixed size: 32x32px; added Hyves)
(Undo revision 35948 by Erik Baas (talk) - Done.)
(Tag: Undo)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="float:left; margin-right:10px;">[[Image:AddThis-32px-{{{SiteName}}}.png|link={{{Link}}}|32x32px|Follow us on {{{SiteName}}}]]</span></includeonly><noinclude>
+
<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, Hyves, Twitter, Yahoo, YouTube.
+
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)-->
  
'''Result:'''<br />
 
{{Social media button|SiteName=Twitter|Link=http://twitter.com/wnbrlondon}}
 
<br /><br />
 
 
[[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:

Follow us on Twitter

Break to new line afterwards using:

<br style="clear:both;" />

Allowed sites: Facebook, Flickr, GooglePlus, Instagram, ipernity, Twitter, Yahoo, YouTube.

Other icons available at: