Widget:Discourse: verschil tussen versies

Uit Inf2019
Naar navigatie springen Naar zoeken springen
(Nieuwe pagina aangemaakt met '<noinclude>__NOTOC__ This is a test widget for embedding Discourse topics - from forum.infvo.nl == Using this widget == This is a test widget {{widget:Discourse...')
 
Geen bewerkingssamenvatting
 
(7 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
<noinclude>__NOTOC__
<noinclude>__NOTOC__
This is a test widget for embedding Discourse topics - from forum.infvo.nl
This is a widget for embedding Discourse topics - from '''forum.infvo.nl'''


== Using this widget ==
== Using this widget ==
This is a test widget
This widget is
 
<nowiki>
{{widget:Discourse
{{widget:Discourse
| topicid=217
|topicid=217
}}
}}
</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.
</noinclude><includeonly>
</noinclude><includeonly>
<div id='discourse-comments'></div>
<div id='discourse-comments'></div>
page=<!--{$pagename|default:'hello'}-->
<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() {

Huidige versie van 10 nov 2017 om 13:50

This is a widget for embedding Discourse topics - from forum.infvo.nl

Using this widget

This widget is {{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.