Help:Contents

From XNAWiki

Jump to: navigation, search

Contents

Creating a New Page

Creating The Page

Creating a page is really easy with wiki software. Simply find a page where you want to link to the page and hit the Edit button at the top of the page. Place a link to the article you want to make. So if your article is going to be called My Cool Component, you can just link it like this:

[[My Cool Component]]

Then save the page. Next click on that link to go to the new page for your article. Insert your content and press save. Easy as that!

Categorize The Page

For extra points you should put the article into a category that describes it. So for a game component, you would want to put it in the game component category by putting this at the top of your page:

[[Category:Game Components]]

Please note that your page should have a single category based on the topic it covers (Game Components, Graphics - 2D, etc). Please try and use existing categories if they fit your page so we can avoid having hundreds of categories.

Posting "Rules"

Posting Anonymity

Articles posted to the wiki should be done so in an anonymous fashion. This means that you should not put a "by: So-And-So" in the article. You should also not "plug" your own site or blog when posting an article. Acceptable links are those for reference, clarification, or future learning. The reasons behind both of these rules is that multiple people may contribute to a single article and it becomes unfair to allow one person to take the credit and would be too messy to allow everyone to take credit.

Posting Code

Code can be posted in articles by using the <code lang="csharp"></code> tag. Any text placed inside is syntax highlighted. However the text is not word-wrapped. When posting code, please be sure to use line breaks so that the text doesn't run off the screen for people with non-widescreen monitors. This applies not only to long lines of actual code, but any comments as well. In general it's better to be conservative about line width than to have too long of lines.

Inserting Special Characters

If you want to write out special characters such as the < and > symbols inside a code section, you simply need to wrap the section with the 'pre' HTML tags. This will prevent the text inside from being translated. This is especially useful when showing XML code:

   <SomeTag>
      <AnotherTag />
   </SomeTag>
Personal tools