Template:AttribSVG
![]() |
This vector image includes elements that have been taken or adapted from this: ![]() |
Documentation
[view]
[edit]
[history]
[purge]
This documentation is transcluded from Template:Attrib/doc
This template is to be used on SVG images that make use of elements from other SVG images available on Commons.
- It provides an easy way to attribute the author of work requiring such attribution.
- In future it can allow for tracking of how free images are being used and derived from.
The template automatically sets the following categories: Category:Vector images using elements from other vector images
Contents
Usage
{{Attrib |1= }}
Or use the shorthand {{AttribSVG |… parameters as described …}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | name of the SVG image were elements are taken from | empty | required | |
2 by | name of the user who created that image (will be checked for existence) | empty | optional | |
category cat 3 | name of a category (to be used instead of the standard category) specify cat=- to suppress categorization | empty | optional | |
type 4 | file type specification ("SVG", "file"; for SVG files the default is "SVG") specify 4=none to display parameter 1 as plain text instead of a picture | SVG | optional | |
user u 5 | user(s) who created that image. This information will be displayed as-it-is: It can be passed in linkable format as e.g. {{U|user}} or as plain text.When provided the other parameter #2 is ignored and no existence check is performed. | empty | optional | |
U | name of the user who created that image (without existence check) When provided the parameters #2 and #5 are ignored and no existence check is performed. | empty | optional | |
topic t 7 | it is possible to specify here the short code of the topic (of the new file) (see the template Igen/top for the defined short codes); it will be displayed instead of the type (e.g. vector image or file) | type | optional | |
from f 8 | topic short code, or free other text it is possible to specify here the short code of the "from" topic; it will be displayed at the "from" file | parm. 7 | optional |
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
Example
{{Attrib|1=test.svg|U=Jimbo Wales|t=c|8=example}}
renders as:
![]() |
This coat of arms includes elements that have been taken or adapted from this example: ![]() |
See also
- {{Attrib}}
- {{AttribFile}}
- {{Attribs}} to collect several {{Attrib}} with the following parameters:
- parameter 1, 3, 5, ..., 19
- parameter 2, 4, 6, ..., 20 - or
- parameter u1, u2, u3, ..., u10 in cases where the template U is not useful
- parameter "t"
- parameter "f" with optional individuality f1, f1, ..., f10
- parameter "cat"
- parameter "type"
Localization
For layout and localizing templates see Template:Attrib#Localization — autotranslation maintainance can be performed only there!