Help:Editing
From SDA Knowledge Base
Contents
Basic formatting
Italics is added by surrounding a word with two pairs of apostrophes. ''Example'' shows up as Example
Bold is done by surrounding a word with three pairs of apostrophes. '''Example''' shows up as Example
Section headings are created by surrounding the section title with pairs of equal signs. The numbers of pairs of equal signs designates the level heading it is. =Level 1=, ==Level 2== ===Level 3=== and so on.
Lists can be created by adding asterisks (*) for bulleted lists or number signs (#) for numerical lists at the beginning of a line. The number of * or # indicate that it is a subpoint of the previous points.
- Example
*Bullet point *Bullet point 2 **Sub bullet point
Shows up as
- Bullet point
- Bullet point 2
- Sub bullet point
#Item 1 #Item 2 ##Subitem
Shows up as
- Item 1
- Item 2
- Subitem
Indents can be created through usage of the colon, and "definition lists" are started with a semicolon.
;Word :Definition ::Double indent
Shows up as
- Word
- Definition
- Double indent
In addition, many html tags work.
Links
There are two main types of links.
- Internal links
- Links to other articles on this wiki.
- External links
- Links going outside the wiki.
It is recommended that you please always use internal links for linking to other articles.
Internal links
Internal links are for other articles on the site. They are added by surrounding what you want to link to in to pairs of brackets. The format is [[Name of Article]]
- Example
- [[Main Page]] shows up as Main Page.
Links show up as blue when you are linking to an article that exists. Links show up as red on traditional skins, orange on the SDA default skin, when the article doesn't exist.
You can combine links with general wiki formatting. You can create headings with links in them, make bold links, etc.
- Example
- ''[[Contra]]'' shows up as Contra
To link to one thing, and call it something else, you used a "Piped Link". It is called this because the pipe character (|) is used. In double brackets, you first write the name of the article you want to link to, then add | then add what you want the link to say instead. The format is [[Name of Article|What link says]]
- Example
- [[Main Page|SDA Knowledge Base]]<nowiki> shows up as [[Main Page|SDA Knowledge Base]]. Note that with piped links, you can still use formatting within the link. ;Example :<nowiki>[[SDA Strategy Wiki|''SDA'' '''Strategy''' Wiki]] shows up as SDA Strategy Wiki
Linking to a specific section of an article is done through adding a number sign after the title of the article, then the name of the section. If you simply add a #, you link to a section of the article you are currently editing. Note that if an article has multiple sections with the same name, you have to add the number for which section.
- Example
- [[SDA Strategy Wiki#Finding a game]] shows up as SDA Strategy Wiki#Finding a game
- [[#External links]] shows up as #External links
External links
External links go outside the site. If you want to display the url, simply type the url (include the http). It will automatically appear as a hyperlink
If you want to link to an external site, but have it say something other than the url, than within a single pair of brackets, you type the url, then a space, then what you want to say. [http://siteyouwanttolinkto.com What you call it]
- Example
- [http://www.speeddemosarchive.com/ SDA] shows up as SDA
Subpages
Subpages link back to the main article at the beginning. They are added by adding a slash after the title of the main article.
- Example
- Metroid Fusion/Any%
Embedding Videos
The format for embedding videos is:
{{#ev:service|id}}
Service is the name of the video hosting service.
youtube |
vimeo |
googlevideo |
id is the video id. You get this from your video's url This is the link to Heidman's Contra speedrun on YouTube
http://www.youtube.com/watch?v=5EtECO0hE10
So the service is youtube and the video id is 5EtECO0hE10 So you would use:
{{#ev:youtube|5EtECO0hE10}}
And you get:
Images and other files
To add a image or other file, you must first upload it. To do so, you go to Special:Upload. Follow the instructions on the page. Don't worry about licensing. You can also upload new versions of images with the same file name, but only if they have the same filename extension (.jpg and the like).
To add it to an article, link it like you would to another page on the site. Inside double brackets, you type File:, the name of the image, and then the filename extension (.jpg, .png, etc). In full, it is [[File:NAME.extension]]
Advanced Formatting
- Table Formatting
- {| class="wikitable" Begins the Table
- | Is used for each entry across
- |- Skips to the next row
- |} Ends the table
{| class="wikitable"
|Categories
|-
|Any %
|}
Will get you:
Categories |
Any% |
Here's an example with two rows across:
{| class="wikitable"
|Game
|Categories
|-
|Contra
|Any%
|}
You get:
Game | Categories |
Contra | Any% |