Help:Editing

From Mario Fan Games Galaxy Wiki
Revision as of 00:22, 26 August 2008 by Razz (talk | contribs)

This page covers the basic codes used for all Wiki software, including MFGG Wiki. It's very similar to BBCode used on the main site and forums.

Categories

At the bottom of any given document should be links in the following format:

[[Category: Name]]

This will cause a special link to appear where it is placed, leading to a category.

If the document's name begins with the word "The", as in "The Exploding Mushroom" it is preferable to do this:

[[Category: MFGGer|Exploding Mushroom]]

To add an article to more than one category, simply add more Category tags:

[[Category:Fangame]]

[[Category:Site]]

To link to a category without placing the article in said category, append a colon to the beginning:

[[:Category:Site]]

Note that the {{MFGGer}} and {{Game}} templates will automatically add the page to the MFGGer and Fangame categories respectively. Also some badge templates will also link the user with a category, such as the Administrator badge template which will put the page in the MFGG Administration category. It won't make a difference if you have the code twice.

Images

Images are placed similar to URLs: [[Image:ImageName.ext]]

Optionally, you can move the image to the right: [[Image:ImageName.ext|right]]

And thumbnail it: [[Image:ImageName.ext|thumb|right]]

And give it a description (thumbnail only): [[Image:ImageName.ext|thumb|right|Description]]

You can also adjust the size of the thumbnail just in case it's unreadable: [[Image:ImageName.ext|thumb|300px|right|Description]]

Obviously for the last one, don't make the "300px" too big or too small.


You can link to external images simply by pasting the URL, however it is advised just to upload the image so you can link to it internally.

Lists

Lists may be in two formats:

  • This is
  • The first format
   *This is
   *Another

These lists are obtained by placing an asterisk (*) and then the items. Indenting the asterisk with four spaces grants it its own box.

Redirects

To create a redirect to another article, create an article containg only this:

#REDIRECT [[Some Article]]

The article name is case-sensitive. This is particularly helpful in User: <name> articles, accessed by clicking a username such as on Last Made Changes page.

Templates

Templates are called by placing their name in between curled brackets:

{{MFGGer}}

Fields are allocated to the template by placing them after |'s:

{{MFGGer
| name = Their username 
| othernames = Any other names they've used, separate with commas 
| type = Their member group: Admin, Moderator, Member, Banned 
| realname = Their actual name 
| interests = Their interests, separate with commas 
| badges = (see below)
}}Place beginning of article here with no line break

Disabling Code

<nowiki>'''[[SonicProject]]'''</nowiki>

This prevents '''[[SonicProject]]''' from parsing as SonicProject, or any other code in the nowiki tag.

External Links

All internal links have a set of double square brackets. External links only have a single one.

[[Internal Link|Linky]] - only needs a page name, values separated with a "|".

[http://ExternalLink Linky] - Needs full URL, values separated with a space.

When using external links in an article, try to put them at the bottom under an "External Links" header. It's also nicer if you bullet point them.