Fandom Developers Wiki
No edit summary
Tag: sourceedit
No edit summary
Tag: sourceedit
Line 6: Line 6:
 
| Code = [[MediaWiki:ApesterIntegrator/code.js|code.js]]
 
| Code = [[MediaWiki:ApesterIntegrator/code.js|code.js]]
 
| Skins = Oasis (Wikia)
 
| Skins = Oasis (Wikia)
| Languages = {{#language:en}}
+
| Languages =
  +
| Examples =
| Examples = [http://beyoncepedia.wikia.com/wiki/Template:Apester Poll Example]
 
 
}}
 
}}
   
'''ApesterIntegrator''' adds ability to embed Apester Polls onto Wikia pages.
+
'''ApesterIntegrator''' adds the ability to embed Apester Polls onto Wikia pages.
   
 
<span class="Apester" data-widget-id="57782d22eaef76d524299c24" style="width: 323px; height: 440px;"></span>
 
<span class="Apester" data-widget-id="57782d22eaef76d524299c24" style="width: 323px; height: 440px;"></span>
Line 16: Line 16:
 
{{clr}}
 
{{clr}}
 
== Usage ==
 
== Usage ==
# Add the line below to your wiki's [[MediaWiki:ImportJS]] page: <pre>dev:ApesterIntegrator/code.js</pre>
+
# Add the line below to your wiki's '''[[MediaWiki:ImportJS]]' page: <pre>dev:ApesterIntegrator/code.js</pre>
 
# Create a Poll on [http://apester.com/ Apester], and retrieve the Poll's unique ID from the iframe code given.
 
# Create a Poll on [http://apester.com/ Apester], and retrieve the Poll's unique ID from the iframe code given.
   

Revision as of 10:00, 15 July 2016

ApesterIntegrator adds the ability to embed Apester Polls onto Wikia pages.

Usage

  1. Add the line below to your wiki's MediaWiki:ImportJS' page:
    dev:ApesterIntegrator/code.js
  2. Create a Poll on Apester, and retrieve the Poll's unique ID from the iframe code given.
Example

<iframe src="//renderer.qmerce.com/interaction/57212135f070832f1031cb63" width="100%" height="458" frameborder="0" scrolling="no"></iframe>

  • ID is in bold
3. Now, using this ID, place the following code onto the page:
<span class="Apester" data-widget-id="57212135f070832f1031cb63" style="width: 100%; height: 350px;"></span>
Note
You can choose any height and/or width you want

If you're already using importArticles(), you can import the script by adding the below to the article list.

"u:dev:ApesterIntegrator/code.js",