Help:Editing: Difference between revisions
(A new section on galleries) |
(Moved the more advanced editing techniques to Help:Editing/Advanced techniques.) |
||
Line 1: | Line 1: | ||
{{clean| | {{clean|Add missing info, and implement a consistent style.}} | ||
This page is a reference and a tutorial for Mediawiki code, which is the code used on this wiki. Should there be something that you cannot find here, but want explained, ask [[Help talk:Editing|here]]. | This page is a reference and a tutorial for Mediawiki code, which is the code used on this wiki. More advanced techniques can be found [[Help:Editing/Advanced techniques|here]]. Should there be something that you cannot find here, but want explained, ask [[Help talk:Editing|here]]. | ||
== Text == | == Text == | ||
Line 182: | Line 182: | ||
|} | |} | ||
== | ==Redirects== | ||
To have a page automatically redirect to a different one, use: | To have a page automatically redirect to a different one, use: | ||
:<pre><nowiki>#REDIRECT[[redirect location]]</nowiki></pre> | :<pre><nowiki>#REDIRECT[[redirect location]]</nowiki></pre> | ||
==Categories== | ==Categories== | ||
Line 264: | Line 195: | ||
==Tables== | ==Tables== | ||
{{main|Help:Tables}} | {{main|Help:Tables}} | ||
==Signatures== | ==Signatures== |
Revision as of 22:40, April 14, 2021
This article or section needs to be cleaned up, either its format or general style. |
This page is a reference and a tutorial for Mediawiki code, which is the code used on this wiki. More advanced techniques can be found here. Should there be something that you cannot find here, but want explained, ask here.
Text
Text entered into the editor will appear in the article as standard text.
To separate paragraphs, there must be an empty line between them.
Code | Result |
---|---|
This is some text. This is a new paragraph. |
This is some text.
This is a new paragraph. |
Links
To link to another page, surround a piece of text with 2 square brackets. This will create a link to the article within the square brackets.
Code | Result |
---|---|
A [[Bulborb]] is found in the [[Garden of Hope]]. |
A Bulborb is found in the Garden of Hope. |
To change the text displayed in the link, place a vertical bar between the link text and the displayed text.
Code | Result |
---|---|
Caves are [[Randomization|randomly generated]] by arranging [[Cave unit|rooms]]. |
Caves are randomly generated by arranging rooms. |
Note that the capitalization of article titles in links must be correct for the link to work (except for the first letter in the title, which can have any capitalization).
Formatting
To make text italic or bold, surround it with 2 or 3 apostrophes.
Code | Result |
---|---|
''This text is italic.'' '''This text is bold.''' '''''This text is italic and bold.''''' |
This text is italic.
This text is bold. This text is italic and bold. |
To make a bulleted list, put an asterisk at the start of each line. Using multiple asterisks will indent the list.
Code | Result |
---|---|
Enemies: *Grub-dog family **Bulborb **Orange Bulborb *Breadbug family **Dwarf Bulborb **Dwarf Orange Bulborb |
Enemies:
|
A numbered list is similar, but with # symbols instead.
Code | Result |
---|---|
Areas: #The Impact Site #The Forest of Hope #The Forest Navel #The Distant Spring #The Final Trial |
Areas:
|
A paragraph of text can be indented by starting it with a colon. Using multiple colons will indent it further. This is commonly used in talk pages to indicate a reply.
Code | Result |
---|---|
This is a paragraph. :This is a reply to that paragraph. ::This is another reply. |
This is a paragraph.
|
Sections
Articles are divided into sections, and there can be multiple levels of sections. To make a paragraph of text into a section heading, surround it with 2 or more equals signs.
Code | Result |
---|---|
== Main heading == Paragraph. === Subheading === Paragraph. ==== Minor heading ==== Paragraph. |
Main headingParagraph. SubheadingParagraph. Minor headingParagraph. |
It is possible to link to sections of an article by placing a # sign between the article name and the section name. Omitting the article name will link to another section of the current article.
Code | Result |
---|---|
[[Ship part#List]] is a section of the [[ship part]] article. See [[#Sections|here]] for more information about sections. |
Ship part#List is a section of the ship part article. See here for more information about sections. |
Images
To make an image appear on a page, link to the article containing the image, which will start with File:
and end with the image's file format.
Code | Result |
---|---|
[[File:SSBB Olimar.jpg]] |
This produces an image with no frame and at its original resolution, which is generally not a good thing. To fix these things, put |thumb
after the file name, which will turn it into a thumbnail.
Code | Result |
---|---|
[[File:SSBB Olimar.jpg|thumb]] |
It is possible to add a caption to images by putting text after another vertical bar.
Code | Result |
---|---|
[[File:SSBB Olimar.jpg|thumb|Olimar in ''Super Smash Bros. Brawl''.]] |
Finally, it is possible to change the size of images and their position on the page with additional pieces of text before the caption. 250px
will make the image 250 pixels wide (this number can be changed, and the default size is 200 pixels wide), and left
will place the image on the left of the screen (center
and right
also work, and right is the default position).
Code | Result |
---|---|
[[File:SSBB Olimar.jpg|thumb|left|250px|Olimar in ''Super Smash Bros. Brawl''.]] |
An alternative way to show images is in a gallery. Galleries display images at small sizes in a grid. To make one, surround a section with <gallery>
and </gallery>
, and place each file name (without the File:
prefix) on a new line. Image captions can be placed after a vertical bar.
Code | Result |
---|---|
<gallery> PuffyBlowhog.png|The Puffy Blowhog in ''Pikmin 2''. Puffy Blowhog P3 side view.jpg|The Puffy Blowhog in ''Pikmin 3''. </gallery> |
Redirects
To have a page automatically redirect to a different one, use:
#REDIRECT[[redirect location]]
Categories
If you want to add a page to a category, simply add:
[[Category:Category name]]
If you want to make a link to a category and don't want to add the page to that specific category, add a colon in front of "Category". For example, to link to Category:2-Player Locations, type:
[[:Category:2-Player Locations]]
Tables
- Main article: Help:Tables.
Signatures
How to sign a post
To sign your name at the end of your posts, type four tildes.
~~~~, for me, produces Prezintenden 20:35, 29 January 2008 (UTC)
Three tildes will only display your signature without the time, and five will only show the time without your sig.
Custom signatures
To make a custom signature, first make a subpage to your userpage called "User:yourname/sig"; this can be done by adding /sig to the URL in the address bar while at your userpage. On that page, you can add a link to your userpage if you like, and edit your username as you want it to appear in your signature, maybe adding colour, a picture, or a link to your talk page.
After you fixed up your custom sig to your liking, you now (quite obviously) want to display it. To do so, save your creation, then go to your preferences screen in the upper right hand corner. In the "Nickname" field (right under your email address), add {{SUBST:User:yourname/sig}}, make sure that "Custom signature" is checked, and save. Now when you sign your name, your sig should be replaced by your custom sig.
- Example: Take a look at User:Crystal lucario/Sig, User:Prezintenden/sig, or User:Greenpickle/sig as examples of how to turn the coding into something nifty. If you find some other user's sig you like, you can take a look at the source (in most cases) by adding /sig to the end of the user in question's userpage.
Note that this now makes it possible to write {{User:yourname/sig}} on a talk page. This will "update" your signature on pages if you perform changes to your sig. This will not display time, though, but adding ~~~~~ will make up for that if you wish.
Pikipedia standards
- Main article: Pikipedia:Policies and guidelines.
- If an article is seriously lacking in vital information, call it a stub by putting {{stub}} at the top of the page.
- Articles that contain a fair amount of content but have layout problems, are badly written or have any other serious problem should be added to the "Clean it up" category by adding {{clean}} to the top of the page.
- Articles that qualify for deletion can be submitted for it by adding {{delete|reason goes here}} to the page. Reasons an article would need to be deleted can be found at Pikipedia:Pages for deletion.
- Images that are screenshots must contain the text {{screenshot}} to add a copyright notice and categorize them. For other image tags and general file information, see Help:Files.