Usuario:GreyHive/Help:Images
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. Use the Summary field of the File description section to provide details about the image. Typically, the summary should contain a short description of the image and either the {{art}} or {{cover}} infobox template and any relevant categories.
- Art Template
{{art}}
- Looks like:
{{art |#artist= |tracer= |modified= |book= |series= |source= |type= }}
, where:#artist=
is followed by the artist's name, which should be a subpage of Coppermind:Artists. For official artists, which do not currently have Coppermind:Artists pages, useartist=
and a regular link to their page.tracer=
is followed by the name of the person who traced the .svg file.modified=
is followed by the name of the person who modified this version of the file (e.g. by cropping). In this casesource
should link to the original file on the Coppermind.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. This is important, as it categorizes the file.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. Each parameter should be written on a new line.
- Cover template
{{cover}}
- If you're uploading a book cover, use the
{{cover}}
template instead. It has a number of parameters, which you can see on the template's page, but the necessary ones are:book=
followed by the book that the cover comes from.artist=
followed by the name (and, if they have a page here, the page) of the artist who created the cover artcountry=
followed by the country the cover was first used insource=
followed by a reference to the source of the artwork, as with the{{art}}
template
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.
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 also a link to it on the upload page). The file page is where people will usually land when they click on your image in an article.
If not added when the file is uploaded, please include one of the above infoboxes beneath the file description any relevant categories. Just look for a similar file if you need some guidance on this.
Using Files
To insert an imagine into a page use the {{image}}
template. To use the template, use {{image|FILENAME.EXT|caption}}
FILENAME.EXT
is the filename (and extension) of the image you want; it does not include the File:
prefix. caption
should be replaced with a caption describing the image; is not required, but it is highly encouraged.
Additionally, you may use the following parameters to adjust the placement of the image (remember to separate parameters with a |
):
side
: The image alignment defaults to the center of the page; other valid options areside=left
andside=right
height
: The image width defaults to 100 pixels and the height re-scales by default to preserve ratio; you can instead set a height in pixels for the image withheight=XXXpx
(the width will then re-scale to preserve ratio)width
: The image width defaults to 100 pixels; you can usewidth=XXXpx
to set a width in pixels orwidth=XX%
to set the image to take up a certain percentage of the page width. Using this parameter will override any input for theheight
parameter; if you want to override the ratio and set both, usewidth=WWWxHHHpx
whereWWW
is the desired width andHHH
is the desired height.link
: The image will link to its File page by default; you can link to another page withlink=cosmere
orlink=https://wob.coppermind.net
Non-Template Image Insertion
If you wish for more control over the image formats, you can use [[File:FILENAME.EXT]]
, however please note that this is not the preferred method for inclusion of images on the Coppermind.
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. Some important parameters include:
- Format
border
Will provide a simple border but will not provide space for a caption or resize the image.frameless
Presents image with no frame but allows user preference for image sizing.frame
Adds a frame and space for captioning.thumb
Provides frame, space for caption, and option to resize.
For more details of formats, see Mediawiki.
- Location
- 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)
- Height
- Enter
xHHpx
where HH is the desired height of the image in pixels. Width will adjust accordingly. (Example:x200px
rescales the image to a height of 200px)
- Caption
- This is a good place for a simple description and/or giving credit to the artist. The
{{a}}
template is used for artist attribution. (Example:{{a|Ben_McSweeney}}
will create a link to Ben_McSweeney)
- 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 sub-galleries to add a series of related images. Galleries should be created once a page is no longer able to hold more art or has more than at least four pieces of artwork. See link above for in depth explanation of subpage galleries.
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
A simple thumbnail generated by | ||||||||
Resized and realigned Example
| ||||||||
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> | ||||||||
Infobox Example
To produce a basic {{character |image=Kelsier.jpg |world=Scadrial |books=[[Mistborn (series)]] }} |
New Editor's Guide | ||
---|---|---|
References & Citations | Images | Categories |