Diferencia entre revisiones de «Ayuda:Images»
m (→File Pages) |
|||
Línea 21: | Línea 21: | ||
:* ''Note:'' <code>artist=</code> and <code>source=</code> are required. Other parameters may be omitted if irrelevant. |
:* ''Note:'' <code>artist=</code> and <code>source=</code> are required. Other parameters may be omitted if irrelevant. |
||
− | Don't worry about getting this all right first time |
+ | Don't worry about getting this all right first time--the wiki staff will most definitely review all files uploaded and their respective information. If you don't understand how to use the {{t|art}} template, please at least ''add a brief description'' including the artist's name and a link to where you found the image. |
== Using Files == |
== Using Files == |
Revisión del 20:36 4 ene 2017
This page will teach you how to upload images and insert them into articles. You must have permission from the artist before uploading an image! You will also need to contact the staff and ask for editor rights before your account has authorization to upload files. For more details, see Wikipedia's Help page on Images.
Uploading Files
Images must be uploaded to Coppermind before they can be used in articles. Use the Upload file link under the Tools section of the sidebar. Select Browse...
, choose the file you wish to upload, and select Open
.
Next you need to fill in the file description. The "filename" box should be automatically filled after the file is uploaded; you may change it if you'd like. Fill out the "summary" box with a description of the file, which may include links to related articles.
File Pages
After uploading an image, a page will be created for it named File:FILENAME.EXT
, where FILENAME.EXT
is the filename (and extension) you provided. You can find a searchable list of all uploaded files at Special:ListFiles (there's a link to it on the upload page). The file page is where people will usually land when they click on your imagine in an article.
Please include an infobox beneath the file description--generally you'll want to use the {{art}}
template for this--and add any relevant categories. Just look for a similar file if you need some guidance on this.
- Art Template
{{art}}
- Looks like:
{{art |artist= |tracer= |book= |series= |source= |type= }}
, where:artist=
is followed by the artist's name. If they have a Coppermind account, link to the user page ([[User:USERNAME]]
).tracer=
is followed by the name of the person who traced the .svg file (if applicable).book=
is followed by the book that the artwork relates to or was taken from.series=
is followed by the series that the artwork relates to.source=
is followed by a reference to the source of the artwork (usually a link to a page the image can be found on)type=
followed by any categories that the image fits into.- Note:
artist=
andsource=
are required. Other parameters may be omitted if irrelevant.
Don't worry about getting this all right first time--the wiki staff will most definitely review all files uploaded and their respective information. If you don't understand how to use the {{art}}
template, please at least add a brief description including the artist's name and a link to where you found the image.
Using Files
The easiest way to insert an image into an article is to use:
[[File:FILENAME.EXT]]
FILENAME.EXT
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 (|
), to adjust to how the image appears. These parameters include:
- Thumbnail
- Include
thumb
to make the image a thumbnail, which will give it a border, provide space for a caption, and size the image down.
- Border
- Alternatively,
border
will provide a simple border but will not provide space for a caption or resize the image.
- Locaton
- Use
right
,left
,center
, ornone
to adjust the default horizontal alignment of the image.
- Width
- Enter a number followed by "px" to specify the width of the image in pixels. Height will adjust accordingly. (Example:
200px
rescales the image to a width of 200px)
- Caption
- Any text to serve as a caption. This is a good place for a simple description and/or giving credit to the artist.
- Link
- The image will link to the file page by default. To link elsewhere, use
link=
followed by a Coppermind page or URL.
Galleries
Use galleries to add a series of related images.
To add a gallery, first use <gallery>
. Then, on a new line, enter File:FILENAME.EXT
, where FILENAME.EXT 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 </gallery>
to complete the gallery. You may add vertical bars (|
) after the individual file names followed by some text, to caption each image.
You can use a few different parameters in the first <gallery>
tag (separated by spaces) to change some aspects of the gallery. Some basic parameters are:
- Widths
- Use
widths=
followed by a number and "px" to change the default width of all images in the gallery.
- Caption
- Use
caption=
followed by some text inside of quotation marks (""
) to provide a caption for the gallery.
- Images per row
- Use
perrow=
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 of this is omitted.
Infoboxes
Most articles begin with an infobox, positioned in the top right corner. To insert an image into the infobox, simply provide an image=
parameter and input the filename (and extension) of the image you want.
Examples
Thumbnail Example
|
Resized and realigned Example
|
Centered with Border Example
|
Resized and line break Example
none (or center )will break the text for the image... ... like this.
|
Gallery Example <gallery widths=75px caption="Lots of cosmere symbols!"> File:Cosmere_symbol.svg | 1 File:Cosmere_symbol.svg | 2 File:Cosmere_symbol.svg | 3 File:Cosmere_symbol.svg | 4 File:Cosmere_symbol.svg | 5 File:Cosmere_symbol.svg | 6 File:Cosmere_symbol.svg | 7 File:Cosmere_symbol.svg | 8 </gallery> |} |