Difference between revisions of "Help:Editing"
(→Lists) |
|||
Line 47: | Line 47: | ||
= Lists = | = Lists = | ||
− | + | There are three forms of lists: | |
− | * | + | * Bulleted lists, created with the * character as the first character on the line, '''without even a space before it;''' |
− | * | + | * Numbered lists, created with a # as the first character, again, without even a space before it; and |
+ | * Indented, non-marked lists, created with a : as the first character. As usual, no space before it. | ||
− | + | Numbered lists will reset their numbering if you double-space your lines, e.g. | |
− | + | #1, and | |
+ | #2, and | ||
+ | |||
+ | #1 again, due to the line break | ||
− | + | Placing a space | |
+ | On the start of the line | ||
+ | Will indent the text | ||
+ | And add it to a box. | ||
+ | It also disables automatic line breaks, so | ||
+ | Avoid this whenever possible | ||
+ | Or all of your text will run off the page and you won't be able to read the line because it's far too long and it might only happen in Firefox but it's still irritating and I don't even know what the f | ||
= Redirects = | = Redirects = |
Revision as of 06:53, 8 February 2011
| ||
| ||
| ||
|
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
There are three forms of lists:
- Bulleted lists, created with the * character as the first character on the line, without even a space before it;
- Numbered lists, created with a # as the first character, again, without even a space before it; and
- Indented, non-marked lists, created with a : as the first character. As usual, no space before it.
Numbered lists will reset their numbering if you double-space your lines, e.g.
#1, and #2, and #1 again, due to the line break
Placing a space On the start of the line Will indent the text And add it to a box. It also disables automatic line breaks, so Avoid this whenever possible Or all of your text will run off the page and you won't be able to read the line because it's far too long and it might only happen in Firefox but it's still irritating and I don't even know what the f
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.
Signing
- When responding on a talk page, it is recommended to sign your name with two dashes and four tildes (--~~~~). Your name and the date your comment was written will be printed automatically for you. Alternately, you may click the signature button.