Extension:NamespaceHTML/Pinterest Widget

Adding a Pinterest Feed, Buttons, etc., to your Mediawiki site
The following codes allow you to embed a Pinterest button, feed,etc. on your Mediawiki using the NamespaceHTML extension.The NamespaceHTML extension allows a defined namespace to use raw html, not just wiki syntax. Due to the danger of allowing raw html on a public wiki you should restrict editing to the Namespace with html to just sysops, or admin on your site. The code below was tested on a site were editing of the template namespace was restricted, but the template, itself, can be transincluded elsewhere. By using the #tag syntax shown below the html can be freely mixed with wiki syntax allowing the use of wiki variables.

Additionally it will work if you allow raw html, which you should only do on a wiki that is not open to the public to edit.

Pinterest details
Pinterest is a social networking photo sharing site. They allow you to embed feeds from their site into other sites. See: http://business.pinterest.com/en/widget-builder#do_pin_it_button

Pin it Button
This is the code from Pinterest:

To make it work inside Mediawiki (with this extension):

Follow Button
This is the code from Pinterest:

To make it work inside a Mediawiki:

Notice the Mediawiki variables inside the html. You can just use one variable for both the remaining user url info and the user name if you prefer.

Profile Board (Header)
This is the code from Pinterest:

To make it work inside a Mediawiki: Notice the Mediawiki variable

How it will look:



Profile Board (Square)
To make it work:

Notice the Mediawiki variable.

How it will look:



Profile Board (SideBar)
Code from Pinterest:

Code to Make it work:

Notice the Mediawiki variable

Will add the Board widget code later....