Style guidelines

This style guide provides guidance on how to make contributions to this wiki. It also is a central location for finding help on how to use certain features.

## Article organization

1. Naming articles:
	1. The first letter of the first word in each page name should be capitalized. Subsequent words should be capitalized only if they are proper nouns (i.e. if they would be capitalized in a normal sentence)
	2. Event pages should be created under their category. For example, the Bannerlord CC 1 event page is under BLCC/1

## Formatting

1. The first instance of any other page should be linked with square brackets [[like this]]

## Basics of MediaWiki

This wiki is powered by MediaWiki version 1.37.6 and has several extensions installed to provide additional functionality. The MediaWiki help pages are a good place to find information about the most basic functions, though pay attention to the versions that the information is applicable to. Similarly, the various extensions have their own sites with information. The list of currently installed extensions and relevant links is available in Special:Version. Editing can be done in the source editor or visual editor and the default can be changed in your user settings. Viewing the source of a page with something you want to include in your own page is a great way to learn how to do things. Since most wikis use MediaWiki, you need not restrict yourself to looking at this wiki for inspiration.

A wiki is a collection of pages which link to and often include content from other pages. Pages are organized into different "namespaces" which affect their function and are indicated with a prefix followed by a colon before the page name. Most users will only directly view pages in the "Main" namespace. These pages can be identified by the lack of prefix in the name (e.g. "BLCC"). Other notable namespaces include "Special" (e.g. "Special:SpecialPages"), the "Template" pages that exist primarily to be included in main pages or other templates (e.g. "Template:Infobox"), "Category" pages which are a collection of pages tagged with that category and are intended for organizational urposes (""), and the "User" profile pages (e.g. "User:BingRazer"). Some pages may be protected, allowing only users with certain permissions from editing them. These pages can still be viewed, have their source viewed, and transcluded to other pages. Pages are created by navigating to the desired page with your address bar and creating it after being met with the "There is currently no text in this page" message. Alternatively, mouse over the three dots at the top right of the browser and click "Add a new page". Note that the page name is case sensitive, except for the first letter which is always capitalized.

Pages can also have subpages which are indicated by a forward slash after the page name, such as the documentation pages for templates (e.g. Template:Infobox/doc) and the event pages (e.g. BLCC/1). These are generally for organizational purposes, though there are other reasons you might want to make these.

Formatting on pages is done with a combination of wikitext, HTML, and CSS, and the respective documentation will be useful to editors. It should be noted that some functionality is either disallowed entirely or allowed only to admins through use of the MediaWiki:Common.css page (which then allows classes on this page to be used by all wiki users). You can see the list of HTML tags useable in wikitext here. Square ([), angle (<), and curly ({) brackets are used to indicate formatting. Most commonly, links are done with double square brackets (e.g. "[[BLCC]]") and templates are used with double curly brackets (e.g. "{{Infobox}}"). Magic words are also useful and are used similarly to templates. Tables (alternate source on the types of tables) are a useful tool that nearly every wiki makes use of. These typically give very consistent results across browsers and platform. It is worth noting that the appearance, and even function, of a page may vary from browser to browser and by platform (primarily mobile vs desktop). This is most commonly a result of different CSS features being supported by different browsers.

Comments to wikitext that is only visible while editing the page can be added with <!-- Your comment here -->

Remember: when in doubt, read the documentation or look at how someone else did it and copy them.

## Images

Images are found in the file namespace (e.g. File:CC3-0.png) and are embedded by linking to the file (e.g. [[File:CC3-0.png]]. There are several options for the embedded image, most commonly size. To specify a width of the image while keeping the aspect ratio, simply indicate the pixel width separated from the file name by a pipe (e.g. [[File:CC3-0.png|100px]]. Another common option is changing the link of the image when clicked on. Again separated by a pipe, simply specify the link with "link=PageName" (e.g. [[File:CC3-0.png|100px|link=BLCC/1]]

## Templates

*Main article: Style guidelines/Templates*
Templates are a powerful tool to reduce the difficulty of editing, improve ease of reading the source of a page, and making wiki editing more accessible to the less experienced. Just like any other page, a template is created by navigating to the desired page location and creating it. At minimum, transcluding a template requires surrounding the name of the template page (minus the namespace) in double curly brackets, for example {{Infobox}}.