Difference between revisions of "Sandbox"

From Creolista!
Jump to: navigation, search
(Using the edit box buttons)
(Using the edit box buttons)
Line 62: Line 62:
 
<p>Can you add a link to the wikipedia page about the scholar Al Kindi to this sentence?</p><br /><br />
 
<p>Can you add a link to the wikipedia page about the scholar Al Kindi to this sentence?</p><br /><br />
  
<span style="color:hotpink;">Understanding the next part is easier in </span><span style="color:darkblue;"> <u>Page</u> mode!</span>
+
<span style="color:hotpink;">Understanding the next part is easier in </span><span style="color:darkblue;"> <u>page</u></span><span style="color:hotpink;"> mode!</span>
 
<hr>
 
<hr>
  

Revision as of 21:18, 30 March 2015

The goal of this page is to help you edit a media-wiki page. (Media-wiki is the software used on this page and at Wikipedia.)

      PLEASE EDIT THIS PAGE.      

Two Modes: page / edit

In page mode, you see what a visitor sees. Nothing can be changed in page mode.

In edit mode you see the page with formatting codes. Everything can be changed in edit mode.

Please enter edit mode by changing tabs from "page" to "edit" above (next to the picture, at the top). You may look at history mode too, if you wish.

If you see "view source" instead of "edit" you are not logged in.

It is often easier to find [edit] on the right hand side of the page. This permits editing section by section in structured documents.

  • NB: to make changes you must "save" the page (enregistrer). This brings you back to page mode where you can see the changed text.

Edit mode

To understand the next part you must be in edit mode!

Using the edit box buttons


Under the title of the page Sandbox (bac à sable) you should see 11 buttons (the first two are B and I)


Feel free to play, don't worry if you make a mistake.



  • B = bold (French gras)
  • I = italic
  • Ab = internal link to a page like Poetry
  • earth = external link to a page like [1]
  • A = an automatic heading: not very useful if you master the = sign (see below)
  • picture = to add a file (may not work yet)
  • trumpet = media file (may not work yet)
  • square root of n = math (formulae, special symbols)
  • canceled W = unformatted text: not very useful.
  • (signature) = Here's mine: --teacher 16:59, 30 March 2015 (CEST)
  • can you delete this line and add your signature?
  • = horizontal line...


Again, feel free to play, don't worry if you make a mistake.
You can't break the wiki.
Well, ok, maybe you can break it if you really try, but don't try, ok? ^^

You can type some text here and modify it:





Can you add a link to the wikipedia page about the scholar Al Kindi to this sentence?



Understanding the next part is easier in page mode!




Using HTML(5)



  • <p> = opening tag for a paragraph, </p> = closing tag for a paragraph
  • <span> = opening tag for a chunk of text, </span> = closing tag for a chunk of text
  • <span style="color:darkgreen;"> = opening tag to color a chunk of text green, </span> = closing tag for the chunk of green text
  • <br /> = opening and closing tag for a line break.


  • <b> <i> <u> = opening tags for boldface, italics, underline . . . </b> </i> </u> = closing tags for boldface, italics, underline


Feel free to switch back and forth between Edit and Page mode for the next sections.
( just click on [edit] on the right, if you don't want to edit the whole page.)


example

This is a very short paragraph
. . . . . . . . . . . . . . . . . . . . . .
with two line breaks and twenty-two pink dots.




Using MediaWiki / Wikipedia syntax




The number (#) sign

  1. To make a numbered list...
  2. Use # at the beginning of the line.
    1. To add a layer, use two!
    2. You can even do it twice.
      1. or even three times
  3. That's how you make a numbered list.




The asterisk (*)

  • To make a "bullet" list..
  • Use an asterisk (*) at the start of the line.
    • To add a layer, use two!
      • or three.
  • Pretty simple, huh?



The equal (=) sign

                              equal sign = 'i:   kwəl   saɪn           equality = i: 'kwal ɪ ti

  • The equal sign (=) is not used to mark equality in wiki syntax.
    • Just as the # and * signs are used to mark the hierarchy of a list
    • = is used to add structure to the document.
  • Please look at the table of contents in "page" mode. Click on hide, then show.
  • Return to edit mode and delete the asterisks at the beginning of the six lines below, then press save page:


  • =Heading 1=
  • ==Heading 2==
  • ===Heading 3===
  • ====Heading 4====
  • =Heading 1=
  • =Heading 1=


Return to page mode. How does the table of contents look now?



The apostrophe (')


                     apostrophe(s) = ə 'pa: strə fi:(z)


can also be used for

  • bold (3 apostrophes before and after)
  • italic (2 apostrophes before and after)
  • bold italic (5 apostrophes before and after)



Further information