« Guidelines:Edition de base » : différence entre les versions

De EduTech Wiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 106 : Ligne 106 :




---------
---------








=== Links and URLs ===
{| border="1" cellpadding="2" cellspacing="0"
|-
! Ce à quoi cela ressemble
! Ce que l'on a tapé
|- valign="top"
|- valign="top"
| liens
|
|
I have already made the [[Recent Changes]] page.
J'ai créé la [[Page Du Jour]] hier
 
* C'est un lien vers une autre page du wiki
* A link to another Wikipedia article.
* Internallement, la première lettre de la page ciblée est automatiquement mise en majuscule et les espaces en underscores ( _ )
* Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores
* Thus the link above is to the [[URL]] http://tecfax.unige.ch/portails/mediawiki/index.php/Recent_Changes, which is the article with the name "Recent Change".
|
|
<pre><nowiki>
<pre><nowiki>
I have already made the [[Recent Changes]] page.
J'ai créé la [[Page Du Jour]] hier
</nowiki></pre>
</nowiki></pre>
|}






 
|- valign="top"
 
| liens
|- id="link-to-section" valign="top"
|
|
[[Economics#See also]] is a link
1
to a section within another page.
 
[[#Links and URLs]] is a link
to a section on the current page.
 
[[#example]] is a link to an
anchor that was created using
<div id="example">an id attribute</div>
 
* The part after the number sign (#) must match a section heading on the page. Matches must be exact in terms of spelling, case and punctuation.  Links to non-existent sections aren't broken; they are treated as links to the top of the page.
* Identifiers may be created by attaching an <code>id="..."></code> attribute to almost any HTML element.
|
|
<pre><nowiki>
2
[[Economics#See also]] is a link
|}
to a section within another page.


[[#Links and URLs]] is a link
---------
to a section on the current page.
---------


[[#example]] is a link to an
anchor that was created using
<div id="example">an id attribute</div>
</nowiki></pre>




Ligne 168 : Ligne 141 :
|- valign="top"
|- valign="top"
|
|
Automatically hide stuff in parentheses:
[[kingdom (biology)|kingdom]].


Automatically hide namespace:
Automatically hide namespace:
[[Wikipedia:Village Pump|Village Pump]].  
[[Wikipedia:Village Pump|Village Pump]].  
Or both:
[[Wikipedia:Manual of Style (headings)|Manual of Style]]
But not:
[[Wikipedia:Manual of Style#Links|]]


* The server fills in the part after the pipe character (|) when you save the page. The next time you open the edit box you will see the expanded piped link. When previewing your edits, you will not see the expanded form until you press '''Save''' and '''Edit''' again. The same applies to links to sections within the same page ([[#link-to-section|see previous entry]]).
* The server fills in the part after the pipe character (|) when you save the page. The next time you open the edit box you will see the expanded piped link. When previewing your edits, you will not see the expanded form until you press '''Save''' and '''Edit''' again. The same applies to links to sections within the same page ([[#link-to-section|see previous entry]]).
|
|
<pre><nowiki>
<pre><nowiki>
Automatically hide stuff in parentheses:
[[kingdom (biology)|]].
Automatically hide namespace:  
Automatically hide namespace:  
[[Wikipedia:Village Pump|]].
[[Wikipedia:Village Pump|]].
</nowiki></pre>


Or both:
[[Wikipedia:Manual of Style (headings)|]]


But not:
[[Wikipedia:Manual of Style#Links|]]
</nowiki></pre>
|- valign="top"
|- valign="top"
|
|

Version du 14 mars 2006 à 16:55

  • On peut formatter son texte en utilisant les symboles wiki. Ce sont des caractères normaux (astérisque, guillemets simples, ou symbole égal) qui ont des fonctions spéciales dans le wiki, dépendant parfois de leur position. Par exemples pour mettre un mot en italique, on entoure de deux simple guillemets comme cela : ''italique''
  • Mediawiki ignore les sauts de ligne simple. Pour démarrer un nouveau paragraphe, il faut laisser une ligne vide. On peut aussi utiliser les balises HTML <br>.
  • Quelques balises HTML sont permises dans MediaWiki, par exemple <code>, <div>, <span> and <font>.



Modèle:H13|Description Modèle:Hl3|On tape Modèle:Hl3|On obtient
appliquer n'importe où
Mettre en italique ''italique'' italique
Mettre en gras '''gras''' gras
Gras et italique '''''gras et italique''''' gras et italique
Echapper aux symboles (markup) wiki <nowiki>no ''markup''</nowiki> no ''markup''
seulement au début d'un ligne
Titres de

tailles différentes

==Niveau 1==
===Niveau 2===
====Niveau 3====
=====Niveau 4=====

Niveau 1

Niveau 2

Niveau 3

Niveau 4
Barre Horizontale ----
Liste à puces

* un
* deux
* trois

  • un
  • deux
  • trois
Liste numérotée

# one
# two
# three

  1. one
  2. two
  3. three
Liste de définition

;Définition
:item 1
:item 2

Définition
item 1
item 2
Texte Préformatté

  un espace au
  début de la ligne
  crée
  un texte préformatté

un espace au
début de la ligne
crée 
un texte préformatté




|- valign="top" | liens | J'ai créé la Page Du Jour hier

  • C'est un lien vers une autre page du wiki
  • Internallement, la première lettre de la page ciblée est automatiquement mise en majuscule et les espaces en underscores ( _ )

|

J'ai créé la [[Page Du Jour]] hier

|}


|- valign="top" | liens | 1 | 2 |}





|- valign="top" |

Automatically hide namespace: Village Pump.

  • The server fills in the part after the pipe character (|) when you save the page. The next time you open the edit box you will see the expanded piped link. When previewing your edits, you will not see the expanded form until you press Save and Edit again. The same applies to links to sections within the same page (see previous entry).

|

Automatically hide namespace: 
[[Wikipedia:Village Pump|]].


|- valign="top" | The weather in London is a page that doesn't exist yet.

  • You can create it by clicking on the link (but please don't do so with this particular link).
  • To create a new page:
    1. Create a link to it on some other (related) page.
    2. Save that page.
    3. Click on the link you just made. The new page will open for editing.
  • For more information, see How to start a page and check out Wikipedia's naming conventions.
  • Please do not create a new article without linking to it from at least one other article.

|

[[The weather in London]] is a page 
that doesn't exist yet.


|- valign="top" | How to edit a page is this page.

  • Self links appear as bold text when the article is viewed.
  • Do not use this technique to make the article name bold in the first paragraph.

|

[[How to edit a page]] is this page.

|- valign="top" | When adding a comment to a Talk page, you should sign it by adding three tildes to add your user name:

Ben Brockert

or four to add user name plus date/time:

Ben Brockert 00:18, Nov 19, 2004 (UTC)

Five tildes gives the date/time alone:

00:18, Nov 19, 2004 (UTC)
  • The first two both provide a link to your user page.

|

When adding a comment to a Talk page,
you should sign it by adding
three tildes to add your user name:
: ~~~
or four for user name plus date/time:
: ~~~~
Five tildes gives the date/time alone:
: ~~~~~



|- valign="top" |

  • Redirect one article title to another by placing a directive like the one shown to the right on the first line of the article (such as at a page titled "USA").
  • Note that, while it is possible to link to a section, it is not possible to redirect to a section. For example, "#REDIRECT [[United States#History]]" will redirect to the United States page, but not to any particular section on it. This feature will not be implemented in the future, so such redirects should not be used.

|

#REDIRECT [[United States]]

|- valign="top" |

  • Link to a page on the same subject in another language by using a link of the form: [[language code:Title]].
  • It does not matter where you put these links while editing as they will always show up in the same place when you save the page, but placement at the end of the edit box is recommended.
  • Please see Wikipedia:Interlanguage links and the list of languages and codes.

|

[[fr:Wikipédia:Aide]]



|- valign="top" | What links here and Related changes pages can be linked as: Special:Whatlinkshere/How to edit a page and Special:Recentchangeslinked/How to edit a page

|

'''What links here''' and '''Related changes'''
pages can be linked as:
[[Special:Whatlinkshere/How to edit a page]]
and
[[Special:Recentchangeslinked/How to edit a page]]



|- valign="top" | A user's Contributions page can be linked as: Special:Contributions/UserName or Special:Contributions/192.0.2.0 |

A user's '''Contributions''' page can be linked as:
[[Special:Contributions/UserName]]
or
[[Special:Contributions/192.0.2.0]]



|- id="link-external" valign="top" | Three ways to link to external (non-wiki) sources:

  1. Bare URL: http://www.nupedia.com/ (bad style)
  2. Unnamed link: [1] (very bad style)
  3. Named link: Nupedia
  • Square brackets indicate an external link. Note the use of a space (not a pipe) to separate the URL from the link text in the "named" version.
  • In the URL, all symbols must be among:
    A-Z a-z 0-9 . _ \ / ~ % - + & # ? ! = ( ) @ \x80-\xFF
  • If a URL contains a character not in this list, it should be encoded by using a percent sign (%) followed by the hex code of the character, which can be found in the table of ASCII printable characters. For example, the caret character (^) would be encoded in a URL as %5E.

|

Three ways to link to external (non-wiki) sources:
# Bare URL: http://www.nupedia.com/ (bad style)
# Unnamed link: [http://www.nupedia.com/] ('''very bad style''')
# Named link: [http://www.nupedia.com Nupedia]