FANDOM


({{LangSelect}})
 
Line 1: Line 1:
{{archive|<code>&lt;apester></code> tag for Apester integration exists now}}
+
<noinclude>{{LangSelect}}</noinclude><includeonly>{{Archive|{{{archive|<code>&lt;apester></code> tag for Apester integration exists now.}}}}}
 
{{Languages}}
 
{{Languages}}
 
{{Infobox JavaScript
 
{{Infobox JavaScript
 
| Image file = ApesterPoll.png
 
| Image file = ApesterPoll.png
 
| Status = archive
 
| Status = archive
| Description = Adds ability to embed Apester Polls on Wikia pages
+
| Description = {{{description|Adds ability to embed Apester Polls on Fandom pages.}}}
 
| Scope = s
 
| Scope = s
 
| Author = [[User:Monochromatic Bunny|Monochromatic Bunny]]
 
| Author = [[User:Monochromatic Bunny|Monochromatic Bunny]]
Line 11: Line 11:
 
| Code = [[MediaWiki:ApesterIntegrator/code.js|code.js]]
 
| Code = [[MediaWiki:ApesterIntegrator/code.js|code.js]]
 
}}
 
}}
'''ApesterIntegrator''' adds the ability to embed Apester Polls onto Wikia pages.
+
{{{intro|'''ApesterIntegrator''' adds the ability to embed Apester Polls onto Fandom pages.}}}
   
== Usage ==
+
== {{i18n|getMsg|Documentation|usage}} ==
  +
{{{usageInfo|
 
# 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 [https://apester.com/ Apester], and retrieve the Poll's unique ID from the iframe code given.
   
 
;Example
 
;Example
Line 34: Line 34:
   
 
<syntaxhighlight lang="javascript">"u:dev:ApesterIntegrator/code.js",</syntaxhighlight>
 
<syntaxhighlight lang="javascript">"u:dev:ApesterIntegrator/code.js",</syntaxhighlight>
+
}}}
== Demo ==
+
== {{{demo|Demo}}} ==
 
<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>
  +
</includeonly>

Latest revision as of 08:07, March 26, 2020

This article is about a system or feature that is no longer in use.

The page is retained for historical reasons.

Reason: <apester> tag for Apester integration exists now.

ApesterIntegrator adds the ability to embed Apester Polls onto Fandom 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",

Demo

Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.