Difference between revisions of "Help:Editing"

From Mario Fan Games Galaxy Wiki
(Categories)
(Templates)
Line 61: Line 61:
  
 
= Templates =
 
= Templates =
A template is the list that appears over every member's article. It is formatted like so:
+
Templates are called by placing their name in between curled brackets:
{{MFGGer| name = Their username
+
 
| othernames = Any other names they've used, separate with commas
+
<pre>{{MFGGer}}</pre>
| type = Their member group: Admin, Moderator, Member, Banned
 
| realname = Their actual name
 
| interests = Their interests, separate with commas
 
| badges = (see below)
 
  
Edit this section to see the source by clicking the "Edit" text next to this section's title. This template can be placed anywhere in the document, but is preferable at the very top, above absolutely everything else.
+
Fields are allocated to the template by placing them after |'s:
  
When adding badges, use the templates referred to in [[Help:Badges]].
+
<pre>{{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</pre>
  
 
= Disabling Code =
 
= Disabling Code =

Revision as of 01:38, 22 September 2006

Categories

At the bottom of any given document shound 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", it is preferable to do this:

[[Category: Name|<Document name - "the">]]

This will cause the document to be sorted ignoring the word "The", which is highly preferable. "The Explosive Mushroom" has a tag like this, as seen below:

[[Category: Name|Explosive 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]]

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]]


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>


Normally '''[[SonicProject]]''' would do this: SonicProject

But not when you use the nowiki tag. The nowiki tag allows you to demostrate how particular codes are used. This is especially useful when creating help pages.