Geen bewerkingssamenvatting |
(Zie JIRA-issue EMT-791.) |
||
Regel 1: | Regel 1: | ||
<noinclude> | <noinclude>Dit is de Widget:EMMNavigatorTree Widget.</noinclude> | ||
</noinclude> | |||
<includeonly> | <includeonly> | ||
<div id="emm-navtree" class="demo" style="margin-top:1em;"></div> | <div id="emm-navtree" class="demo" style="margin-top:1em;"></div> | ||
<link rel="stylesheet" type="text/css" href="../extensions/emm-navigation-tree/js/lib/style.css"> | <link rel="stylesheet" type="text/css" href="../extensions/emm-navigation-tree/js/lib/style.css"> | ||
<script type="text/javascript"> | |||
function checkIfReadyAndExecute() | |||
{ | |||
var c='<!--{$rootPages}-->'; | |||
var emmNavigationTree=new EMMNavigationTree(mw, | |||
"<!--{$currentPageName|default:'Pagename niet doorgekregen'}-->",c); | |||
} | |||
RLQ.push(function () { | |||
mw.loader.using(['ext.EMMNavigationTree',"mediawiki.api"], function() {console.log("module loaded");checkIfReadyAndExecute();}); | |||
}); | |||
</script> | |||
</includeonly> | </includeonly> |
Versie van 13 okt 2017 15:53
Dit is de Widget:EMMNavigatorTree Widget.