Difference between revisions of "Help:Images"

From The Coppermind
Jump to navigation Jump to search
m (Update for rights changes)
Tags: Mobile web edit Mobile edit Advanced mobile edit
 
(24 intermediate revisions by 7 users not shown)
Line 1: Line 1:
  +
{{HelpToC}}
Hello! We are glad you want to help contribute art to the Coppermind. The first and most important thing is to make sure you have permission to contribute the art (either because it is yours or because you have asked the artist.) This page is here to help you with uploading your art and then inserting it into the relevant article on the wiki. If anything is unclear, please feel free to ask [[User:KalynaAnne|Kalyna]] or [[User:fbstj|Joe]] for further help.
 
  +
This page will teach you how to upload images and insert them into articles. You must have ''[[:Help:Artists|permission from the artist]]'' before uploading an image! For more details, see Wikipedia's Help page on [[wikipedia: Help: Viewing media|Images]].
   
== Step 1: Uploading the Art ==
+
== Uploading Files ==
  +
Images must be '''uploaded''' to Coppermind before they can be used in articles. Use the [[:Special:Upload|Upload file]] link under the Tools section of the sidebar. Select <code>Browse...</code>, choose the file you wish to upload, and select <code>Open</code>.
* Go [[special: upload|here]] to upload the file. You can find that page from any page on the wiki by going to the left sidebar and scrolling down to the “Tools” heading. Under “Tools” there is an “Upload File” link.
 
* In the “Source File” box there is a “Choose File” button that lets you upload your image.
 
* Make sure the filename in the “Destination Filename:” entry is something sensible. This is the title that is going to be attached to your image.
 
* Sourcing and crediting art is important. For our standard method of crediting art, copy the text in the following box and paste it in the “Summary” box on the upload page
 
<nowiki>
 
{{art
 
|artist =
 
|series =
 
|source = [URL]
 
|type = {{cat tag|Category}}
 
}}</nowiki>
 
*Filling in the art template:
 
** If the artist has a Coppermind account with user name TheArtist, then put <code><nowiki>|artist = [[User:TheArtist]]</nowiki></code>. If they don't have a Coppermind account, then just putting their name in the artist entry is fine.
 
** The series entry is exactly what you want it to be. There is a list of wiki-standard abbreviations available [[template: b|here]]. For example, if the art is from the stormlight archive, you can fill series entry with <code><nowiki>|series = The Stormlight Archive</nowiki></code> or with <code><nowiki>|series = sa</nowiki></code>.
 
** If the art is available anywhere else on the web (tumblr, DA, the 17S gallery, etc.), please link link us to it in the source entry by putting the url in square brackets.
 
** The type entry allows us to categorize the art so that if we are looking for, say, Character art we can pull up a list of it. The list of standard categories can be found in the left sidebar. If art falls in more than one category, they can be separated by commas.
 
**Sample completed art template for [[:File:AisForAxehound.png| Kalyna's axehound picture]]:
 
<nowiki>
 
{{art
 
|artist = [[User: KalynaAnne]]
 
|series = sa
 
|source = [http://kalynaanne.tumblr.com/post/113717175122]
 
|type = {{cat tag|Flora and Fauna}}
 
}}</nowiki>
 
* You are welcome to add any other comments or information you want in the Summary box. Everything in the Summary box goes on the image’s info page and can be updated later if needed.
 
* Click “Upload.” Congrats! Your art is now uploaded, has its own info page, and is ready to insert into an article!
 
   
  +
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 {{[[:Template:Art|art]]}} or {{[[Template:Cover|cover]]}} infobox template and any relevant categories.
==Step 2: Inserting your Art in an Article==
 
* Make sure you know what you called your file, say, ImageName.ext
 
* Go to the page you want to add the picture to and click the edit tab at the top of the page.
 
* The simplest way to include an image in a page is to just add the text <nowiki>[[File:ImageName.ext]]</nowiki> to the point on the page where you want the image to appear. This produces a full size image in the article. If the full size image is too large or poorly positioned, you can tweak the sizing and positioning by adding extra arguments. For example, <nowiki>[[File:ImageName.ext|30px]]</nowiki> will insert a version of the image scaled to be 30 pixels wide. If you are interested in fancier formatting, the [http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax|Wikipedia Image Syntax] page and [http://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial|Picture Tutorial] are helpful.
 
   
  +
;Art Template {{t|art}}
'''Note:''' If there is no art currently on the page you might want to add a picture to the info box rather than in the text of the page. When you edit, the template for the info box is the bit in double curly braces at the very top of the page. On the [[axehound]] page, it looks like
 
  +
: Looks like: <code><nowiki> {{art |#artist= |tracer= |modified= |book= |series= |source= |type= }}</nowiki></code>, where:
<nowiki>
 
  +
:* <code>#artist=</code> 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, use <code>artist=</code> and a regular link to their page.
{{Flora & Fauna
 
  +
:* <code>tracer=</code> is followed by the name of the person who traced the .svg file.
|type=Animal
 
  +
:* <code>modified=</code> is followed by the name of the person who modified this version of the file (e.g. by cropping). In this case <code>source</code> should link to the original file on the Coppermind.
|image=Axehound by Shallan.jpg
 
  +
:* <code>book=</code> is followed by the book that the artwork relates to or was taken from.
|world=Roshar
 
  +
:* <code>series=</code> is followed by the series that the artwork relates to. This is important, as it categorizes the file.
|books=[[The Stormlight Archive]]
 
  +
:* <code>source=</code> is followed by a reference to the source of the artwork (usually a link to a page the image can be found on)
}}</nowiki>
 
  +
:* <code>type=</code> followed by any categories that the image fits into.
If there is no art, the image line will generally be missing, so you can just add it in. Note that unlike adding art to the main part of the page, the file name here does NOT go in square brackets.
 
  +
:* ''Note:'' <code>#artist=</code> and <code>source=</code> are required. Other parameters may be omitted if irrelevant. Each parameter should be written on a new line.
   
  +
;Cover template {{t|cover}}
[[Category:help|{{PAGENAME}}]]
 
  +
: If you're uploading a book cover, use the {{t|cover}} template instead. It has a number of parameters, which you can see on the template's page, but the necessary ones are:
  +
:* <code>book=</code> followed by the book that the cover comes from.
  +
:* <code>artist=</code> followed by the name (and, if they have a page here, the page) of the artist who created the cover art
  +
:* <code>country=</code> followed by the country the cover was first used in
  +
:* <code>source=</code> followed by a reference to the source of the artwork, as with the {{t|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 {{t|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 <code><nowiki>File:FILENAME.EXT</nowiki></code>, where <code>FILENAME.EXT</code> 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 {{t|image}} template. To use the template, use <code><nowiki>{{image|FILENAME.EXT|caption}}</nowiki></code>
  +
  +
<code>FILENAME.EXT</code> is the filename (and extension) of the image you want; it does not include the <code>File:</code> prefix. <code>caption</code> 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 <code>|</code>):
  +
* <code>side</code>: The image alignment defaults to the center of the page; other valid options are <code>side=left</code> and <code>side=right</code>
  +
* <code>height</code>: 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 with <code>height=XXXpx</code> (the width will then re-scale to preserve ratio)
  +
* <code>width</code>: The image width defaults to 100 pixels; you can use <code>width=XXXpx</code> to set a width in pixels or <code>width=XX%</code> to set the image to take up a certain percentage of the page width. Using this parameter will override any input for the <code>height</code> parameter; if you want to override the ratio and set both, use <code>width=WWWxHHHpx</code> where <code>WWW</code> is the desired width and <code>HHH</code> is the desired height.
  +
* <code>link</code>: The image will link to its File page by default; you can link to another page with <code>link=cosmere</code> or <code>link=https://wob.coppermind.net</code>
  +
  +
== Non-Template Image Insertion ==
  +
If you wish for more control over the image formats, you can use <code><nowiki>[[File:FILENAME.EXT]]</nowiki></code>, however please note that this '''is not the preferred method for inclusion of images on the Coppermind'''.
  +
  +
<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. Some important parameters include:
  +
  +
;Format
  +
* <code>border</code> Will provide a simple border but will not provide space for a caption or resize the image.
  +
* <code>frameless</code> Presents image with no frame but allows user preference for image sizing.
  +
* <code>frame</code> Adds a frame and space for captioning.
  +
* <code>thumb</code> Provides frame, space for caption, and option to resize.
  +
  +
For more details of formats, see [https://www.mediawiki.org/wiki/Help:Images#Format Mediawiki].
  +
  +
;Location
  +
: Use <code>right</code>, <code>left</code>, <code>center</code>, or <code>none</code> 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:'' <code>200px</code> rescales the image to a width of 200px)
  +
  +
;Height
  +
: Enter <code>xHHpx</code>where HH is the desired height of the image in pixels. Width will adjust accordingly. (''Example:'' <code>x200px</code> 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 {{t|a}} template is used for artist attribution. (''Example:'' <code><nowiki>{{a|Ben_McSweeney}}</nowiki></code> will create a link to {{a|Ben_McSweeney}})
  +
  +
;Link
  +
: The image will link to the file page by default. To link elsewhere, use <code>link=</code> followed by a Coppermind page or URL.
  +
  +
<div class=navaid>For more options for displaying a single image, see [https://www.mediawiki.org/wiki/Help:Images#Rendering_a_single_image MediaWiki's guide].</div>
  +
  +
=== Galleries ===
  +
{{for|Help:Gallery subpages|information on creating gallery subpages}}
  +
  +
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 <code>image=</code> parameter and input the filename (and extension) of the image you want.
  +
  +
=== Examples ===
  +
{| width=100% class=wikitable
  +
|-
  +
|
  +
'''{{t|Image}} Example'''
  +
  +
{{image|Cosmere_symbol.svg|The [[cosmere]] symbol|side=right|width=200px}}
  +
  +
<code><nowiki>{{image|Cosmere_symbol.svg|The [[cosmere]] symbol|side=right|width=200px}}</nowiki></code>
  +
  +
A simple thumbnail generated by {{t|Image}}, aligned right and with a 200px width. The template automatically provides the artist attribution and the caption is added underneath that.
  +
|-
  +
|
  +
'''Resized and realigned Example'''
  +
  +
<code><nowiki>[[File:Cosmere_symbol.svg|left|200px|the [[cosmere]] symbol|link=Cosmere]]</nowiki></code>
  +
  +
[[File:Cosmere_symbol.svg|left|200px|the [[cosmere]] symbol|link=Cosmere]] The image is aligned to the left and resized; no border or room for the caption (supplying one like I did here was pointless). This image links to the "Cosmere" article.
  +
|-
  +
|
  +
'''Thumbnail Example'''
  +
  +
<code><nowiki>[[File:Cosmere_symbol.svg|thumb|the [[cosmere]] symbol]]</nowiki></code>
  +
  +
[[File:Cosmere_symbol.svg|thumb|the [[cosmere]] symbol]] A simple thumbnail with a caption, using the default thumbnail size and position (left).
  +
|-
  +
|
  +
'''Resized and realigned Example'''
  +
  +
<code><nowiki>[[File:Cosmere_symbol.svg|left|200px|the [[cosmere]] symbol|link=Cosmere]]</nowiki></code>
  +
  +
[[File:Cosmere_symbol.svg|left|200px|the [[cosmere]] symbol|link=Cosmere]] The image is aligned to the left and resized; no border or room for the caption (supplying one like I did here was pointless). This image links to the "Cosmere" article.
  +
|-
  +
|
  +
'''Centered with Border Example'''
  +
  +
<code><nowiki>[[File:Cosmere_symbol.svg|border|center|the [[cosmere]] symbol|link=http://www.coppermind.net]]</nowiki></code>
  +
  +
Given a border and centered. No width specified means the image will be full size. Again, no room for a caption as is. This image links to the Coppermind home page. [[File:Cosmere_symbol.svg|border|center|the [[cosmere]] symbol|link=http://www.coppermind.net]]
  +
|-
  +
|
  +
'''Resized and line break Example'''
  +
  +
<code><nowiki>[[File:Cosmere_symbol.svg|none|50px]]</nowiki></code>
  +
  +
Using <code>none</code> (or <code>center</code>)will break the text for the image... [[File:Cosmere_symbol.svg|border|none|50px|the [[cosmere]] symbol]] ... like this.
  +
|-
  +
|
  +
'''Gallery Example'''
  +
  +
<pre>
  +
<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>
  +
</pre>
  +
  +
<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'''
  +
{{example
  +
|name=Kelsier
  +
|image=Kelsier.jpg
  +
|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
  +
|world=Scadrial
  +
|books=[[Mistborn (series)]]
  +
}}
  +
</pre>
  +
|}
  +
  +
  +
{{help
  +
|title=New Editor's Guide
  +
|prev=[[Help:References|References & Citations]]
  +
|this=Images
  +
|next=[[Help:Categories|Categories]]
  +
}}

Latest revision as of 02:50, 13 March 2024

Contents | Getting Started | Guidelines | Markup | References | Images | Categories | Templates | What Now?

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! 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, use artist= 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 case source 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= and source= 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 art
  • country= followed by the country the cover was first used in
  • source= 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 are side=left and side=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 with height=XXXpx (the width will then re-scale to preserve ratio)
  • width: The image width defaults to 100 pixels; you can use width=XXXpx to set a width in pixels or width=XX% to set the image to take up a certain percentage of the page width. Using this parameter will override any input for the height parameter; if you want to override the ratio and set both, use width=WWWxHHHpx where WWW is the desired width and HHH is the desired height.
  • link: The image will link to its File page by default; you can link to another page with link=cosmere or link=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, or none 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 xHHpxwhere 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

{{Image}} Example

The cosmere symbol

{{image|Cosmere_symbol.svg|The [[cosmere]] symbol|side=right|width=200px}}

A simple thumbnail generated by {{Image}}, aligned right and with a 200px width. The template automatically provides the artist attribution and the caption is added underneath that.

Resized and realigned Example

[[File:Cosmere_symbol.svg|left|200px|the [[cosmere]] symbol|link=Cosmere]]

the cosmere symbol
The image is aligned to the left and resized; no border or room for the caption (supplying one like I did here was pointless). This image links to the "Cosmere" article.

Thumbnail Example

[[File:Cosmere_symbol.svg|thumb|the [[cosmere]] symbol]]

the cosmere symbol
A simple thumbnail with a caption, using the default thumbnail size and position (left).

Resized and realigned Example

[[File:Cosmere_symbol.svg|left|200px|the [[cosmere]] symbol|link=Cosmere]]

the cosmere symbol
The image is aligned to the left and resized; no border or room for the caption (supplying one like I did here was pointless). This image links to the "Cosmere" article.

Centered with Border Example

[[File:Cosmere_symbol.svg|border|center|the [[cosmere]] symbol|link=http://www.coppermind.net]]

Given a border and centered. No width specified means the image will be full size. Again, no room for a caption as is. This image links to the Coppermind home page.
the cosmere symbol

Resized and line break Example

[[File:Cosmere_symbol.svg|none|50px]]

Using none (or center)will break the text for the image...
the cosmere symbol
... 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
Kelsier
Kelsier.jpg
World Scadrial
Featured In Mistborn (series)

To produce a basic {{character}} infobox for the "Kelsier" article using the "Kelsier.jpg" file:

{{character
|image=Kelsier.jpg
|world=Scadrial
|books=[[Mistborn (series)]]
}}


New Editor's Guide
References & Citations Images Categories