Help:Editing
From PsychWiki - A Collaborative Psychology Wiki
Start by reading "Basic Steps" and then read further if you want more detailed information.
Contents |
Basic Steps
Editing pages is simple and easy.
The whole purpose behind wikis is to make it easy for anyone, even you, to add content and edit pages.
► The entire process takes three steps:
- click on the "edit" tab to take you to the edit page.
- enter your information by typing it into the open page
- use Show preview to see what the page looks like, then Save page.
► We have short-cut buttons for you:
- at the top of the edit page you will see buttons to bold text, italicize text, create an internal link to a page within PsychWiki, create an external link to a page outside PsychWiki, create a header, create text that ignores the wiki formatting, leave your signature, or create a horizontal line. See Edit Toolbar below for more information.
We have also posted below all the basic formatting tools you will need (such as how to spell-check, create sections and links, use bullets and lists, etc) so play around with the different options and see what you can create. And for you more adventurous types who want to go the extra mile in creating distinctive and unique pages, there are links posted at the bottom of each section with more detailed information.
Spell-Check
- If you are using the Google Toolbar then when you open a page to make an edit, all you have to do is press the "Check" button. This button is located next to the spell-checker icon.
- 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.
Edit Toolbar
The "edit toolbar" functions partly as a typing aid and partly as a reminder of the available functions. All the functions are also available simply by typing the code directly into the edit box (such as link). (how to type the code is explained in subsequent sections, and below we explain the "edit toolbar")
Icon | Function | What it shows when editing | What it shows on the page |
---|---|---|---|
![]() | Bold or strong emphasis | '''abc''' | abc |
![]() | Italic or emphasis | ''abc'' | abc |
![]() | Internal link | [[Mediation]] | Mediation |
![]() | External link | [http://www.google.com] | [1] |
![]() | Section heading | == abc == | abc
|
![]() | Insert image | [[Image:Tools.jpg]] | 80px |
![]() | Insert media | [[Media:abc.ogg]] | Media:abc.ogg |
![]() | Mathematical formula | <math>abc</math> | <math>abc</math> |
![]() | Ignore wiki formatting | <nowiki>abc '''[[Bold text]]'''</nowiki> | abc '''[[Bold text]]''' |
![]() | Sign talk comments (with time stamp) | --~~~~ | --Gareth Aus 22:49, 11 February 2006 (UTC) |
![]() | Horizontal line | ---- |
|
Basic Text Formatting
What it looks like | What you type | |
---|---|---|
bold text | example | '''example''' |
italicize text | example | ''example'' |
bold AND italicize text | example | '''''example''''' |
underline text | example | <u>example</u> |
- Some helpful information:
- The Edit Toolbar can help you bold and italicize, but not underline.
- For more detailed information:
Using HTML
What it looks like | What you type | |
---|---|---|
use HTML tags | Put text in a typewriter font.
The same font is generally used for
Superscripts and subscripts: x2, x2 Invisible comments that only appear while editing the page. Comments should usually go on the talk page, though. | Put text in a <tt>typewriter font</tt>. The same font is generally used for <code>computer code</code>. <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>, x<sub>2</sub> Invisible comments only appear while editing the page. <!-- Note to editors: blah blah blah. --> Comments should usually go on the talk page, though. |
- Some helpful information:
- If you are not adept at HTML, don't worry, the wiki software is designed to be used without HTML, so you don't need to learn any programming code.
- For more detailed information:
Signing your entries
What it looks like | What you type | |
---|---|---|
sign your entries | You can "sign" your comments on talk pages: | You can "sign" your comments on talk pages: : Three tildes gives your user name: ~~~ : Four tildes give your user name plus date/time: ~~~~ : Five tildes gives the date/time alone: ~~~~~ |
Creating Sections
What it looks like | What you type | |
---|---|---|
section headings |
Section headings Subsection A smaller subsection | ==Section headings== ===Subsection=== ====A smaller subsection==== |
dividing line | You can make horizontal dividing lines to separate text.
But you should usually use sections instead,so that they go in the table of contents. | You can make horizontal dividing lines to separate text. ---- But you should usually use sections instead, so that they go in the table of contents. |
- Some helpful information:
- Please do not use only one equals sign on a side (=text here=); this causes a title the size of the page name, which is taken care of automatically.
- For more detailed information:
- see here about creating sections.
Using bullets and lists
What it looks like | What you type | |
---|---|---|
Bulleted lists |
| * Unordered lists are easy. ** Start every line with a star. *** More stars indicate a deeper level. ** Or go back a level. |
Numbered lists |
| # Numbered lists are also good: ## Very organized ### Easy to follow # And can also go back a level |
indentation |
If you want to indent:
| If you want to indent: : One colon indents a line. :: Two colons indent even farther. : And can also go back a level |
definition lists |
|
; Definition lists ; item : definition ; semicolon plus term : colon plus definition |
create mixted lists |
|
* Or create mixed lists *# and nest them *#* like this *#*; definitions *#*: work: *#*; apple *#*; banana *#*: fruits |
- Some helpful information:
- A blank line separating an entry will end the list/bulletpoints and rest the counter.
- Notice that to create mixed lists you need to start each new line with the term from the superordinate grouping -- i.e., notice that with the example above the bulletpoint tag "*" started each subsequent line, and then the numbered tag "#" was then used for each subsequent line, and so forth.
- For more detailed information:
- see here for more information on "lists".
Using Links
What it looks like | What you type | |
---|---|---|
internal link | Two brackets on each side creates a link: Main Page
| Two brackets on each side creates a link: [[Main Page]] Or, you can give it a title by using the pipe character "|" between the page name and the title you want displayed: [[Main Page | Go to the Main Page]] And for linking to a specific section within the page, use the pound character "#", such as [[Help:Editing#Using Links | Using Links]] |
external link | You can type the URL: http://wikipedia.org/
Or use one bracket: http://wikipedia.org/ You can give it a title: Wikipedia Or leave the title blank: [2] | You can just type the URL: http://wikipedia.org/ Or use one bracket on each side: [http://wikipedia.org/] You can give it a title: [http://wikipedia.org/ Wikipedia] Or leave the title blank: [http://wikipedia.org/] |
- Some helpful information:
- You can distinguish internal links from external links by the "arrow icon" at the end of external links.
- This arrow icon can be suppressed with <span class="plainlinks">, such that:
- this → ((<span class="plainlinks">http://www.google.com</span>))
- creates this → ((http://www.google.com))
- instead of this ((http://www.google.com))
- The pipe character "|" is only used for linking to sites within PsychWiki. As you can see above, for external linking you only need to put a space between the web address and the title you want displayed.
- Moving your cursor over an external link will show the page name or web address.
- For more detailed information:
Creating Tables
Although HTML table syntax also works, special wikicode can be used as a shortcut to create a table. Below you can see both methods and how they are used to create tables:
XHTML | HTML & Wiki-td | Wiki-pipe | |||||||
---|---|---|---|---|---|---|---|---|---|
Table | <table></table> | <table></table> | {| params |} | ||||||
Caption | <caption></caption> | <caption></caption> | |+ caption | ||||||
Row | <tr></tr> | <tr> | |- params | ||||||
Data cell |
<td>cell1</td> |
<td>cell1 |
| cell1 | cell2 | ||||||
Data cell | <td>cell1</td> <td>cell2</td> <td>cell3</td> | <td>cell1 <td>cell2 <td>cell3 | |cell1||cell2||cell3 | ||||||
Header cell | <th></th> | <th> | ! heading | ||||||
Sample table |
| ||||||||
<table> <tr> <td>1</td> <td>2</td> </tr> <tr> <td>3</td> <td>4</td> </tr> </table> | <table> <tr> <td> 1 <td> 2 <tr> <td> 3 <td> 4 </table> | {| | 1 || 2 |- | 3 || 4 |} | |||||||
Sample table |
| ||||||||
<table> <tr> <td>1</td> <td>2</td> </tr> <tr> <td>3</td> <td>4</td> </tr> <tr> <td>5</td> <td>6</td> </tr> </table> | <table> <tr> <td> 1 <td> 2 <tr> <td> 3 <td> 4 <tr> <td> 5 <td> 6 </table> | {| | 1 || 2 |- | 3 || 4 |- | 5 || 6 |} | |||||||
Pros |
|
|
| ||||||
Cons |
|
|
| ||||||
XHTML | HTML & Wiki-td | Wiki-pipe |
- Some helpful information:
- You can nest tables within tables.
- You can set parameters by either a percentage "width=50%" or have it be fixed "height=250".
- For more detailed information:
Uploading Files and Images
Here are the basic steps:
- upload the document using the "Upload file" link which is listed in the Toolbox box in the left-hand side of this webpage under the Search function,
- go to the page where you want to link the document,
- click the "edit" tab,
- insert a link to the document.
- If you are uploading a picture, then the format is [[Image:filename.extension]] . For example, if you have a picture that you uploaded as "face.gif", then the link is [[Image:face.gif]].
- If you are uploading a document, then the format is [[Media:filename.extension]] . For example, if you have a Word document that you uploaded as "ResearchPaper.doc", then the link is [[Media:ResearchPaper.doc]]. If someone clicks on that link, they will be able to download the document.
For more detailed information see here.
Table of Contents
Word | Explanation |
---|---|
__NOTOC__ | Hides ToC on the current page. |
__FORCETOC__ | Forces the table of contents to appear. |
__TOC__ | Places a ToC here (overriding any __NOTOC__). |
- Some helpful information:
- For each page with more than three headings, a table of contents (TOC) is automatically generated from the section headings.
- Typing __NOTOC__ will disable the normal Table of Contents.
- Typing __FORCETOC__ will add the TOC even if the page has fewer than four headings. With __FORCETOC__ the TOC is put before the first section header.
- Typing __TOC__ will add the TOC even if the page has fewer than four headings. With __TOC__, it is put at the position of this code. This allows any positioning, e.g. on the right, and in a table cell, and it also allows multiple occurrence. Thus there may be some introductory text before the TOC, known as the "lead". Although usually a header after the TOC is preferable, __TOC__ can be used to avoid being forced to insert a meaningless header just to position the TOC correctly, i.e., not too low.
Google Scholar Function
- You can link directly to Google Scholar by putting double brackets around text that ends in a date. This is helpful when the page contains references to scholarly work (like articles, books, book chapters, etc) because then you can link directly to the actual scholarly work.
- For example, typing this: [[Baron and Kenny, 1986]], creates this: (Baron and Kenny, 1986).
Footnotes
- You can create footnotes by enclosing the citation with: <ref> put text here </ref>
- You then create the footnotes at the bottom of the page with: <references/>
- See the following example...
What it looks like What you type footnote There are many ways in which mediators and moderators differ[1] There are many ways in which mediators and moderators differ <ref>Baron & Kenny (1986). The Moderator-Mediator variable distinction in social psychological research. Journal of Personality and Social Psychology, 51, 1173-1182.</ref>
bottom of the page - ↑ Baron & Kenny (1986). The Moderator-Mediator variable distinction in social psychological research. Journal of Personality and Social Psychology, 51, 1173-1182.
<references/>
- Here is another example -- Footnotes_test -- where we combined the "footnote" function with the "Google Scholar" function where putting double brackets around text that ends in a date creates a link to Google Scholar. That way, your "References" section at the bottom contains links to the actual references.
- For more detailed information see here.
◄ Back to Help main page