Diferencia entre revisiones de «Ayuda:Images»

458 bytes añadidos ,  hace 7 años
m
 
== Using Files ==
The easiest way to insert an image into an article is to use <code><nowiki>[[File:FILENAME.EXT]]</nowiki></code>.
 
<code>FILENAME.EXT</code> is the filename (and extension) of the image. This adds a full size image into the article. Additional parameters may be included, separated by vertical bars (<code>|</code>), to adjust to how the image appears. TheseSome important parameters include:
<code><nowiki>[[File:FILENAME.EXT]]</nowiki></code>
 
<code>FILENAME.EXT</code> is the filename (and extension) of the image. This adds a full size image into the article. Additional parameters may be included, separated by vertical bars (<code>|</code>), to adjust to how the image appears. These parameters include:
 
;Thumbnail
: Include <code>thumb</code> to make the image a thumbnail, which will give it a border, provide space for a caption, and size the image down. to a standard thumbnail width.
 
;Border
Use galleries to add a series of related images.
 
To add a gallery, first use <code><nowiki><gallery></nowiki></code>. Then, ''on a new line'', enter <code><nowiki>File:FILENAME.EXT</nowiki></code>, where <code>FILENAME.EXT</code> is the filename (and extension) of the file you wish to add to the gallery. Repeat this for all images you wish to add, each on a new line. Finally, use <code><nowiki></gallery></nowiki></code> to complete the gallery. You may add vertical bars (<code>|</code>) after the individual file names followed by some text, to caption each image.
 
You can use a few different parameters in the first <code><nowiki><gallery></nowiki></code> tag (separated by spaces) to change some aspects of the gallery. Some basic parameters are:
 
;Images per row
: Use <code>perrow=</code> followed by a number to set the number of images that will appear per row. The number of images per row will adjust dynamically with the window size ofif this is omitted.
 
=== Infoboxes ===
File:Cosmere_symbol.svg | 8
</gallery>
|-
|'''Infobox Example'''
{{example
|name=Kelsier
|image=Kelsier.jpg
|image-artist=[[Kit Buss]]
|world-raw=Scadrial
|books=[[Mistborn (series)]]
}}
To produce a basic {{t|character}} infobox for the "Kelsier" article using the "Kelsier.jpg" file:
<pre style="white-space:pre-wrap; width:300px">
{{character
|image=Kelsier.jpg
|image-artist=[[Kit Buss]]
|world=Scadrial
|books=[[Mistborn (series)]]
}}
</pre>
|}
 
Editors, Keepers
4418

ediciones