Error creating thumbnail: File missing Join our Discord! |
If you have been locked out of your account you can request a password reset here. |
Help:Editing: Difference between revisions
Line 559: | Line 559: | ||
<gallery> | <gallery> | ||
Image:Wiki.png|Current logo. | Image:Wiki.png|Current logo. | ||
Image: | Image:Wiki.png|An old logo. | ||
</gallery> | </gallery> | ||
|- | |- |
Revision as of 15:44, 22 March 2008
On a wiki, it is customary to allow readers to edit content and structure. This is a brief overview of the editing process.
Editing basics
Review policy and conventions
- Make sure that you submit information which is relevant to the Star Wars theme of the wiki, or your content might be deleted. You can always use the talk pages to ask questions or check to see if your idea will be accepted.
Start editing
- To start editing a page, click the Edit link. This brings you to the edit page: a page with a text box containing the wikitext - the editable code from which the server produces the finished page. If you just want to experiment, please do so in the Jundland Wastes sandbox, not here.
Type your changes
- You can just type your text. However, also using basic wiki markup (examples of which can be found below) adds to the value of your contribution.
Summarize your changes
- Write a short edit summary in the small field below the edit-box. You may use shorthand to describe your changes, as described in Wikipedia's edit summary legend.
Preview before saving
- When you have finished, click Show preview to see how your changes will look before you make them permanent. Repeat the edit/preview process until you are satisfied, then click Save page and your changes will be immediately applied to the article.
Dummy edit and null edit
- If the wikitext is not changed, no edit will be recorded and the edit summary is discarded. A dummy edit is a change in wikitext that has no effect on the rendered page, such as changing the number of newlines at some position from 0 to 1 or from 2 to 3 or conversely (changing from 1 to 2 makes a difference, see below). This allows an edit summary, and is useful for correcting a previous edit summary, or an accidental marking of a previous edit as "minor" (see below).
- To refresh the cache of some item in the database a lesser kind of dummy edit, called a null edit, may be sufficient: one that does not cause any change in the wikitext, and no entry in the history, in Recent Changes, etc.: this can be done by opening the edit window and saving; a section edit is sufficient.
Minor edits
- When editing a page, a logged-in user has the option of flagging the edit as a "minor edit". This feature is important, because users can choose to hide minor edits in their view of the Recent Changes page, to keep the volume of edits down to a manageable level.
- Deciding when to use this feature is a matter of personal preference. The rule of thumb is that an edit of a page that consists of spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit". A major edit is basically something that makes the entry worth revisiting for somebody who wants to watch the article rather closely. So any "real" change, even if it is a single word, should be flagged as a "major edit".
- The reason for not allowing a user who is not logged in to mark an edit as minor is that vandalism could then be marked as a minor edit, in which case it would stay unnoticed longer. This limitation is another reason to log in.
Wiki markup
In the left column of the table below, you can find a series of Wiki markup examples. In the right column, you can see the resulting output. In other words, to make text look like it looks in the right column, type it in the format you see in the left column. You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the Sandbox.
Basic formatting
Wiki markup | Output |
---|---|
You can ''italicize text'' by putting 2 apostrophes on each side. 3 apostrophes will bold '''the text'''. 5 apostrophes will bold and italicize '''''the text'''''. |
You can italicize text by putting 2 apostrophes on each side. 3 apostrophes will bold the text. 5 apostrophes will bold and italicize the text. |
A single newline has no effect on the layout. But an empty line starts a new paragraph. |
A single newline has no effect on the layout. But an empty line starts a new paragraph. |
You can break lines<br /> without starting a new paragraph. |
You can break lines |
When adding a comment to a Talk page, you should sign it. You can do this by adding three tildes for your user name:<br /> ~~~ Four for user name plus date/time:<br /> ~~~~ Five for date/time:<br /> ~~~~~ |
When adding a comment to a Talk page,
you should sign it. You can do this by
adding three tildes for your user name: Four for user name plus date/time: Five for date/time: |
Sections, lists, lines, and footnotes
Wiki markup | Output |
---|---|
==New section== ===Subsection=== ====Sub-subsection==== |
New section Subsection Sub-subsection |
: A colon (:) indents a line or paragraph. A newline starts a new paragraph.<br /> Often used for discussion on talk pages. : We use 1 colon to indent once. :: We use 2 colons to indent twice. ::: 3 colons to indent 3 times, and so on. A manual newline starts a new paragraph. |
A newline starts a new paragraph.
A manual newline starts a new paragraph. |
* ''Unordered lists'' are easy to do: ** Start every line with a star. *** More stars indicate a deeper level. ** Previous item continues. ** A newline * in a list marks the end of the list. * Of course you can start again. |
marks the end of the list.
|
# ''Numbered lists'' are: ## Very organized ## Easy to follow A newline marks the end of the list. # New numbering starts with 1. |
A newline marks the end of the list.
|
*You can even do mixed lists *#and nest them *#*like this<br />or include newlines |
|
Here's a definition list: ; Word : Definition of the word ; A longer phrase needing definition : Phrase defined ; A word : Which has a definition : Also a second one : And even a third Begin with a semicolon. One item per line; a newline can appear before the colon, but using a space before the colon improves parsing. |
Here's a definition list:
Begin with a semicolon. One item per line; a newline can appear before the colon, but using a space before the colon improves parsing. |
A horizontal dividing line: above ---- and below. |
A horizontal dividing line: above and below. |
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source. Luke Skywalker's Proton Torpedo started a chain reaction that blew up the Death Star. <ref>Star Wars Episode IV: A New Hope </ref> References: <references/> |
You can add footnotes to sentences using the ref tag -- this is especially good for citing a source. Luke Skywalker's Proton Torpedo started a chain reaction that blew up the Death Star. <ref>Star Wars Episode IV: A New Hope </ref> References: <references/> |
Links and URLs
Wiki markup | Output |
---|---|
[[Jedi]] is an "internal link". |
Jedi is an "internal link". |
Endings are blended into the link: [[Jedi Knight]]s, [[cloak]]ing device. |
Endings are blended into the link: Jedi Knights, cloaking device. |
You can put formatting around a link. Example: ''[[Equilibrium]]''. |
You can put formatting around a link. Example: Equilibrium. |
The ''first letter'' of an article is automatically capitalized, so [[equilibrium]] goes to the same place as [[Equilibrium]]. Capitalization matters after the first letter. |
The first letter of an articles is automatically capitalized, so equilibrium goes to the same place as Equilibrium. Capitalization matters after the first letter. |
[[Jedi#Training]] is a link to the "Training" section of the "Jedi" article. |
Jedi#Training is a link to the "Training" section of the "Jedi" article. |
[[Jedi#Training|Jedi]] is a "piped link". It allows you to change the text of a link without changing its target. |
Jedi is a "piped link". It allows you to change the text of a link without changing its target. |
Automatically hide stuff in parentheses: [[Sith Empire (Jedi Civil War)|]]. Automatically hide namespaces: [[Wookieepedia:FAQ|]] |
Automatically hide stuff in parentheses: Sith Empire. Automatically hide namespaces: FAQ |
[[Damon]] is a page that doesn't exist yet. |
Damon is a page that doesn't exist yet. |
Redirect one article to another:<br /> #REDIRECT [[target page]] |
Redirect one article to another: |
A link to the page on the same subject in another language:<br /> [[:de:Revan]], [[:pt:Revan]] A link to a page on another wiki:<br /> [[Wikipedia:Revan]] |
A link to the page on the same
subject in another language: A link to a page on another wiki: |
"What links here" and "Related changes" can be linked as:<br/> [[Special:Whatlinkshere/Help:Editing]] and [[Special:Recentchangeslinked/Help:Editing]] |
"What links here" and "Related changes"
can be linked as: |
You can make an external link just by typing a URL: http://www.starwars.com/databank/ You can give it a title: [http://www.starwars.com/databank/ DB] Or leave the title blank: [http://www.starwars.com/databank/] |
You can make an external link just by typing a URL: http://www.starwars.com/databank/ You can give it a title: DB Or leave the title blank: [1] |
Linking to an e-mail address works the same way: mailto:someone@domain.com or [mailto:someone@domain.com someone] |
Linking to an e-mail address works the same way: mailto:someone@domain.com or someone |
Category links do not show up in-line but instead at the bottom of the page ''and cause the page to be listed in the category.'' [[Category:Help pages]] Add an extra colon to ''link'' to a category in line without causing the page to be listed in the category: [[:Category:Help pages]] |
Category links do not show up in-line but instead at the bottom of the page and cause the page to be listed in the category. Add an extra colon to link to a category in line without causing the page to be listed in the category: Category:Help pages |
The Wiki reformats linked dates to match the reader's date preferences. These three dates will show up the same if you choose a format in your [[Special:Preferences|]]: * [[July 20]], [[1969]] * [[20 July]] [[1969]] * [[1969]]-[[07-20]] |
The Wiki reformats linked dates to match the reader's date preferences. These three dates will show up the same if you choose a format in your Preferences: |
To link to books, use [[Wikipedia:ISBN|ISBN]] links:<br /> ISBN 0123456789X |
To link to books, use
ISBN links: |
Images, media, and tables
Wiki markup | Output | ||||
---|---|---|---|---|---|
Display an image:<br /> [[Image:Wiki.png]] |
|||||
Resize an image:<br /> [[Image:Wiki.png|50px]] |
Resize an image: | ||||
Align an image:<br /> [[Image:Wiki.png|50px|left]] [[Image:Wiki.png|50px|right]] |
Align an image: | ||||
A framed image:<br /> [[Image:Wiki.png|frame]] |
A framed image: | ||||
Add an image caption:<br /> [[Image:Wiki.png|frame|An image.]] |
Add an image caption: | ||||
A thumbnail image:<br /> [[Image:Wiki.png|thumb|100px|Logo.]] |
A thumbnail image: | ||||
An image gallery:<br /> <gallery> Image:Wiki.png|Current logo. Image:SWW-logo-old.png|An old logo. </gallery> |
An image gallery:
| ||||
Link to an image description page:<br /> [[:Image:Wiki.png]] |
Link to an image description page: | ||||
Link directly to an image:<br /> [[media:Wiki.png]] |
Link directly to an image: | ||||
To link to non-image uploads, you also use a "media" link:<br/> [[media:Greaterweapon2.ogg]] |
To link to non-image uploads,
you also use a "media" link: | ||||
{| border="1" cellspacing="0" cellpadding="5" align="center" ! This ! is |- | a | table |} |
|
HTML tags
You can use some HTML tags as well. However, you should avoid HTML in favor of Wiki markup whenever possible.
Wiki markup | Output |
---|---|
<i>italics</i><br /> <b>bold</b> |
italics |
Put text in a <tt>typewriter font</tt>. The same font is generally used for <code> computer code</code>. |
Put text in a typewriter
font. The same font is
generally used for |
<strike>Strike out</strike> or <u>underline</u> text, or write it <span style= "font-variant:small-caps"> in small caps</span>. |
|
Superscripts and subscripts: X<sup>2</sup>, H<sub>2</sub>O |
Superscripts and subscripts: X2, H2O |
You can use <small>small text</small> for captions. |
You can use small text for captions. |
<center>Centered text</center> |
|
<blockquote> The '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does. </blockquote> |
|
Invisible comments to editors (<!-- -->) only appear while editing the page. <!-- Note to editors: blah blah blah. --> |
Invisible comments to editors (<!-- -->) only appear while editing the page. |
Character formatting
Wiki markup | Output |
---|---|
'''Umlauts and accents:'''<br /> è é ê ë ì í À Á Â<br /> Ã Ä Å<br /> Æ Ç È<br /> É Ê Ë<br /> Ì Í Î<br /> Ï Ñ Ò<br /> Ó Ô Õ<br /> Ö Ø Ù<br /> Ú Û Ü<br /> ß à á<br /> â ã ä<br /> å æ ç<br /> è é ê<br /> ë ì í<br /> î ï ñ<br /> ò ó ô<br /> œ õ ö<br /> ø ù ú<br /> û ü ÿ |
Umlauts and accents: À Á Â |
'''Punctuation:'''<br /> ¿ ¡ «<br /> » § ¶<br /> † ‡ •<br /> - – — |
Punctuation: |
'''Commercial symbols:'''<br /> ™ © ®<br /> ¢ € ¥<br /> £ ¤<br /> |
Commercial symbols: |
'''Greek characters:'''<br /> α β γ<br /> δ ε ζ<br /> η θ ι<br /> κ λ μ<br /> ν ξ ο<br /> π ρ σ<br /> ς τ υ<br /> φ χ ψ<br /> ω Γ Δ<br /> Θ Λ Ξ<br /> Π Σ Φ<br /> Ψ Ω |
Greek characters: |
'''Math characters:'''<br /> ∫ ∑ ∏<br /> √ − ±<br /> ∞ ≈ ∝<br /> ≡ ≠ ≤<br /> ≥ × ·<br /> ÷ ∂ ′<br /> ″ ∇ ‰<br /> ° ∴ ℵ<br /> ø ∈ ∉<br /> ∩ ∪ ⊂<br /> ⊃ ⊆ ⊇<br /> ¬ ∧ ∨<br /> ∃ ∀ ⇒<br /> ⇔ → ↔<br /> ↑ |
Math characters: |
'''Complicated formulae:'''<br/> <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math> |
Complicated formulae: |
Preformatted text
A few different kinds of formatting will tell the Wiki software to display your text just as you typed it.
Wiki markup | Output |
---|---|
<nowiki> The nowiki tag ignores [[Wiki]] ''markup''. It reformats text by removing newlines and multiple spaces. It still interprets special characters: → </nowiki> |
The nowiki tag ignores [[Wiki]] ''markup''. It reformats text by removing newlines and multiple spaces. It still interprets special characters: → |
<pre> The pre tag ignores [[Wiki]] ''markup''. It also doesn't reformat text. It still interprets special characters: → </pre> |
The pre tag ignores [[Wiki]] ''markup''. It also doesn't reformat text. It still interprets special characters: → |
Leading spaces are another way to preserve formatting. Putting a space at the beginning of each line stops the text from being reformatted. It still interprets [[Wiki]] ''markup'' and special characters: → |
Leading spaces are another way to preserve formatting. Putting a space at the beginning of each line stops the text from being reformatted. It still interprets Wiki markup and special characters: → |
Templates
- Templates are segments of Wiki markup that are meant to be automatically ("transcluded") into a page. You add them by putting the template's name in {{double braces}}. Some templates take parameters, as well, which you separate with the pipe character.
- For a list of available templates, see: Wookieepedia:Templates
Tips and tricks
Page protection
- In a few cases, where an Administrator has protected a page, the link labeled "Edit" is replaced by the text "View source". In that case, the page can only be edited by an administrator. Protection of an image page includes protection of the image itself. To ask that a page be either protected or unprotected, please place a request on Wookieepedia:Requests for protection or the Administrators' noticeboard.
Edit conflicts
- If someone else makes an edit while you are making yours, the result is an edit conflict. Many conflicts can be automatically resolved by the Wiki. If it can't be resolved, however, you will need to resolve it yourself. The Wiki gives you two text boxes, where the top one is the other person's edit and the bottom one is your edit. Merge your edits into the top edit box, which is the only one that will be saved.
Reverting
- The edit link of a page showing an old version leads to an edit page with the old wikitext. This is a useful way to restore the old version of a page. However, the edit link of a diff page gives the current wikitext, even if the diff page shows an old version below the table of differences.
Error messages
- If you get an error message upon saving a page, you can't tell whether the actual save has failed or just the confirmation. You can go back and save again, and the second save will have no effect, or you can check "My contributions" to see whether the edit went through.
Checking spelling and editing in your favorite editor
- You may find it more convenient to copy and paste the text first into your favorite text editor, edit and spell check it there, and then paste it back into your web browser to preview. This way, you can also keep a local backup copy of the pages you have edited. It also allows you to make changes offline.
- If you edit this way, it's best to leave the editing page open after you copy from it, using the same edit box to submit your changes, so that the usual edit conflict mechanism can deal with it. If you return to the editing page later, please make sure that nobody else has edited the page in the meantime. If someone has, you'll need to merge their edits into yours by using the diff feature in the page history.