Widget:Discourse: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 9: | Regel 9: | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
== Copy to your site == | == Copy to your site == | ||
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | ||
Regel 16: | Regel 17: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
DiscourseEmbed = { discourseUrl: 'https://forum.infvo.nl/', | DiscourseEmbed = { discourseUrl: 'https://forum.infvo.nl/', | ||
topicId: <--($topicid)--> }; | topicId: '<--($topicid)-->' }; | ||
(function() { | (function() { |
Versie van 10 nov 2017 11:34
This is a test widget for embedding Discourse topics - from forum.infvo.nl
Using this widget
{{widget:Discourse | topicid=217 }}
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Discourse article.