Howto TwitterFBLike

From COD Modding & Mapping Wiki
Revision as of 19:24, 9 February 2012 by Zeroy (talk | contribs)
Jump to navigation Jump to search
Parser that inserts Twitter and Facebook "Like" buttons on a page.


Usage

Insert the TwitterFBLike parser tag into your wiki page. The tag takes three parameters:

  1. Float: Floats the div that contains the icons. Valid values are "left" or "right", empty value means don't float.
  2. Small mode: Uses the small version of the icons if set to "small". Uses the big versions otherwise
  3. Like/Recommend If set to "like", uses the word "Like" instead of "Recommend" on the Facebook button.

Examples:

{{#TwitterFBLike:|small}}


{{#TwitterFBLike:|small|like}}

File:TwitterFBLike1.png


{{#TwitterFBLike:||}}

File:TwitterFBLike2.png


{{#TwitterFBLike:||like}}

File:TwitterFBLike3.png


You can also float the image left or right:

{{#TwitterFBLike:left|small}}
{{#TwitterFBLike:right|small}}

Sources

MediaWiki