Difference between revisions of "Template:Toc"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 3: Line 3:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<!-- Load font awesome icons -->
+
<html><!-- Load font awesome icons -->
 
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 
 
<!-- The social media icon bar -->
 
<!-- The social media icon bar -->
 
<div class="icon-bar">
 
<div class="icon-bar">
Line 11: Line 10:
 
   <a href="#" class="twitter"><i class="fa fa-twitter"></i></a>
 
   <a href="#" class="twitter"><i class="fa fa-twitter"></i></a>
 
   <a href="#" class="youtube"><i class="fa fa-discord"></i></a>
 
   <a href="#" class="youtube"><i class="fa fa-discord"></i></a>
</div>  
+
</div></html>  
  
  
 
<div class="ftoc"><div class="ftoc_content">__TOC__</div></div>
 
<div class="ftoc"><div class="ftoc_content">__TOC__</div></div>
 
</includeonly>
 
</includeonly>

Revision as of 17:48, 9 September 2022

Generates a floating Table of contents menu in a fixed position on the left hand side of the screen. Javascript's were (they weren't loading correctly) in Template: MediaWiki:Common.js/ftoc.js and MediaWiki:Common.js/slimscroll.js