Widget:DISQUS

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search

This widget allows you to embed DISQUS Comments on your wiki page.

Created by Sergey Chernyshev

Using this widget[edit source]

To insert this widget, use the following code:

{{#widget:DISQUS
|id=yourid
|uniqid={{PAGENAME}}
|url={{fullurl:{{PAGENAME}}}}
}}

You might want to create a template with this code called DISQUS and let people just use it like {{DISQUS}}.

Parameters[edit source]

  • id - short site id you used when registered a site in DISQUS
  • uniqid - optional unique ID for the page - you can set it to {{PAGENAME}} for wikis (to make it work on edit pages, and other URLs for the same page.
  • url - optional URL for permalinking

Copy to your site[edit source]

To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:DISQUS.