Help:Editing: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (1 revision imported)
(improvements)
Line 1: Line 1:
This page covers the very basics of editing. It is recommended that new users read this page before editing.

==Absolute beginners?==
==Absolute beginners?==
'''If you can type and click, you can edit most pages on this wiki.'''
'''If you can type and click, you can edit most pages on this wiki.'''
#'''Find a page to improve'''.
#'''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.'')
#'''Click "Edit this page"'''.
#'''Click "Edit this page"'''.
#An "edit box" will open - '''type''' your new sentences or corrections (just like MS or Lotus or WordPerfect wordprocessing)
#An "edit box" will open - '''type''' your new sentences or corrections (just like any word processing software)
#'''Click the "Save" button''' - (well, it may be wise to hit the "Preview" button first, in case of mistakes!)
#'''Click the "Save" button''' - (well, it may be wise to hit the "Preview" button first, in case of mistakes!)
#'''You're now a Web Publisher. Welcome to the team!'''
#'''You're now an editor of this wiki! Welcome aboard!'''


==More detail==
==More detail==
As with all wikis, you can edit any non-[[Project:Protection policy|protected page]] on the Croc Wiki. Your changes will be visible immediately. Just click the "'''edit'''" link that appears near the top of every page.

As with all wikis, you can edit any non-[[Project:Protected page|protected page]] on this Wikia. 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".
Explain your edit in the "Summary" box between the edit window and the save and preview buttons. eg: "typo" or "added info on xyz".
Line 16: Line 17:


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.
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==
==Formatting==
Line 38: Line 37:
*<tt><nowiki>=====Another level down=====</nowiki></tt> (5 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.
If an article has at least three headings, a table of contents (TOC) will be automatically generated.


===Indenting===
===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.
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 new line (pressing '''Enter''' or '''Return''') marks the end of the indented paragraph.


For example:
For example:
Line 86: Line 85:


===Internal links===
===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.
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. Links to existing pages on the wiki are {{color|blue|#00c}} whereas links to nonexistent pages are {{color|red|#ba0000}}.


To make a link to another page on the same wiki, just put the title in double square brackets.
To make a link to another page on the same wiki, just put the title in double square brackets.
Line 93: Line 92:
:<tt><nowiki>[[Main Page]]</nowiki></tt>
:<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 English-layout and other keyboards).
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:
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:
Line 105: Line 104:
For example, you would write:
For example, you would write:


:<tt>Add questions to the Wikia for <nowiki>[[quiz]]zes</nowiki>.</tt>
:<tt>Mario stomps on <nowiki>[[Goomba]]s to flatten them</nowiki>.</tt>


It would appear as:
It would appear as:


:Mario stomps on [[Goomba]]s to flatten them.
:Add questions to the Wikia for [[quiz]]zes. (the link will be red if this page does not yet exist)


===Interwiki links===
===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.
To link to another Miraheze wiki, you can use its title followed by a colon and the article name, instead of using the full URL. Instead of deep blue, interwiki links are colored light blue.


For example, the Creatures Wiki home page is at [[Creatures:Main Page]], which can be typed as
For example, The Kirby Encyclopedia's home page is at [[mh:kirby:Main Page]], which can be typed as
:<nowiki>[[Creatures:Main Page]]</nowiki>
:<nowiki>[[mh:kirby:Main Page]]</nowiki>
:rather than as <nowiki>http://creatures.wikia.com/wiki/Main_Page</nowiki>
:rather than as <nowiki>https://kirby.miraheze.org/wiki/Main_Page</nowiki>


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]].
This style of link works for any wiki in the interwiki map, not just for Miraheze. See [[Special:Interwiki]] for a list of usable interwiki prefixes and their corresponding URLs.


===External links===
===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.
If you want to link to another website, you may just type the URL for the web page. External links are also colored light blue like interwiki links.


:http://www.google.com/
:https://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:
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 [https://www.google.com/ Google search engine], just type:
:<tt><nowiki>[http://www.google.com/ Google search engine]</nowiki></tt>
:<tt><nowiki>[https://www.google.com/ Google search engine]</nowiki></tt>


===Redirects===
===Redirects===
To redirect automatically from one page to another, type <nowiki>#REDIRECT</nowiki> and then put in brackets the name of the page to be redirected to.
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 could redirect from "Cats" to "Cat". That way, anyone typing either version in the search box will automatically go to "Cat".
For example, you could use <nowiki>#REDIRECT [[Worms]]</nowiki> to redirect to the page "Worm". That way, anyone typing either spelling in the search box will automatically go to "Worm".


==Wiki variables and templates==
==Wiki variables and templates==
Use <nowiki>{{SITENAME}}</nowiki> to see the current Wikia. For instance, '''''<nowiki>{{SITENAME}}</nowiki>''''' on this site prints out as '''''{{SITENAME}}'''''.
Use <nowiki>{{SITENAME}}</nowiki> to see the current Miraheze wiki. For instance, '''<nowiki>{{SITENAME}}</nowiki>''' on this wiki prints out as '''{{SITENAME}}'''.


That and a few other templates are common to MediaWiki sites.
That and a few other templates are common to MediaWiki sites.


Check the [{{SERVER}}/index.php?title=Special%3AAllpages&from=&namespace=10 current list of all templates on this Wikia].
Check the [{{SERVER}}/index.php?title=Special%3AAllpages&from=&namespace=10 current list of all templates on the Croc Wiki].


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, you might want to use a template.
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, you might want to use a template.


==Testing==
Most templates available on the Central Wikia can be used on individual wikia with just "wikia:" prefixed to the name. See the help page on Central at [[Wikia:Help:Shared templates]].
If you want to try something out just to see how it looks, you can use the [[Project:Sandbox|sandbox]]. The sandbox is just for experimenting, so any changes made to it are temporary.


[[Category:Help]]
[[category:help|Editing]]

Revision as of 19:45, January 19, 2022

This page covers the very basics of editing. It is recommended that new users read this page before editing.

Absolute beginners?

If you can type and click, you can edit most pages on this wiki.

  1. Find a page to improve.
  2. Click "Edit this page".
  3. An "edit box" will open - type your new sentences or corrections (just like any word processing software)
  4. Click the "Save" button - (well, it may be wise to hit the "Preview" button first, in case of mistakes!)
  5. You're now an editor of this wiki! Welcome aboard!

More detail

As with all wikis, you can edit any non-protected page on the Croc Wiki. 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.

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 ('):

  • ''italics'' is rendered as italics. (2 apostrophes on each side)
  • '''bold''' is rendered as bold. (3 apostrophes on each side)
  • '''''bolded italics''''' is rendered as bolded italics. (2 + 3 = 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:

  • ==Main heading== (2 equals signs)
  • ===Subheading=== (3 equals signs)
  • ====Another level down==== (4 equals signs)
  • =====Another level down===== (5 equals signs)

If an article has at least three headings, a table of contents (TOC) will be automatically generated.

Indenting

To indent text, place a colon (:) right at the beginning of a line. The more colons you put, the further indented the text will be. A new line (pressing Enter or Return) marks the end of the indented paragraph.

For example:
This is aligned all the way to the left.

:This is indented slightly.
::This is indented more.

is shown as:
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 (*). Similar to rectal indentation, more asterisks in front of a paragraph means more indentation.

A brief example:

*First list item
*Second list item
**Sub-list item under second
*Isn't this fun?

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 (#). Using more #s will affect the level of indenting.

Example:

#First item
#Second item
##Sub-item under second item
#Third item

Shows up as:

  1. First item
  2. Second item
    1. Sub-item under second item
  3. 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. Links to existing pages on the wiki are blue whereas links to nonexistent pages are red.

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

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:

Mario stomps on [[Goomba]]s to flatten them.

It would appear as:

Mario stomps on Goombas to flatten them.

Interwiki links

To link to another Miraheze wiki, you can use its title followed by a colon and the article name, instead of using the full URL. Instead of deep blue, interwiki links are colored light blue.

For example, The Kirby Encyclopedia's home page is at mh:kirby:Main Page, which can be typed as

[[mh:kirby:Main Page]]
rather than as https://kirby.miraheze.org/wiki/Main_Page

This style of link works for any wiki in the interwiki map, not just for Miraheze. See Special:Interwiki for a list of usable interwiki prefixes and their corresponding URLs.

External links

If you want to link to another website, you may just type the URL for the web page. External links are also colored light blue like interwiki links.

https://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:

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

Redirects

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

For example, you could use #REDIRECT [[Worms]] to redirect to the page "Worm". That way, anyone typing either spelling in the search box will automatically go to "Worm".

Wiki variables and templates

Use {{SITENAME}} to see the current Miraheze wiki. For instance, {{SITENAME}} on this wiki prints out as Croc Wiki.

That and a few other templates are common to MediaWiki sites.

Check the current list of all templates on the Croc Wiki.

You can create templates. After you create the page Template:XXX, using the command {{XXX}} will include that content in your current page. So, if you have something that needs to be included on many other pages, you might want to use a template.

Testing

If you want to try something out just to see how it looks, you can use the sandbox. The sandbox is just for experimenting, so any changes made to it are temporary.