How to Wiki: Difference between revisions

Line 234: Line 234:
<div style="display:inline-block;float:right;">{{Button|1=http://wiki.mcgilleus.ca/index.php/FontAwesome|2=FontAwesome|3=fa-link|4=SteelBlue}}</div>A well known bootstrap based icon pack, '''''FontAwesome''''' is a very easy way to include icons without having to import anything. They're flexible in terms of resizing, color, and placement, and varied enough that you're sure to find the icon you're looking for. To see a complete list of compatible icons, navigate to our [[FontAwesome]] wiki page, which includes how to embed and a few examples.
<div style="display:inline-block;float:right;">{{Button|1=http://wiki.mcgilleus.ca/index.php/FontAwesome|2=FontAwesome|3=fa-link|4=SteelBlue}}</div>A well known bootstrap based icon pack, '''''FontAwesome''''' is a very easy way to include icons without having to import anything. They're flexible in terms of resizing, color, and placement, and varied enough that you're sure to find the icon you're looking for. To see a complete list of compatible icons, navigate to our [[FontAwesome]] wiki page, which includes how to embed and a few examples.


==Templates==
===Navigation Bars===
The navigation bars are made using Templates and CSS.
<pre>Templates:Example</pre> can recall the article ''Example'' as a template by being saved the same as a regular article. Once the template is saved, you can recall it in any ''other'' article by adding {{}} and removing the 'Templates:' preface, <br><pre>{{Example}}</pre> ''(neglect the brackets in each case around name)''.<br>
Take for example the [[Template:FinanceBar]], this is the object recalled across each finance related articles. To change the template is to change the navigation bar for finance. This example is made manipulating the [https://www.mediawiki.org/wiki/Manual:CSS common.css].
==Widgets==
==Widgets==
'''Widgets''' is a blanket term for easy to add HTML pages/elements. They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Most of the time you would be working with [https://www.mediawikiwidgets.org/Widgets_Catalog pre-written widgets].<br>
'''Widgets''' is a blanket term for easy to add HTML pages/elements. They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Most of the time you would be working with [https://www.mediawikiwidgets.org/Widgets_Catalog pre-written widgets].<br>