Changes

Jump to navigation Jump to search
Created page with "<noinclude>{{In progress}}</noinclude> __TOC__ == Wiki Cheat Sheet | Aide-mémoire Wiki == {| class="prettytable" width="98%" |- | '''Creating a new page''' First decide on..."
<noinclude>{{In progress}}</noinclude>
__TOC__

== Wiki Cheat Sheet | Aide-mémoire Wiki ==

{| class="prettytable" width="98%"
|-
| '''Creating a new page'''

First decide on a page name. Note that the first character is normally capitalized, while the rest should be lowercase unless it’s a name.

You can create a page by either

#First inserting, on another related page, an internal link (see how under “insert” section below) to the name of the page you want to create, save your edits and then click on the link; or
#In the search box, enter the exact name of the page you want to create, click “Go”, and then click on '''create this page'''.

Keep in mind that you can also create a subpage of an existing page. This allows hierarchical organization of wiki pages, with the levels of hierarchy separated by slashes (/), for example:

Committee Name/FAQs, or User:Firstname.Lastname/Sandbox
| '''Création d’une page'''

Choisissez d’abord le nom de la page. On met habituellement la première lettre en majuscule et les lettres suivantes en minuscule, sauf pour les noms propres.

Vous disposez de deux modes de création de page:

#Insérez d’abord, dans un autre article apparenté, un lien interne (la marche à suivre se trouve dans la section ''Insertion'' ci-dessous) du nom de la page que vous désirez créer, puis enregistrez les modifications et cliquez sur le lien; ou
#Dans la boîte de recherche, inscrivez le nom exact de la page à créer, cliquez sur «Consulter», puis sur '''créer cette page'''.

Sachez qu’il est possible de créer une sous-page d’une page existante. On peut ainsi organiser les pages du Wiki selon une structure hiérarchique, chaque palier étant séparé par une barre oblique (/), comme dans l’exemple suivant:

Nom du comité/FAQ, ou User:Prénom.Nom/Carré de sable
|-
| '''Editing'''

To make changes to an article, click '''Edit '''at the top of an article, make your edits, and then click '''Save page'''.

Do not be afraid – you cannot accidentally make permanent deletions. All previous versions of an article are saved under '''history''' and authors or yourself can revert to an earlier version by simply clicking '''undo'''.

While typing in your edits, you have a choice of either:

|'''Modification'''

Pour modifier un article, cliquez sur '''Modifier''' dans son en-tête, apportez les modifications, puis cliquez sur '''Publier'''.

N’ayez crainte: le contenu supprimé par accident ne l’est pas pour de bon. Toutes les versions précédentes d’un article sont enregistrées et accessibles dans l’onglet '''historique'''. Pour revenir à une version antérieure, les auteurs (ou vous-même) n’ont qu’à cliquer sur '''défaire'''.

Pour insérer vos modifications, vous avez le choix suivant:

|-
| *Using the Rich Editor toolbar:
| *Employer la barre d’outils de l’Éditeur de texte enrichi (Rich Editor).
|-
| colspan="2"|
[[Image:Wiki Rich Editor.jpg|center|alt=Image of the GCPEDIA rich editor toolbar]]
|-
|
*Working directly with the Wiki markup text by:
**Clicking on the '''Wikitext''' button or;
|
*Travailler directement avec la syntaxe wikipédienne:
**En cliquant sur le bouton '''Wikitext'''; ou
|-
|
*Clicking on '''Disable rich editor''' to obtain the following editing toolbar which includes buttons for common wiki markup coding:
|
*En cliquant sur '''Désactiver ''Rich Editor''''' pour afficher la barre d’outils ce-dessous (ses boutons permettent d’insérer du code wikitexte tout fait):
|-
| colspan="2" |
[[Image:Wiki Rich Editor Disabled.jpg|center|alt=Image of the wiki text editor toolbar]]
|-
| You can switch between the above three options depending on your needs.
| Utilisez l’un et l’autre des trois modes ci-dessus selon vos besoins.
|}

== Cheatsheet / Aide-Mémoire ==

=== Text formatting / Formatage de texte ===

{| class="prettytable" width="98%"
|+ Text formatting / Formatage de texte
|-
! scope="col" width="30%" colspan="2" |Description
! scope="col" width="10%" rowspan="2" |Rich editor
! scope="col" width="10%" rowspan="2" |Disabled
! scope="col" width="25%" rowspan="2" |Wikitext / Wikitexte
! scope="col" width="25%" rowspan="2" |Result / Résultat
|-
!width="15%"|English
!width="15%"|Français
|-
|
Italic

|
Italique

|
[[Image:]]

|
[[File:Button italic.png]]

|
<nowiki>''italic text''</nowiki>
|
''italic text''

|-
|
Bold

|
Gras

|
[[Image:]]

|
[[Image:Bold_button.png]]

|
<nowiki>'''bold text'''</nowiki>
|
'''bold text'''

|-
|
Both bold and italic

|
Gras et italique

|
[[Image:]][[Image:]]

|
[[Image:]][[Image:]]

|
<nowiki>'''''bold and italic text'''''</nowiki>
|
'''''bold and italic text'''''

|-
|
Underline

|
Souligné

|
[[Image:]]

|
-

|
<nowiki><u>underlined text</u></nowiki>
|
<u>underlined text</u>

|-
|
Strike out

|
Barré

|
[[Image:]]

|
-

|
<nowiki><strike>strike out text</strike></nowiki>
|
<strike>strike out text</strike>

|-
|
Superscript

|
Exposant

|
[[Image:]]

|
-

|
<nowiki><sup>superscript text</sup></nowiki>
|
<sup>superscript text</sup>

|-
|
Subscript

|
Indice

|
[[Image:]]

|
-

|
<nowiki><sub>subscript text</sub></nowiki>
|
<sub>subscript text</sub>
|}

=== Paragraph formatting / Formatage de paragraphe ===

{| class="prettytable" width="98%"
|+ Paragraph formatting / Formatage de paragraphe
|-
! scope="col" width="30%" colspan="2" |Description
! scope="col" width="10%" rowspan="2" |Rich editor
! scope="col" width="10%" rowspan="2" |Disabled
! scope="col" width="25%" rowspan="2" |Wikitext / Wikitexte
! scope="col" width="25%" rowspan="2" |Result / Résultat
|-
!width="15%"|English
!width="15%"|Français
|-
| Line break
| Saut de ligne
| enter
entrée
|
-
| <nowiki><br></nowiki>
| (Line break)

(Saut de ligne)

|-
|
Block quote

|
Paragraphe de citation

|
[[Image:]]

|
-

|
<nowiki><blockquote>block of quoted text</blockquote></nowiki>
|
<blockquote>block of quoted text</blockquote>
|-
|
Centered

|
Centrage

|
-

|
-

|
<nowiki><center>centered text</center></nowiki>
|
<center>centered text</center>

|-
|
Section headings

'''Note:'''The title of a page is Heading level 1, so page headings should start at level 2.

|
En-têtes de section

'''Note:'''Le titre d’une page est de niveau 1, donc vous devriez débuter vos en- têtes au niveau 2

|
[[Image:]]

|
[[File:Button headline.png]]

|

<pre>==Heading level 2==

===Heading level 3===

====Heading level 4====

=====Heading level 5=====</pre>
|
[[File:Heading_levels.jpg|alt=An image showing heading levels 2-5]]
|-
|
Bulleted list

|
Liste à puces

|
[[Image:]]

|
-

|
<pre>*item one
*item two
**item two second level
***item two third level</pre>
|
*item one
*item two
**item two second level
***item two third level

|-
|
Numbered list

|
Liste numérotée

|
[[Image:]]

|
-

|
<pre>#item one
#item two
##item two point second level
###item two point third</pre>
|
#item one
#item two
##item two second level
###item two third level

|-
|
Indent

|
Retrait

|
-

|
-

|
<pre>:indented text
::more indented text
:::way more indented text</pre>
|
:indented text
::more indented text
:::way more indented text

|-
|
Mixed/nested lists

|
Listes mixtes ou imbriquées

|
-

|
-

|
<pre>*text
*#text
*#*text</pre>
|
*text
*#text
*#*text
|-
|
Definition list

|
Liste de définitions

|
-

|
-

|
<pre>;Word : Definition of the word
: And a second definition if required</pre>
|
;Word : Definition of the word
: And a second definition if required
|}

=== Insert / Insertion ===

{| class="prettytable" width="98%"
|+ Insert / Insertion
|-
! scope="col" width="30%" colspan="2" |Description
! scope="col" width="10%" rowspan="2" |Rich editor
! scope="col" width="10%" rowspan="2" |Disabled
! scope="col" width="25%" rowspan="2" |Wikitext / Wikitexte
! scope="col" width="25%" rowspan="2" |Result / Résultat
|-
!width="15%"|English
!width="15%"|Français
|-
|
Horizontal dividing line

|
Ligne horizontale

|
[[Image:]]

|
[[File:Button hr.png]]

|
<nowiki>----</nowiki>
|
----
|-
|
Internal link (to another wiki article)

|
Lien interne (vers un autre article du Wiki)

|
[[Image:]]

|
[[File:Button link.png]]

|
<nowiki>[[Title of the wiki page]]</nowiki>
|
[[Title of the wiki page]]

|-
|
Internal link with display text

|
Lien interne, texte affiché différent

|
[[Image:]]

|
-

|
<nowiki>[[Title of the wiki page|display text]]</nowiki>
|
[[Title of the wiki page|display text]]

|-
|
Link to user page

|
Lien vers la page d’un utilisateur

|
[[Image:|Wiki-Link]]

|
-

|
<nowiki>[[User:Cool.dude|Cool Dude]]</nowiki>
|
[[User:Cool.dude|Cool Dude]]

|-
|
Email address

|
Adresse électronique

|
-

|
-

|
<nowiki>{{em|example@cic.gc.ca}}</nowiki>
|
{{em|example@cic.gc.ca}}

|-
|
External link (outside the wiki, i.e. internet or intranet)

|
Lien externe (vers un site Internet ou intranet à l’extérieur du Wiki)

|
[[Image:]]

|
[[File:Button extlink.png]]

|
<nowiki>[http://www.hyperlink.com link title]</nowiki>
|
[http://www.hyperlink.com link title]

|-
|
Footnotes / references

|
Notes de bas de page et références

|
[[Image:]]

|
-

|
Text that need a footnote<nowiki><ref>Footnote text, e.g. [http://www.hyperlink.com hyperlink title] and source info such as date.</ref></nowiki>
|
Text that need a footnote<ref>Footnote text, e.g. [http://www.hyperlink.com hyperlink title] and source info such as date.</ref>
|-
|
Display footnotes/references (e.g. in reference section at bottom of page)

|
Affichage des notes de bas de page et des références (p.ex., dans une section de références au bas de la page)

|
[[Image:]]

|
-

|
<nowiki><references/></nowiki>
|
<references/>
|}

=== Multimedia / Multimédia ===

{| class="prettytable" width="98%"
|+ Multimedia / Multimédia
|-
! scope="col" width="30%" colspan="2" |Description
! scope="col" width="10%" rowspan="2" |Rich editor
! scope="col" width="10%" rowspan="2" |Disabled
! scope="col" width="25%" rowspan="2" |Wikitext / Wikitexte
! scope="col" width="25%" rowspan="2" |Result / Résultat
|-
!width="15%"|English
!width="15%"|Français
|-
| colspan="6" |
Note: to insert a file or image, it must already have been uploaded into the Wiki (click on link '''Upload file''' on the left pane, under '''Toolbox''' – make sure you have saved any edits to your article first!) {{see also|Help:Uploading images or documents}}
|-
| colspan="6" |
Remarque: On ne peut insérer qu’une image déjà téléchargée dans le Wiki. (Cliquez sur '''Téléverser un fichier''' dans le volet de gauche, mais veillez d’abord à enregistrer les modifications apportées à votre article, le cas échéant.) {{voir aussi|Aide:Importer un fichier}}
|-
|
Link to file description page for documents (if file is an image, will display it)

|
Lien vers la page de description du fichier (si le fichier est une image, cela l’affichera)

|
-

|
[[File:Button image.png]]

|
<nowiki>[[File:Wiki cheat sheet.doc]]</nowiki>
or

<nowiki>[[Image:star.png]]</nowiki>
|
[[File:Wiki cheat sheet.doc]]

or

[[Image:star.png]]

(click will bring to wiki file description page)(En cliquant sur ce lien, vous êtes redirigé vers la page de description du fichier)

|-
|
Link when clicked will open file directly

|
Lien cliquable d’ouverture de fichier

|
-

|
[[File:Button media.png]]

|
<nowiki>[[Media:Wiki cheat sheet.doc|Alternative text]]</nowiki>
|
[[Media:Wiki cheat sheet.doc|Alternative text]]
(clicking will open appropriate application and file)

(En cliquant sur ce lien, le fichier s’ouvre dans l’application pertinente)

|-
|
Image alignment

|
Alignement de l’image

|
[[Image:]]

|
-

|
<pre>[[Image:star.png|left]]

[[Image:star.png|center]]

[[Image:star.png|right]]</pre>

|
[[Image:star.png|left]]

[[Image:star.png|center]]

[[Image:star.png|right]]
|-
|
Image aligned left, no text beside

|
Alignement de l’image à gauche (sans texte à côté)

|
-

|
-

|
<nowiki>[[Image:star.png|none]]</nowiki>
|
[[Image:star.png|none]]

|-
|
Image with caption

(Note that this feature is currently subject to bugs, make sure that image setting is “frame”)

|
Image avec légende

(Notez que cette option est présentement sujette à des bogues – assurez-vous que l’attribut «frame» soit en fonction)

|
[[Image:]]

|
-

|
<nowiki>[[Image:star.png|frame|Caption text]]</nowiki>
|
[[Image:star.png|frame|Caption text]]

(Image will appear with a caption at bottom)

(L’image apparaîtra avec une légende au dessous)

|-
|
Image with alternative text

|
Image avec texte de remplace-ment

|
-

|
-

|
<nowiki>[[Image:star.png|alt=type text to appear when mouse is over image]]</nowiki>
|
[[Image:star.png|alt=type text to appear when mouse is over image]]

(alternative text will show when mouse is over image)(Le texte de apparaît quant le pointeur se trouve sur l’image)

|-
|
Image in thumbnail (aligned right)

|
Vignette (alignée à droite)

|
[[Image:]]

|
-

|
<nowiki>[[Image:star.png|thumb]]</nowiki>
|
[[Image:star.png|thumb]]

|-
|
Image resized to specific pixel width (aligned left)

|
Redimensionne-ment de l’image selon la largeur en pixels indiquée (alignée à gauche)

|
[[Image:]]

|
-

|
<nowiki>[[Image:star.png|150px]]</nowiki>
|
[[Image:star.png|150px]]

(Image will be 150 px wide, for example) (Par exemple, image de 150px de largeur)

|-
|
Image resized to no more than width and height (keeps original ratio)

|
Redimensionne-ment de l’image selon la largeur et la hauteur maximales (garde les proportions)

|
[[Image:]]

|
-

|
<nowiki>[[Image:star.png|20x70px]]</nowiki>
|
[[Image:star.png|20x70px]]

(Image will be no more than 20px wide by no more than 70 px high, for example)(Par exemple, l’image aura une largeur maximale de 20px et une hauteur maximale de 70px)

|-
|
Image aligned right with a frame, with original size; text on its right

|
Alignement de l’image à droite, le texte à sa gauche; l’image est encadrée et garde sa taille d’origine

|
[[Image:]]

|
-

|
<nowiki>[[Image:star.png|frame]]</nowiki>
|
Text on its right. [[Image:star.png|frame]]

|-
|
Note: more than one tag can be used

|
Remarque: Il est possible d’employer plusieurs balises

|
[[Image:]]

|
-

|
<nowiki>[[Image:star.png|75px|left|alt=Alternative text]]</nowiki>
|
[[Image:star.png|75px|left|alt=Alternative text]]

|-
|
Image gallery

|
Galerie d’images

|
[[Image:]]

|
-

|
<pre><gallery>

File:gnome.jpg|Caption text

File:Minard.png

</gallery></pre>
|
<gallery>

File:gnome.jpg|Caption text

File:Minard.png

</gallery>
|}

=== Tables / Tableaux ===

{| class="prettytable" width="98%"
|+ Tables / Tableaux
|-
! scope="col" width="30%" colspan="2" |Description
! scope="col" width="10%" rowspan="2" |Rich editor
! scope="col" width="10%" rowspan="2" |Disabled
! scope="col" width="25%" rowspan="2" |Wikitext / Wikitexte
! scope="col" width="25%" rowspan="2" |Result / Résultat
|-
!width="15%"|English
!width="15%"|Français
|-
|
Table start

|
Début du tableau

|
[[Image:]]

|
-

|
<nowiki>{|</nowiki>
| rowspan="7" |

{| border="3"
|+ Table Title
! Header 1 text
! Header 2 text
|-
| Cell A text
| Cell B text
|}
is the result of:

est le résultat de:

<pre>{| border="3"
|+ Table Title
! Header 1 text
! Header 2 text
|-
| Cell A text
| Cell B text
|}</pre>
|-
|
Table end

|
Fin du tableau

|
[[Image:]]

|
-

|
<nowiki>|}</nowiki>
|-
|
Border size

|
Largeur de la bordure

|
[[Image:]]

|
-

|
<nowiki>border="1"</nowiki>
|-
|
Table new row

|
Ajout d’une rangée

|
[[Image:]]

|
-

|
<nowiki>|-</nowiki>
|-
|
Table data cell

|
Cellule de données

|
[[Image:]]

|
-

|
<nowiki>| Cell text</nowiki>
|-
|
Table title (optional; only between table start and first table row)

|
Titre du tableau (facultatif; à insérer uniquement entre le début du tableau et sa première rangée)

|
[[Image:]]

|
-

|
<nowiki>|+ Table Title</nowiki>
|-
|
Table header cell (optional; show bold and centered)

|
Cellule d’en-tête du tableau (contenu en gras et centré; facultatif)

|
[[Image:]]

|
-

|
<pre>! Header 1 text
! Header 2 text</pre>

|-
|
Set column width (optional)

|
Réglage de la largeur des colonnes (facultatif)

|
[[Image:]]

|
-

|
<nowiki>! scope="col" width="50" | Name of column header</nowiki>
or''/ ''ou

<nowiki>| width="100pt" | Content of first cell if no header</nowiki>
|

|-
|
Aligned top

|
Alignement sur le haut

|
-

|
-

|
<nowiki>|- valign="top"</nowiki>
|


|-
|
Row color background

|
Couleur d’arrière-plan de la rangée

|
-

|
-

|
<nowiki>|- bgcolor=green</nowiki>
|
|- bgcolor=green

|}

=== Wiki-specific formatting / Formatage propre au Wiki ===

{| class="prettytable" width="98%"
|+ Wiki-specific formatting / Formatage propre au Wiki
|-
! scope="col" width="30%" colspan="2" |Description
! scope="col" width="10%" rowspan="2" |Rich editor
! scope="col" width="10%" rowspan="2" |Disabled
! scope="col" width="25%" rowspan="2" |Wikitext / Wikitexte
! scope="col" width="25%" rowspan="2" |Result / Résultat
|-
!width="15%"|English
!width="15%"|Français
|-
|
Your signature with timestamp for discussion pages

|
Votre signature et votre horodatage dans les pages de discussion

|
[[Image:]]

|
[[File:Button sig.png]]

|
<nowiki>--~~~~</nowiki>
|
--[[User:Cool.dude|Cool Dude]] HH:MM, DD Month YYYY (EST)

|-
|
Hides the table of contents (which appears if page has at least 4 headings)

|
Masquage de la table des matières (qui s’affiche si la page compte quatre en-têtes ou plus)

|
-

|
-

|
<nowiki>__NOTOC__</nowiki>
|
(no table of contents displayed)

(Aucune table des matières n’est affichée)

|-
|
Table of contents appears at point of insertion rather than at the top

|
Imposer l’affichage de la table des matières au point d’insertion plutôt qu’en haut de page



|
-

|
-

|
<nowiki>__TOC__</nowiki>
|
__TOC__

|-
|
Invisible comment (note to other wiki editors)

|
Commentaire invisible (remarque à l’intention d’autres rédacteurs du Wiki)

|
-

|
-

|
<nowiki><!--comment only visible in wikitext view--></nowiki>
|
<!--comment only visible in wikitext view-->
|-
|
Category

|
Catégorie

|
[[Image:]]

|
-

|
<nowiki>[[Category:Name of category]]</nowiki>
|
(Adds the article to the category “Name of category”)(Ajoute l’article à la catégorie «Name of category»)

|-
|
Adds the user page to the category People

'''Note:'''Replace “Lastname” and “Firstname” with your name.

|
Ajoute la page d’utilisateur à la catégorie Les gens

'''Note:'''Remplacer «Lastname» et «Firstname» avec votre nom.

|
-

|
-

|
<nowiki>[[Category:People|Lastname.Firstname]]</nowiki>
|
(User page will be added to the categories ''People'' and alphabetized properly by last name rather that under “U” for “user”)

(La page d’utilisateur sera ajoutée aux catégories ''People'' et indexée correctement par nom plutôt que sous «U» pour «user»)

|-
|
Template

(useful for information that should appear on multiple pages)

Note: see wiki page “Notice templates” for existing templates you can use.

|
Modèle (utile dans le cas d’information devant figurer dans plusieurs pages)

Note: voir l’article wiki «Notice templates» pour des modèles existants

|
[[Image:]]

|
-

|
<nowiki>{{Template name}}</nowiki>
|
(Will include template “Template name”)(Insertion du modèle «Template name»)

|-
|
Non-formatted text

(ignores wiki ''markup'')

|
Texte sans formatage (les balises du Wiki ne sont pas prises en compte)

|
[[Image:]]

|
[[File:Button nowiki.png]]

|
<pre> <nowiki>Non-[[formatted]]

<u>text</u>

but new lines '''will'''



be removed as well

as extra spaces</nowiki> </pre>

|
<nowiki>Non-[[formatted]]

<u>text</u>

but new lines '''will'''



be removed as well

as extra spaces</nowiki>
|-
|
Non-formatted text (ignores wiki “markup” and doesn't reformat text, i.e. what you see is what you get).

|
Texte sans formatage (les balises du Wiki ne sont pas prises en compte, le texte n’est pas remis en forme, c.-à-d. vous obtenez ce que vous voyez)

|
[[Image:]]

|
-

|
<pre><pre>Non-[[formatted]]

<u>text</u>

but '''does not'''



remove new lines

nor

extra spaces</pre></pre>

|
<pre>Non-[[formatted]]

<u>text</u>

but '''does not'''



remove new lines

nor

extra spaces</pre>
|-
|
Page with bilingual content (Insert code, save page then edit)

|
Page comportant du contenu bilingue (insérer le code, publier la page d’abord, puis modifier)

|
-

|
-

|
<nowiki>{{subst:two-column fr-en}}</nowiki>
|
(creates a simple two column layout for pages that are bilingual)

(Crée une disposition en deux colonnes pour les pages bilingues)

|-
|
French and English pages linked together

|
Association de pages en français et en anglais

|
-

|
-

|
Bottom of English page:

Au bas de la page anglaise:

<nowiki>[[fr:FrenchNameofPage]]</nowiki>


Bottom of French page:

Au bas de la page française:

<nowiki>[[en:EnglishNameofPage]]</nowiki>
|
(will create a Language box at the bottom of the navigation panel to the left, with a link that says 'Français')(Crée une boîte avec un lien au bas du volet de navigation de gauche portant le nom «English»)

|}


For references and links, please consult the following page on '''GCpedia''': [[Help:Contents]]

Pour des références et des liens, veuillez vous référer à la page suivante dans '''GCpedia''': [[Aide:Sommaire]]

Navigation menu

GCwiki