Ayuda:Imágenes
De Wikillerato
Línea 28: | Línea 28: | ||
[[Media:Wiki.png|MediaWiki logo]] | [[Media:Wiki.png|MediaWiki logo]] | ||
|- | |- | ||
- | | | + | |Imagen en miniatura<br /> (centrada, 100 pixeles<br /> de ancho, con texto en el pie) |
| | | | ||
<code><nowiki>[[Image:Wiki.png|center|thumb|100px|The MediaWiki logo]]</nowiki></code> | <code><nowiki>[[Image:Wiki.png|center|thumb|100px|The MediaWiki logo]]</nowiki></code> |
Revisión de 09:04 16 oct 2006
Tabla de contenidos |
Descripción | Comando | Efecto |
Imagen incrustada (con texto alternativo) |
| |
Enlace a la página de descripción |
| |
Enlace directamente con el fichero |
| |
Imagen en miniatura (centrada, 100 pixeles de ancho, con texto en el pie) |
|
Para utiizar imágenes en Wikillerato
Para utilizar una imagen u otro ficheros que uploaded to the wiki, use:
[[Image:Wiki.png]]
If you add a pipe (|) and some text after the filename, the text will be used as alternative text for text-only browsers:
[[Image:Wiki.png|alternative text]]
If you don't want to display the image, you can link to the file's description page, by adding a colon:
[[:Image:Wiki.png]]
To bypass the description page and link directly to a file , use the "Media" pseudo-namespace:
[[Media:Wiki.png]]
You can also make piped links if you want some other text to be used:
[[:Image:Wiki.png|link text]]
[[Media:Wiki.png|link text]]
Advanced options
The full syntax for displaying an image is:
[[Image:{name}|{options}]]
Where options can be zero or more of the following, separated by pipes:
thumb
,thumbnail
, orframe
: Controls how the image is formattedleft
,right
,center
,none
: Controls the alignment of the image on the page{width}px
: Resizes the image to the given width in pixels{caption text}
The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.
Other files
You can link to an external file using the same syntax used for linking to an external web page:
[http://url.for/some/image.png]
Or with different text:
[http://url.for/some/image.png link text here]
If it is enabled on your wiki, you can also embed external images. To do that, simply insert the url:
http://url.for/some/image.png