Community/Editing Guide

This page is meant to provide guidelines and rules around editing this wiki. If you have questions about any of the content included here you may comment on the editing guide's talk page, or on Arsène's talk page.

Creating a new page
On this wiki, there are 2 categories for code⁠—templates and boilerplates. Templates are individually coded sections that can be strung together to make a full page, and boilerplates are the strung together templates. Find the Boilerplates that are relevant to the page you are trying to create. Under the 'Usage' section, copy the code provided and paste it into the page you are creating, and fill out the relevant information.

Quick Links

 * Category:Templates
 * Category:Boilerplates
 * MediaWiki:Common.css

Editing Templates
If you are editing a template that is well established, then you should open a sandbox page. You can do this by adding /Sandbox to the end of the URL. This page will not affect the template, but will still allow you to modify things and test them. Only move sandbox code to the template once you are certain it is functional.

Avoid hardcoding as much as possible. If something can be made into a template, make it into a template. It's heavily encouraged to create boilerplates where appropriate, and provide the usable code for it. Documentation for what individual parameters do, how they interact with each other, etc. are also encouraged.

Always add a category for new templates. Templates go in Category:Templates and boilerplates go in Category:Boilerplates.

CSS
If you find yourself adding a lot of CSS inline or have a chunk of CSS you would like to reuse, please contact Arsène and it will get added. Preferably, have the CSS you want to add on hand, and a class name for it. Overall, you are encouraged to write CSS so long as it benefits the functionality of the site. Modifying things for aesthetics is fine, but you should ensure that it is functional across all screen sizes and does not conflict with anything.

Utility Classes
There are a couple of utility classes kept in MediaWiki:Common.css. They are as follows:


 * .p0, .p2, .p5
 * padding: 0px, padding: 0.2em, and padding: 0.5em respectively