Help:Editing: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(→‎Internal links: a bit more correct)
(dfv)
Line 1: Line 1:
{{helppage}}
{
==Absolute beginners?==
'''If you can type and click, you can edit most pages on this wiki.'''
 
1. '''Find a page to improve'''. (''If you want, you can practice in the [[project:Sandbox|Sandbox]] first.  It's there for "practicing", or experimenting with almost anything.  It's a good place to get used to how the wiki works.'')
 
2. '''Click "Edit this page"'''.
 
3. An "edit box" will open - '''type''' your new sentences or corrections (just like any word processing program)
 
4. '''Click the "Save" button''' - (well, it may be wise to hit the "Preview" button first, in case of mistakes!)
 
5. '''You're now a SmashWiki editor. Welcome aboard!'''
 
==More detail== 
 
As with all wikis, you can edit any non-protected page on SmashWiki. Your changes will be visible immediately. Just click the "'''edit'''" link that appears near the top of every page.
 
Explain your edit in the "Summary" box between the edit window and the save and preview buttons. eg: "typo" or "added info on xyz".
 
Use the "Show preview" button to check your edit and get the formatting right before saving. Remember to '''Save page''' before moving on.
 
If you are logged in, you can mark an edit as minor by checking the ''This is a minor edit'' box to let people know your edit is not something substantive.
 
To try editing, open a new window and go to the [[PROJECT:Sandbox|Sandbox]] (which is an editing test area), and then click the "'''edit'''" link. Add something and click save.
 
==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 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:
:<tt><nowiki>[[Main Page]]</nowiki></tt>
 
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 most English 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:
:<tt>View the <nowiki>[[Main Page|home page]]</nowiki>...</tt>
 
It would appear as:
:View the [[Main Page|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:
 
:<tt><nowiki>[[Party Ball]]s</nowiki> release many <nowiki>[[item]]s</nowiki>.</tt>
 
It would appear as:
 
:[[Party Ball]]s release many [[item]]s.
 
Several templates exist for the purpose of shortening commonly-used link patterns. An example of this is the {{t|SSBM}} template, which can be used to shorten <tt><nowiki>[[Mario (SSBM)|Mario]]</nowiki></tt> into <tt><nowiki>{{SSBM|Mario}}</nowiki></tt>; the two both look and act the same when viewed on a page ([[Mario (SSBM)|Mario]] and {{SSBM|Mario}}), but one is simpler to type than the other. Make sure to preview edits using shortcut link templates so you know you've used them properly.
 
===Interwiki links===
To link to another wiki (such as Wikipedia or Bulbapedia), you can use its title followed by a colon and the article name, instead of using the full URL.
 
For example, the Wikipedia Main Page is at [[Wikipedia:Main Page]], which can be typed as
:<nowiki>[[Wikipedia:Main Page]]</nowiki>
:rather than as <nowiki>http://en.wikipedia.org/wiki/Main_Page</nowiki>
 
A complete list of interwiki links available on {{SITENAME}} can be seen at [[Special:Interwiki]].
 
===External links===
If you want to link to a non-wiki site, 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 [http://www.google.com/ Google search engine], just type:
:<tt><nowiki>[http://www.google.com/ Google search engine]</nowiki></tt>
 
===Redirects===
To redirect automatically from one page to another, type <nowiki>#REDIRECT</nowiki> and then put in '''two square''' brackets the name of the page to be redirected to.
 
For example, you use <nowiki>#REDIRECT[[Cat]]</nowiki> to redirect from a page like "Cats",  to the page "Cat". That way, anyone typing either spelling in the search box will automatically go to "Cat".
 
==Templates==
You can create templates.  After you create the page Template:XXX, using the command  <nowiki>{{XXX}} </nowiki> will include that content in your current page.  So, if you have something that needs to be included on many other pages, like the one below, you might want to use a template.
 
{{helpnav}}
[[category:help|Editing]]

Revision as of 14:52, October 13, 2014

{