Difference between revisions of "BattleMaster Wiki:Style Guide"

From BattleMaster Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
== Page Name Guidelines ==
 
== Page Name Guidelines ==
 
* Avoid articles (a, an, the) in page names
 
* Avoid articles (a, an, the) in page names
* Avoid plurals. Use "Family" instead of "Families" and "Realm" instead of "Realms". ''Exceptions'': If Battlemaster never uses the singular, use the plural. Use "Bonds" not "Bond" and "Taxes" not "Tax".
+
* Avoid plurals. Use "Family" instead of "Families" and "Realm" instead of "Realms". This is easy with [[Help:Link#Plurals|plural links]]. ''Exceptions'': If Battlemaster never uses the singular, use the plural. Use "Bonds" not "Bond" and "Taxes" not "Tax".
 +
* More generally, avoid suffixes. Prefer "deport" to "deportation", use "bank" instead of "banking". ''Exceptions'': use common sense, "banker" is very different from a "bank", "infiltrator" is probably better than "infiltrate" .
 
* Links and page names should be ''plain english'' and not "CamelCase". MediaWiki does ''not'' automatically create links, you have to use the <nowiki>[[name]]</nowiki> syntax, so you can use proper titles as well.
 
* Links and page names should be ''plain english'' and not "CamelCase". MediaWiki does ''not'' automatically create links, you have to use the <nowiki>[[name]]</nowiki> syntax, so you can use proper titles as well.
 
* Since Mediawiki automatically capitalises the first letter of any links, all page names should start with a capital letter and use proper capitalisation otherwise, while links should use the proper case (usually lowercase). Example: The correct page name is "Style guide", but a link in normal text should point to the [[Meta:Style guide|style guide]].
 
* Since Mediawiki automatically capitalises the first letter of any links, all page names should start with a capital letter and use proper capitalisation otherwise, while links should use the proper case (usually lowercase). Example: The correct page name is "Style guide", but a link in normal text should point to the [[Meta:Style guide|style guide]].
Line 22: Line 23:
 
* Help: For pages that help people getting around the wiki.
 
* Help: For pages that help people getting around the wiki.
 
* Meta: Stuff for the editors or people interested in contributing things.
 
* Meta: Stuff for the editors or people interested in contributing things.
 
  
 
== Article Structure Guidelines ==
 
== Article Structure Guidelines ==

Revision as of 20:03, 21 July 2005

Basics

  • Use Wiki syntax wherever possible, only use HTML if necessary.
  • Use Templates if (and only if) the same text will appear on at least two pages.
  • Most pages should be in at least one category, define categories always at the bottom of a page
  • Do not link to your personal pages from offical manual pages! The families page does not need links to every family in battlemaster.


Page Name Guidelines

  • Avoid articles (a, an, the) in page names
  • Avoid plurals. Use "Family" instead of "Families" and "Realm" instead of "Realms". This is easy with plural links. Exceptions: If Battlemaster never uses the singular, use the plural. Use "Bonds" not "Bond" and "Taxes" not "Tax".
  • More generally, avoid suffixes. Prefer "deport" to "deportation", use "bank" instead of "banking". Exceptions: use common sense, "banker" is very different from a "bank", "infiltrator" is probably better than "infiltrate" .
  • Links and page names should be plain english and not "CamelCase". MediaWiki does not automatically create links, you have to use the [[name]] syntax, so you can use proper titles as well.
  • Since Mediawiki automatically capitalises the first letter of any links, all page names should start with a capital letter and use proper capitalisation otherwise, while links should use the proper case (usually lowercase). Example: The correct page name is "Style guide", but a link in normal text should point to the style guide.
  • All examples should end with the word "Example" and should be in the "Examples" category. Examples shall contain absolutely no information that is not available on the main article.


Namespaces

Remember that you can not define new namespaces. They syntax might make you believe you can, but "Example:XXX" only creates a page named so, it does not create an "Example" namespace. To cluster pages, use categories, not namespaces. Namespace is a meta-concept.

The namespaces we use:

  • Main (or "BattleMaster Wiki") or no prefix - most pages.
  • Help: For pages that help people getting around the wiki.
  • Meta: Stuff for the editors or people interested in contributing things.

Article Structure Guidelines

  • TOC (automatically inserted by Mediawiki once the article has a certain length)
  • Every article starts with an overview or abstract that sums up the content in an easy-to-understand language. The purpose of this introduction is that anyone who wants only a summary does get a full set of information on the subject with no important missing bits. He will lack the details but he knows everything that is important.
  • Use sections and sub-sections to structure the content within an article. Section names should be capitalised. (should they? how does this look to native english speakers? please discuss. Tom)
  • Every article covers its subject completely, using links to more information if necessary, so that someone going to the XYZ article can find everything about XYZ there, or at least links to it.
  • If you ever wonder if you should split a topic up over several pages or write one long article, err on the side of expanding an article. Long articles are better than multiple short articles.

This example article shows how an article can be structured.

Writing Guidelines

(we have not yet agreed on a writing style)


Formatting Guidelines

  • Use wiki syntax if possible, only use HTML if it is really necessary. Don't use wiki syntax just because it looks better, consistency is more important than beauty, and improving optics via CSS is better than having it hardcoded inline.
  • Use logical formatting - <small> is better than <FONT SIZE=-1> and the wiki double-apostrophe is better than <i> unless it is imperative that the text be italic and nothing else.


Category Guidelines

  • Create a new category if there are more than 4-5 long articles belonging to a topic. Category names should be short, single words if possible.
  • Make sure there is not already a category they would fit into.
  • Remember that articles can be in multiple categories.
  • Categories are a secondary navigation layer. They do not replace a proper navigational structure and category pages are not a replacement for a properly ordered overview or introduction page.


This article is a stub or placeholder. The BattleMaster Wiki is a collaborative effort, and you can help expand it by adding to this article.