Difference between revisions of "Template:Social media button"

From World Naked Bike Ride
Jump to: navigation, search
m (fix margin)
(More explanation)
Line 3: Line 3:
 
<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>
  
Line 8: Line 18:
 
Facebook, Flickr, Hyves, Twitter, Yahoo, YouTube.
 
Facebook, Flickr, Hyves, Twitter, Yahoo, YouTube.
  
'''Result:'''<br />
+
'''Other icons available at:'''<br />
{{Social media button|SiteName=Twitter|Link=http://twitter.com/wnbrlondon}}
+
* http://www.addthis.com/logos (separate PNG icons)
<br /><br />
+
* https://s7.addthis.com/static/r07/widget044_32x32.png (Requires cropping)
 +
 
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 00:36, 27 May 2012

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, Hyves, Twitter, Yahoo, YouTube.

Other icons available at: