Tried to add viki to pages but hide it unless wanted. Tried using https://www.mediawiki.org/wiki/Manual:Collapsible_elements
<div class="toccolours mw-collapsible mw-collapsed" style="width:40em">
{{ #viki:pageTitles={{FULLPAGENAME}} }}
</div>
The viki call works outside of the div, but inside the div it just seems to render many words printed on top of each other.