Difference between revisions of "Help:Formatting"

From BRGS Wiki
Jump to: navigation, search
 
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
 +
 
==Editing a page==
 
==Editing a page==
  
Line 6: Line 7:
 
==Creating a new page==
 
==Creating a new page==
  
To create a new page, simply enter it's name in the search box on the left-hand side. If it doesn't already exist, you'll be given a link in red to create it!  
+
To create a new page, simply enter its name in the search box on the left-hand side. If it doesn't already exist, you'll be given a chance to create it!  
  
 
==Basic Editing==
 
==Basic Editing==
Line 20: Line 21:
 
===Underlines===
 
===Underlines===
  
To <u> give underlines </u>, unfortunately you'll have to use HTML. Surround the phrase with <code><nowiki> <u> and <u> </nowiki></code>
+
To <u> give underlines </u>, unfortunately you'll have to use HTML. Surround the phrase with <code><nowiki> <u> and </u> </nowiki></code> to give an <u>underlined</u> word.
  
 
===Combined bold and italics===
 
===Combined bold and italics===
Line 34: Line 35:
 
* 5 tildes (~) - <nowiki> ~~~~~ </nowiki> which gives just a timestamp - 21:33, 28 September 2006 (GMT Standard Time)
 
* 5 tildes (~) - <nowiki> ~~~~~ </nowiki> which gives just a timestamp - 21:33, 28 September 2006 (GMT Standard Time)
  
Signatures are usually asked for on talk pages.
+
Signatures should ''always'' be used on talk pages.
  
 
===Heading and subheadings===
 
===Heading and subheadings===
Line 42: Line 43:
 
  =One equals gives a 1st-level subheading=
 
  =One equals gives a 1st-level subheading=
 
  ==Two gives a slightly smaller one==
 
  ==Two gives a slightly smaller one==
 
+
===Three is basically just large bold text===
 
And so on...
 
And so on...
  
Line 51: Line 52:
 
----
 
----
  
Line breaks can be forced by simply leaving a blank line between paragraphs.
+
Line breaks can be created by simply leaving a blank line between paragraphs in the editing box - you don't need to use <nowiki> <br> </nowiki> tags!
  
 
===Linking===
 
===Linking===
Line 57: Line 58:
 
Linking can be done in several ways:
 
Linking can be done in several ways:
  
* Internal links - to link to an internal page, simply put <nowiki> [[two square brackets]]  </nowiki> around the words to be linked. If the page hasn't yet been created, it'll show up in red.
+
* '''Internal links''' - to link to an internal page, simply put <nowiki> [[two square brackets]]  </nowiki> around the words to be linked. If the page hasn't yet been created, it'll show up in red.
 
** To link to a page, but have a different name show up, simply use | and put the name to be shown second. For example, <nowiki>  [[Main_Page|Click here to go back to the main page!]] </nowiki>, will show up as: [[Main_Page|Click here to go back to the main page!]]
 
** To link to a page, but have a different name show up, simply use | and put the name to be shown second. For example, <nowiki>  [[Main_Page|Click here to go back to the main page!]] </nowiki>, will show up as: [[Main_Page|Click here to go back to the main page!]]
* External links - to link to an external website, you need to place the ''entire'' web address (including the http:// prefix) into <nowiki> [one square bracket]  </nowiki>.
+
* '''External links''' - to link to an external website, you need to place the ''entire'' web address (including the http:// prefix) into <nowiki> [one square bracket]  </nowiki>.
 
**However, this time, to give a different name, you need to put a space ' ' at the end of the address and simply write the text to show up. For example, <nowiki> [http://www.google.com Google] </nowiki> will show up as: [http://www.google.com Google].
 
**However, this time, to give a different name, you need to put a space ' ' at the end of the address and simply write the text to show up. For example, <nowiki> [http://www.google.com Google] </nowiki> will show up as: [http://www.google.com Google].
 
* With the exception of the first letter, all links are case-sensitive and all spaces are converted to underscores. Thus, <nowiki> [[Main_Page]], [[main_Page]], [[Main Page]] and [[main Page]]</nowiki> will all link to the main page but <nowiki> [[MAin_Page]], [[Main page]], [[maiN Page]] etc. will not.</nowiki>
 
* With the exception of the first letter, all links are case-sensitive and all spaces are converted to underscores. Thus, <nowiki> [[Main_Page]], [[main_Page]], [[Main Page]] and [[main Page]]</nowiki> will all link to the main page but <nowiki> [[MAin_Page]], [[Main page]], [[maiN Page]] etc. will not.</nowiki>
Line 93: Line 94:
 
## Back to 2
 
## Back to 2
 
# and back to 1.
 
# and back to 1.
 +
 +
===Indenting===
 +
 +
To indent text , simply use <nowiki> a colon (':') </nowiki>. Multiple colons indents the text further each time. However, if you start to use a lot, it can get hard to read, so try to not use more than seven or eight before going back to normal.
  
 
===Ignoring formatting===
 
===Ignoring formatting===
Line 123: Line 128:
  
 
<nowiki>[[</nowiki>Image:''Image name here''|''Position (left,right etc.)''|thumb|100px|''Underneath caption goes here''<nowiki>]]</nowiki> to produce a thumbnail with explanatory text!
 
<nowiki>[[</nowiki>Image:''Image name here''|''Position (left,right etc.)''|thumb|100px|''Underneath caption goes here''<nowiki>]]</nowiki> to produce a thumbnail with explanatory text!
 +
 +
'''Please make sure image uploads are a reasonable (i.e. small) size!'''
  
 
==Categories==
 
==Categories==
Line 137: Line 144:
  
 
There are also several templates you can use to edit your work. To find out how to use any of them, click on the link:
 
There are also several templates you can use to edit your work. To find out how to use any of them, click on the link:
 
* [[Template:Unsigned|Unsigned]] - if you forget to sign a comment on a talk page, use this to add a signature later on!
 
  
 
* [[Template:C|Colour text]] - this {{C|red|allows}} {{C|blue|you}} {{C|green|to}} colour your text different colours!
 
* [[Template:C|Colour text]] - this {{C|red|allows}} {{C|blue|you}} {{C|green|to}} colour your text different colours!
Line 198: Line 203:
 
| <code>{{PAGENAME}}</code>
 
| <code>{{PAGENAME}}</code>
 
| Returns the name of the current page, including all levels (Title/Subtitle/Sub-subtitle).
 
| Returns the name of the current page, including all levels (Title/Subtitle/Sub-subtitle).
 +
|-
 +
| <nowiki>{{FULLPAGENAME}}</nowiki>
 +
| <code>{{FULLPAGENAME}}</code>
 +
| Returns the full name of the current page. E.G: Help:SomeHelpPage or Contributing
 
|-
 
|-
 
|}<br clear="all" />
 
|}<br clear="all" />
Line 204: Line 213:
 
==More help==
 
==More help==
  
If you want more help, or you want to do something which isn't convered here, try looking at [http://en.wikipedia.org/wiki/Help:Editing Wikipedia's editing help] for more in-depth and detailed coverage.
+
If you want more help, or you want to do something which isn't covered here, try looking at [http://en.wikipedia.org/wiki/Help:Editing Wikipedia's editing help] for more in-depth and detailed coverage.
 +
 
 +
(If you see something on a page and you want to know how it's done; simply click 'edit this page' at the top and copy the code that you see. Then all you need to do is change the content!)

Latest revision as of 12:30, 1 April 2010

Editing a page

To edit an article, simply click 'edit' at the very top of the page (next to the logo).

Creating a new page

To create a new page, simply enter its name in the search box on the left-hand side. If it doesn't already exist, you'll be given a chance to create it!

Basic Editing

Bold

To bold a phrase, simply place '''three apostrophes either side''' .

Italics

Italics are even easier! These are just ''two apostrophes!'' .

Underlines

To give underlines , unfortunately you'll have to use HTML. Surround the phrase with <u> and </u> to give an underlined word.

Combined bold and italics

To combine the two, just place '''''five apostrophes''''' either side of the phrase.

Signatures

To leave a signature, either place:

  • 3 tildes (~) - ~~~ which gives your username only - 82.19.18.11
  • 4 tildes (~) - ~~~~ which gives your username and a timestamp - 82.19.18.11 21:33, 28 September 2006 (GMT Standard Time)
  • 5 tildes (~) - ~~~~~ which gives just a timestamp - 21:33, 28 September 2006 (GMT Standard Time)

Signatures should always be used on talk pages.

Heading and subheadings

To create headings and subheadings, simply surround the words for the heading with '=':

=One equals gives a 1st-level subheading=
==Two gives a slightly smaller one==
===Three is basically just large bold text===

And so on...

Horizontal lines and line breaks

Horizontal lines are placed like this: ---- (four dashes), giving:


Line breaks can be created by simply leaving a blank line between paragraphs in the editing box - you don't need to use <br> tags!

Linking

Linking can be done in several ways:

  • Internal links - to link to an internal page, simply put [[two square brackets]] around the words to be linked. If the page hasn't yet been created, it'll show up in red.
    • To link to a page, but have a different name show up, simply use | and put the name to be shown second. For example, [[Main_Page|Click here to go back to the main page!]] , will show up as: Click here to go back to the main page!
  • External links - to link to an external website, you need to place the entire web address (including the http:// prefix) into [one square bracket] .
    • However, this time, to give a different name, you need to put a space ' ' at the end of the address and simply write the text to show up. For example, [http://www.google.com Google] will show up as: Google.
  • With the exception of the first letter, all links are case-sensitive and all spaces are converted to underscores. Thus, [[Main_Page]], [[main_Page]], [[Main Page]] and [[main Page]] will all link to the main page but [[MAin_Page]], [[Main page]], [[maiN Page]] etc. will not.

Redirects

To automatically redirect a user to another page, delete all text from the page and place this:

#REDIRECT [[Page_To_Redirect_To]]

in the normal editing box.

Lists

To create lists, either use:

  • * for a bulleted list:
    • Bullet one
    • Bullet two
    • Bullet three
  • # for a numbered list:


Bullets and numbers can be combined to give sub lists by just increasing the numbers of asterixs or hashes you use. Thus:

  1. List 1
    1. Sub list 2
      1. Sub list 3
    2. Back to 2
  2. and back to 1.

Indenting

To indent text , simply use a colon (':') . Multiple colons indents the text further each time. However, if you start to use a lot, it can get hard to read, so try to not use more than seven or eight before going back to normal.

Ignoring formatting

To ignore formatting around any particular phrase, just surround the phrase with <nowiki> tags. <nowiki> starts the formatting ignoring, and </nowiki> ends it.

Table of contents

To force a table of contents to appear, simply place ___TOC___ (three underscores each side) where you would like it (usually at the top).

Something to watch...

If you start the line with a space, the wiki interprets this as being formatted as code as shows it in a code box, like below:

This isn't what we want!

As you can see, this pushes all the text away from it and makes it a lot harder to read. So make sure all your lines start right against the left margin!

Inserting images

To insert an image, you need to firstly upload it using Special:Upload (in the left sidebar). Give it a suitable name so that everyone knows what it's for - and one that's easy to type!

To place it on a page; just put

[[Image:Image name here]].

If you want to add a caption, treat it as a link and do this:

[[Image:Image name here|Caption name here]].

This will appear when a user hovers their mouse over the image.

Finally, you can use this syntax:

[[Image:Image name here|Position (left,right etc.)|thumb|100px|Underneath caption goes here]] to produce a thumbnail with explanatory text!

Please make sure image uploads are a reasonable (i.e. small) size!

Categories

To add a page to a category, simply use the syntax:

[[Category:Name of category here]]

To add to multiple categories, just reuse this code. When adding to year groups, it's best to put the person's name like this:

[[Category:Year group|Surname, Forename]]

Templates

There are also several templates you can use to edit your work. To find out how to use any of them, click on the link:

  • Colour text - this allows you to colour your text different colours!
  • Size text - this will make your text different sizes. (9 is the standard size.)
  • Delete this page - placing this template on your page will add it to a category to be deleted, reducing the amount of redundant pages.

Magic Words

There are several 'magic words' that can be used. These are automatically updated whenever the page is called from the server!

Word Example Explanation
{{CURRENTDAY}} 3 Displays the current day in numeric form.
{{CURRENTDAYNAME}} Tuesday Displays the current day in named form.
{{CURRENTDOW}} 2 Displays the current day as a number of the week (0=Sunday, 1=Monday...).
{{CURRENTMONTH}} 12 Displays the current month in numeric form.
{{CURRENTMONTHABBREV}} Dec Displays the abbreviation of the current month.
{{CURRENTMONTHNAME}} December Displays the current month in named form.
{{CURRENTMONTHNAMEGEN}} December Displays the name of the current month in genitive form. Wikis that don't support this will default to {{CURRENTMONTHNAME}}.
{{CURRENTTIME}} 17:15 Displays the current time of day (hours:minutes).
{{CURRENTWEEK}} 49 Displays the number of the current week (1-52).
{{CURRENTYEAR}} 2024 Returns the current year.
{{PAGENAME}} Formatting Returns the name of the current page, including all levels (Title/Subtitle/Sub-subtitle).
{{FULLPAGENAME}} Help:Formatting Returns the full name of the current page. E.G: Help:SomeHelpPage or Contributing


More help

If you want more help, or you want to do something which isn't covered here, try looking at Wikipedia's editing help for more in-depth and detailed coverage.

(If you see something on a page and you want to know how it's done; simply click 'edit this page' at the top and copy the code that you see. Then all you need to do is change the content!)