Template:Image source/doc
This is a documentation subpage for Template:Image source (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template is used on over 6500 pages. Changes to this template may cause some server load, and mistakes will be visible on many pages. Please carefully test any edits before making them, and avoid making unnecessary edits. |
Usage
edit- First param = link to author
- media = media type
- default: Image
- types: Audio, Copyright, Image, Movie, Music, Video
- case-insensitive
- file = name of file without
File:
prefix - nocap = if non-blank, no caption other than this image credit (so, don't insert a linebreak)
- paren = if non-blank, put the image credit in parentheses instead of on a separate line
Examples
editmarkup | result |
---|---|
{{image source|[[Commons:User:Pi zero|Pi zero]]}}
|
Image: Pi zero. |
{{image source|[https://www.flickr.com/people/00000000@N05 Flickr Username]}}
|
Image: Flickr Username. |
{{image source|media=audio|[[Commons:User:Pi zero|Pi zero]]}}
|
Audio: Pi zero. |
{{image source|file=Wikinews article wizard workflow.svg|[[Commons:User:Pi zero|Pi zero]]}}
|
Image: Pi zero. (Reuse terms.) |