Help:Editing: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
Line 3: Line 3:




==Formatting==
Most text formatting is usually done with wiki markup, so you don't have to learn HTML.


===Bold and italics===
'''Bold''' and ''italics'' are added by surrounding a word or phrase with multiple apostrophes ('):
*<tt><nowiki>''italics''</nowiki></tt> is rendered as ''italics''. (2 apostrophes on each side)
*<tt><nowiki>'''bold'''</nowiki></tt> is rendered as '''bold'''. (3 apostrophes on each side)
*<tt><nowiki>'''''bolded italics'''''</nowiki></tt> is rendered as '''''bolded italics'''''.  (2&nbsp;+&nbsp;3&nbsp;=&nbsp;5 apostrophes on each side)
===Headings and subheadings===
Headings and subheadings are an easy way to improve the organization of an article. If you can see two or more distinct topics being discussed, you can break up your article by inserting a heading for each section.
Headings can be created like this:
*<tt><nowiki>==Main heading==</nowiki></tt> (2 equals signs) <!-- it's not the "top" level -->
*<tt><nowiki>===Subheading===</nowiki></tt> (3 equals signs)
*<tt><nowiki>====Another level down====</nowiki></tt> (4 equals signs)
*<tt><nowiki>=====Another level down=====</nowiki></tt> (5 equals signs)
If an article has at least three headings, a table of contents (TOC) will be automatically generated. Try creating some headings in the [[PROJECT:Sandbox|Sandbox]] and see the effect on the TOC.
===Indenting===
To indent text, place a colon (<tt>:</tt>) right at the beginning of a line. The more colons you put, the further indented the text will be. A newline (pressing '''Enter''' or '''Return''') marks the end of the indented paragraph.
For example:
<br><tt>This is aligned all the way to the left.</tt>
:<tt><nowiki>:</nowiki>This is indented slightly.</tt>
:<tt><nowiki>::</nowiki>This is indented more.</tt>
is shown as:
<br>This is aligned all the way to the left.
:This is indented slightly.
::This is indented more.
===Bullet points===
To insert a bullet, use an asterisk (<tt>*</tt>). Similar to rectal indentation, more asterisks in front of a paragraph means more indentation.
A brief example:
:<tt><nowiki>*</nowiki>First list item</tt>
:<tt><nowiki>*</nowiki>Second list item</tt>
:<tt><nowiki>**</nowiki>Sub-list item under second</tt>
:<tt><nowiki>*</nowiki>Isn't this fun?</tt>
Which is shown as:
:*First list item
:*Second list item
:**Sub-list item under second
:*Isn't this fun?
===Numbered lists===
You can also create numbered lists. For this, use the number sign or hash symbol (<tt>#</tt>). Using more <tt>#</tt>s will affect the level of indenting.
Example:
:<tt><nowiki>#</nowiki>First item</tt>
:<tt><nowiki>#</nowiki>Second item</tt>
:<tt><nowiki>##</nowiki>Sub-item under second item</tt>
:<tt><nowiki>#</nowiki>Third item</tt>
Shows up as:
:#First item
:#Second item
:##Sub-item under second item
:#Third item


==Links==
==Links==

Revision as of 17:48, February 14, 2009




Links

Links are important on wikis to help readers navigate your site.

Internal links

You can extensively cross-reference wiki pages using internal links. You can add links to existing titles, and also to titles you think ought to exist in future.

To make a link to another page on the same wiki, just put the title in double square brackets.

For example, if you want to make a link to, say, the Main Page, it would be:

[[Main Page]]

If you want to use words other than the article title as the text of the link, you can add an alternative name by adding it after a pipe "|" divider (SHIFT + BACKSLASH on English-layout and other keyboards).

For example, if you wanted to make a link to the Main Page, but wanted it to say "home page" you would write it as such:

View the [[Main Page|home page]]...

It would appear as:

View the home page...

When you want to use the plural of an article title (or add any other suffix) for your link, you can add the extra letters directly outside the double square brackets.

For example, you would write:

Add questions to the Wikia for [[quiz]]zes.

It would appear as:

Add questions to the Wikia for quizzes. (the link will be red if this page does not yet exist)

Interwiki links

To link to another Wikia, you can use its title followed by a colon and the article name, instead of using the full URL.

For example, the Creatures Wiki home page is at Creatures:Main Page, which can be typed as

[[Creatures:Main Page]]
rather than as http://creatures.wikia.com/wiki/Main_Page

This style of link works for any wiki in the interwiki map, not just for Wikia. See the Central Wikia page at Wikia:Help:Interwiki link.

External links

If you want to link to a site outside of Wikia, you may just type the full URL for the page you want to link to.

http://www.google.com/

It is often more useful to make the link display something other than the URL, so use one square bracket at each end, with the alternative title after the full URL address, separated by a space (not a pipe). So if you want the link to appear as Google search engine, just type:

[http://www.google.com/ Google search engine]

Redirects

To redirect automatically from one page to another, type #REDIRECT and then put in brackets the name of the page to be redirected to.

For example, you could redirect from "Cats" to "Cat". That way, anyone typing either version in the search box will automatically go to "Cat".