Template:DeviantArt image/Documentation

Template page
Revision as of 02:17, 21 August 2016 by Thumper (talk | contribs) (Created template documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is intended for marking images found on DeviantArt, to make it easier to track down the source of an image. If you're taking an image from DA, or if you recognize that an existing image is from DA, you can use this template to mark the image, giving its title and the DA user name of the artist.

Usage

The template has three required arguments:

  • the image title;
  • the artist's DeviantArt user name; and
  • the image's ID.

With those three pieces of information, using the template is as simple as:

{{DeviantArt image
 | title  = <title>
 | artist = <artist>
 | id     = <id>

For example, in the description page for the image on the right, the following code is used:

{{DeviantArt image
 | artist = Sergey-Lesiuk
 | title  = Gryllotalpa Orientalis - Mari
 | id     = Gryllotalpa-Orientalis-Mari-220995209
}}

This generates the DeviantArt image notice box you will see on the image's description page.

Where to find the information

All three pieces of information required for this template can be found on the DeviantArt page for the image.

Title

The image's title is right below the image, just to the right of the artist's DeviantArt avatar. (You will also see it in the page's title, which is of the form "<title> by <artist> on DeviantArt").

Artist

The artist's name is right below the title, after "by". (You will also see it in the page's title, which is of the form "<title> by <artist> on DeviantArt").

Image ID

The easiest way to get the image's unique identifier is to look in the address bar. The last component of the URL path (the bit after the last slash) is the ID.

The URL for an image is always:

https://<artist slug>.deviantart.com/art/<id>

(DeviantArt also allows HTTP instead of HTTPS. But otherwise the URL is the same.)

Everything after the /art/ is the image identifier, which consists of a slightly modified version of the image's title, followed by a number.

Example

On the DeviantArt page http://sergey-lesiuk.deviantart.com/art/Gryllotalpa-Orientalis-Mari-220995209, the image title - which can be found just below the image itself - is "Gryllotalpa Orientalis - Mari".

Just below the image title, it says "by Sergey-Lesiuk". So the artist is "Sergey-Lesiuk".

To get the image ID, you look at the image's URL - which is http://sergey-lesiuk.deviantart.com/art/Gryllotalpa-Orientalis-Mari-220995209. Everything after the last slash is the ID. So in this case, that's "Gryllotalpa-Orientalis-Mari-220995209".

With those three components you can create the template call:

{{DeviantArt image
 | artist = Sergey-Lesiuk
 | title  = Gryllotalpa Orientalis - Mari
 | id     = Gryllotalpa-Orientalis-Mari-220995209
}}