Template:Web source
This template can be used to provide the source of a picture from a website.
Usage
{{Web source |site= |home= |info= |pic= |author= |photographer= |comment= |cat= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
site | Website title | Title of the original website | empty | optional |
home | Home page link | Link to the home page of the website | empty | optional |
home-dead | Dead home page link | Set to any value to display a "dead link" notice. Specification not needed if either home-dead-date or home-wayback are specified | empty | optional |
home-dead-date | Dead home page link date | Date on which the home page link rotted, in ISO 8601 format | empty | optional |
home-wayback | Home page archive date | Date on which the home page was saved to the Wayback Machine, extracted from the URL of the saved page | * | optional |
info | Source page link | Link to the web page where the image can be found | empty | suggested |
info-dead | Dead source link | Set to any value to display a "dead link" notice. Specification not needed if either info-dead-date or info-wayback are specified | empty | optional |
info-dead-date | Dead source link date | Date on which the source page link rotted, in ISO 8601 format | empty | optional |
info-wayback | Source archive date | Date on which the source page was saved to the Wayback Machine, extracted from the URL of the saved page | * | optional |
pic | Image link | Direct link to the image | empty | suggested |
pic-dead | Dead image link | Set to any value to display a "dead link" notice. Specification not needed if either pic-dead-date or pic-wayback are specified | empty | optional |
pic-dead-date | Dead image link date | Date on which the image page link rotted, in ISO 8601 format | empty | optional |
pic-wayback | Image archive date | Date on which the image page was saved to the Wayback Machine, extracted from the URL of the saved page | * | optional |
author | Author | Name of author | empty | optional |
photographer | Photographer | Photographer of the original image | empty | optional |
comment | Comment | String to be added at the end of the text | empty | optional |
cat | Category | Category in which to place this file | empty | optional |
|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template can be used to provide the source of a picture from a website.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: In the "Source" parameter of the {{Information}} template (or the respective parameter of similar templates) or just below this template
Relies on:
Example
{{Web source|site=World Wide Web Consortium|home=https://www.w3.org/|info=https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/|pic=https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/helloworld.svg|pic-dead-date=2999-01-02|pic-wayback=20151104093226|author=clilley|comment=in W3C repository}}
renders as:
Category:Templates using an unknown approach for internationalisationCategory:Internationalization templates using LangSwitch#%20Internationalization%20templates%20using%20LangSwitchCategory:External link templates#%20External%20links%20templatesCategory:Source templates