Difference between revisions of "Template:Social media button"

From World Naked Bike Ride
Jump to: navigation, search
(10px margin!)
(+cat, info)
Line 1: Line 1:
<span style="float:left; margin-right:10px;">[[Image:AddThis-32px-{{{SiteName}}}.png|link={{{Link}}}|Follow us on {{{SiteName}}}]]</span>
+
<includeonly><span style="float:left; margin-right:10px;">[[Image:AddThis-32px-{{{SiteName}}}.png|link={{{Link}}}|Follow us on {{{SiteName}}}]]</span></includeonly><noinclude>
 +
'''Usage:'''
 +
<pre>
 +
{{Social media button|SiteName=Twitter|Link=http://twitter.com/wnbrlondon}}
 +
</pre>
 +
 
 +
'''Allowed sites:'''
 +
Facebook, Twitter, Flickr, YouTube, Yahoo.
 +
 
 +
'''Result:'''<br />
 +
{{Social media button|SiteName=Twitter|Link=http://twitter.com/wnbrlondon}}
 +
[[Category:Templates|{{PAGENAME}}]]
 +
</noinclude>

Revision as of 23:02, 26 May 2012

Usage:

{{Social media button|SiteName=Twitter|Link=http://twitter.com/wnbrlondon}}

Allowed sites: Facebook, Twitter, Flickr, YouTube, Yahoo.

Result:
Follow us on Twitter