Help:Editing

Revision as of 11:27, 16 October 2018 by Rjt (talk | contribs) (See Also: link to style guide)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hey! Here's some help to get you started editing / writing pages.

This wiki is a MediaWiki (like Wikipedia), and it's pretty easy to find help via your search engine of choice by including 'mediawiki' in your search, though there's a lot you can do with it, so it can be a bit overwhelming. Also feel to ask any of us for help, particularly the wiki admins Woozle and Rjt.

Feel free to experiment; you can't break anything :)

Syntax

(For more detail please click the links below.) (You may also find it helpful to view how an existing page looks by clicking the Edit link)

Basic Text Formatting

  • To add some text you just type some text!
  • To make text italic you wrap it in two single quotes: ''example''.
  • To make text bold you use three single quotes: '''example'''
    • To make text bold and italic you use five: '''''example''''' D:
  • You can cross out text with <s>example</s> tags.
  • You can underline text with <u>example</u> tags.
  • You can use <blockquote>example</blockquote> to indicated quoted passages.
  • To leave text as you typed it, so that any formatting will be ignored, you wrap stuff in <nowiki>example</nowiki> tags.
  • You can wrap examples of code in <code></code> tags.

Page Layout

  • Pages are divided into section by different levels of header. Apart from making things clear this also helps fill out the table of contents. If you've worked with HTML or other markup languages or wikis or even word processors before hopefully you're familiar with this kinda of thing.
    • The top level is left to the page title, which is automatically inserted based on the name of the file.
    • Other main items shoul be level 2 headers, determined by entering two == before and after the heading, for example like ==Introduction==.
    • Subheadings of those would use level 3 headers: ===Notes===.
    • and so on. Don't stress too much about it if it doesn't make sense! Browse some other pages, or justconcentrate on entering text and let someone else fix that stuff up—that's the beauty of collaboration!
  • You can insert a horizontal rule by inserting four dashes ----.

Tables

Tables can get complex!, but here're some basics:

  • In MediaWiki's tables are made up of data cells |, header cells !, rows |-, and some marks to start {| and end |} the table.
  • Each table starts with {|.
  • On the next line if you want a header cell you insert an !, or if you want a regular cell you use |.
  • To indicate that a new row should be started you make a line starting with |-
  • and to finish the table you use |}.

So a basic table looks like this:

{|
! Header (column 1) (row 1)
! Header (column 2) (row 1)
|-
| table data (column 1) (row 2)
| table data (column 2) (row 2)
|-
| table data (column 1) (row 3)
| table data (column 2) (row 3)
|}
Header (column 1) (row 1) Header (column 2) (row 1)
table data (column 1) (row 2) table data (column 2) (row 2)
table data (column 1) (row 3) table data (column 2) (row 3)

Appearance

An easy way to make the table look nice is to add the wikitable class to it:

{| class="wikitable"
! Header (column 1) (row 1)
! Header (column 2) (row 1)
|-
| table data (column 1) (row 2)
| table data (column 2) (row 2)
|-
| table data (column 1) (row 3)
| table data (column 2) (row 3)
|}
Header (column 1) (row 1) Header (column 2) (row 1)
table data (column 1) (row 2) table data (column 2) (row 2)
table data (column 1) (row 3) table data (column 2) (row 3)

Otherwise you can style it will CSS.

Sortable Columns

You can make the columns sortable by adding the class sortable.

{| class="wikitable sortable"
! Header (column 1) (row 1)
! Header (column 2) (row 1)
|-
| table data (column 1) (row 2)
| table data (column 2) (row 2)
|-
| table data (column 1) (row 3)
| table data (column 2) (row 3)
|}
Header (column 1) (row 1) Header (column 2) (row 1)
table data (column 1) (row 2) table data (column 2) (row 2)
table data (column 1) (row 3) table data (column 2) (row 3)
See Also

Wide Tables

If your table's too wide for the page you can add the class scroll-horizontal to incorporate a scrollbar at the bottom of the table. Otherwise the scrollbar will appear at the bottom of the page, which can be annoying.

{| class="wikitable scroll-horizontal"
! Header (column 1) (row 1)
! Header (column 2) (row 1)
! Header (column 3) (row 1)
! Header (column 4) (row 1)
! Header (column 5) (row 1)
! Header (column 6) (row 1)
! Header (column 7) (row 1)
! Header (column 8) (row 1)
|-
| table data (column 1) (row 2)
| table data (column 2) (row 2)
| table data (column 3) (row 2)
| table data (column 4) (row 2)
| table data (column 5) (row 2)
| table data (column 6) (row 2)
| table data (column 7) (row 2)
| table data (column 8) (row 2)
|}
Header (column 1) (row 1) Header (column 2) (row 1) Header (column 3) (row 1) Header (column 4) (row 1) Header (column 5) (row 1) Header (column 6) (row 1) Header (column 7) (row 1) Header (column 8) (row 1)
table data (column 1) (row 2) table data (column 2) (row 2) table data (column 3) (row 2) table data (column 4) (row 2) table data (column 5) (row 2) table data (column 6) (row 2) table data (column 7) (row 2) table data (column 8) (row 2)

See Also

See Also

Discussion/Talk Pages

Each wiki article has a Discussion (AKA: Talk) page on which you can view or leave comments related to that article.

The typical etiquette is:—

  • Don't edit other people's text.
  • Give each issue it's own section by using a level two header ==header==
  • Sign comments you leave by entering --~~~~, or pressing the insert signature button Signature-button.png
  • Indent replies to comments using a colon :. A reply to a replay would use two colons ::, and so on.

If you want, you can customise your signature too! For example I've changed mine to automatically include the dash, so I can sign things with just the tildes.

  1. Click your username in the top right on the page
  2. Click 'Preferences'
  3. In the 'User Profile' tab (the default one) scroll down to the 'Signature' section
  4. In the 'New Signature' bit add something like: — [[User:Rjt|rjt]] ([[User talk:Rjt|talk]])
  5. Below that, check the box that says 'Treat signature as wikitext (without an automatic link)'
  6. Go to the bottom of the page and hit 'Save'!
  7. And to check that your sig looks that way you want scroll back to the 'Signature' section and check the preview after 'Your existing signature:'

See Also