Browsing French translation

15 of 164 results
15.
== Embedded Images

{{ http://www.google.ca/intl/en_ca/images/logo.gif|I'm the Google Logo}}
Both local images and remote (on the Internet) images can be embedded into your documents easily with a simple syntax. There is also a GUI dialog available in the edit screen to make it even easier!

For example, if you are connected to the Internet right now, you should see the Google logo to the right of this text. It also has a caption!

To embed this image, I used the following syntax:
{{ http://www.google.ca/intl/en_ca/images/logo.gif|I'm the Google Logo}}

Notice the space to the left of the URL where there is none on the right side in the above example? That means that we want the image to "float right". With this syntax, the image will appear on the right side of the document while the text neatly wraps around it. Think of it like this; there is a space on the left, because the image has been //shoved// to the right. The same works to make the image "float left" by simply putting the space on the right. The text after the ''|'' symbol is the caption.

If you want the image to appear centered in your document, put a space on both sides like this:
{{ http://www.google.ca/intl/en_ca/images/logo.gif }}

And now the image appears centered. {{ http://www.google.ca/intl/en_ca/images/logo.gif?200 }}

That image appears smaller though because I also used the simple image scaling syntax. The syntax that I used for the centered image looks like this:
{{ http://www.google.ca/intl/en_ca/images/logo.gif?200 }}

Notice the "''?200''" part after the URL? This means that you want the image to appear 200 pixels wide, and scale the height automatically so that the image doesn't look stretched. If you **do** want to //stretch// the image, you can specify both width **and** height like this:

{{ http://www.google.ca/intl/en_ca/images/logo.gif?500x50 }}
{{ http://www.google.ca/intl/en_ca/images/logo.gif?500x50 }}

That means you want the image to be scaled to 500 pixels wide by 50 pixels high.

Locally stored (images on your own computer) can be embedded as well. Just specify the local path to the image file instead of a URL. For example, I could enter:

{{ /home/dcraven/newton.png }}

And that would display the image called ''newton.png'', centered in my document. The same scaling and positioning syntax that applied for remote images still applies exactly the same way for local images.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
== Ajouter des images

{{ http://www.google.ca/intl/en_ca/images/logo.gif|Je suis le logo Google.}}
Il est possible d'ajouter des images situées localement ou à distance (sur Internet) dans vos documents, grâce à une syntaxe simple. Il y a aussi une boite de dialogue dans la fenêtre d'édition, pour une simplicité accrue !

Par exemple, si vous êtes connecté à Internet en ce moment, vous devriez voir le logo Google à la droite de ce texte. Il a aussi un titre !

Pour ajouter cette image, la syntaxe suivante a été utilisée :
{{ http://www.google.ca/intl/en_ca/images/logo.gif|Je suis le logo Google}}

Notez que l'espace à gauche de l'URL, alors qu'il n'y en a pas à droite dans l'exemple précédent. Cela indique que l'image sera flatante à droite. Avec cette syntaxe, l'image apparaitra du côté droit du document, et le texte se positionnera autour. Pensez y de la façon suivante : il y a un espace à gauche, car l'image à été placée à droite. Pour placer l'image à gauche, mettez simplement l'espace à droite. Le texte après le symbole "|" est le titre de l'image.

Si vous souhaitez centrer l'image, mettez un espace des deux côtés, comme ceci :
{{ http://www.google.ca/intl/en_ca/images/logo.gif }}

L'image est désormais centrée. {{ http://www.google.ca/intl/en_ca/images/logo.gif?200 }}

Cette image apparaît plus petite, car la syntaxe permettant de dimensionner l'image a été utilisée. Celle ci est la suivante : {{ http://www.google.ca/intl/en_ca/images/logo.gif?200 }}

Vous remarquez le "?200" à la fin de l'URL ? Cela signifie que vous souhaitez que l'image apparaisse avec une largeur de 200 pixels, et une hauteur ajustée automatiquement, de façon à ne pas déformer l'image. Si vous voulez //déformer// l'image, vous pouvez spécifier la largeur **et** la hauteur de la façon suivante :

{{ http://www.google.ca/intl/en_ca/images/logo.gif?500x50 }}

{{ http://www.google.ca/intl/en_ca/images/logo.gif?500x50 }}

Ceci signifie que voulez que l'image soit affichée avec une largeur de 500 pixels et une hauteur de 50 pixels.

Il est également possible d'ajouter des images stockées localement. Il suffit de donner le chemin vers celle-ci, à la place d'une URL.

{{ /home/dcraven/newton.png }}

Ceci affichera une image appelée "newton.png" centrée dans le document. La syntaxe de positionnement et de dimensionnement s'applique de la même façon pour les images stockées localement.
Translated by JerD
Reviewed by JerD
Located in ../src/NewtonWikiText.py:126
15 of 164 results

This translation is managed by Ubuntu French Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.