FANDOM


[edit] [purge] Template-info.png Template documentation

This template is used as a shortcut for linking image sources according to the image sourcing guidelines. For common sites, shortcuts have been added to the template, as detailed below. In these cases, leaving out parameters after the link will display generic terms. See Category:File license templates for other templates used for indicating the licensing of an image.

Parameters

Most of these parameters are optional and will automatically be filled in by the template when information is available in the link. (Since many URLs are not case sensitive, you can often change the capitalization of things in the link to make them display correctly; you can also override them using parameters.)

  • amazon.com: {{source|link|name|category}}. Category (optional) is the merchandise images category it goes in, without the " images" suffix, case sensitive.
  • fav.me or deviantart.com: {{source|link|author|title}}. For links using deviantart.com, the author and title information will be filled in automatically from the URL unless manually specified.
  • facebook.com: {{source|1=link|2=author}} (assuming the URL has an equals sign in it).
  • tumblr.com: {{source|link|author|title}}.
  • twitter.com: {{source|link|author|type}}.
  • youtu.be or youtube.com: {{source|link|author|title}}.
  • Otherwise, you can use {{source|link|author|description}} to display a generic source message. If only one parameter is given, the template will show a simple link that says "Source".
  • If no parameter is given, it will mark the image as needing a source per the image sourcing guidelines (as shown above, plus adding Category:Images missing source information). The |notes= parameter can be used to include additional information in the message box.
  • Note that in some cases, categories (such as Category:Fanmade images) are added automatically. Use |nocat=x to disable them (nocat can be defined with anything).

Warning

Be aware that if you want to use a link that has an equals sign (=) in it, you will need to use the template like this: {{source|1=url}}. An alternative would be to replace the = with {{=}}. Also, if using further numbered parameters in this case, they must all be explicit, e.g. |2=.

Examples

  • {{source|http://www.amazon.com/gp/product/1613776055|My Little Pony Volume 1: Friendship Is Magic}} --> Source: Amazon's "My Little Pony Volume 1: Friendship Is Magic" product
  • {{source|http://fav.me/d64a10q|johnjoseco|Pretty Pretty Princess Twilight}} --> Source: johnjoseco's DeviantArt "Pretty Pretty Princess Twilight"
  • {{source|https://jarntazecht.deviantart.com/art/Rare-Grylls-345795223}} --> Source: jarntazecht's DeviantArt "Rare Grylls"
  • tumblr example
  • {{source|https://twitter.com/dannyimusic/status/241212741698871296/photo/1/large}} --> Source: dannyimusic's Twitter photo ("photo" is what would be replaced by the third parameter; for non-photo Tweets, this says "post")
  • YouTube/youtu.be example

Expanding

To add a new site in the code: copy the case code from one line and change the site to whatever you want (preferably only the core domain [not including www] plus a / to make the search as accurate as possible). Then after the equals sign, put the display code. Please avoid breaking anything. You can also allow multiple websites to have the same result (fav.me/dA is a good example) by not putting an equals sign until the last one (they must be grouped). Please contact User:Bobogoobo with any requests for improvement of this template.

Community content is available under CC-BY-SA unless otherwise noted.