Template:AutVec
Please test any changes in the template's /sandbox (edit) and consider discussing changes at the talk page before implementing them. |
Usage
{{AutVec |1= |2= }}
The template is designed to display two authors instead of one. To use it both authors need to be specified:
- the 1st one with either
1=
oro=
- the 2nd one with either
2=
orv=
In any conflict, named parameters take precedence over positional parameters.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | name of author of "Original", when no parameter o= is specified.This text string will be used as an argument for template {{U}}, o= is specified, parameter 1 is assumed for author of "Vector". | Unknown | optional | |
2 | name of author of "Vector". Used as argument for template {{U}}; except when it starts with either "<" or "[" or "{", then it will be used as-it-is. (see textual input) | Vectorizer | optional | |
3= | the name of the original (raster) picture in Wikimedia Commons, e.g. "CoA of XYZ.jpg". Might as well be e.g.
| empty | optional | |
4= | Any additional text; follows immediately the vectorizer | empty | optional | |
o= | name of author of "Original". Can be any text, e.g. o={{Ut|example}} (the "o=" in this example is not necessary because the generated link is starting with "[".) | empty | optional | |
v= | name of author of "Vector". Can be any text, e.g. v={{Uc|example}} (the "v=" in this example is not necessary because the generated link starts with "[".) | empty | optional | |
m= | modification for {{U}}: (m1 for o_user, m2 for v_user, m for both) can be | empty | 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
See also
{{Odate}} for the two dates, e.g. Krim:' 18 March 2014; 'Kiew: 24 February 2022
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation
" (xx
being the code of your language)
. It uses {{I18n/original}}, {{I18n/vector}} and {{I18n/traditional}}.
Text instead of a user
It is not necessary to use either the parameter o=
or v=
for input which is not a user name; the positional parameter 1
and/or 2
can be used:
Instead of one user, a Userlist can be specified: {{AutVec | {{Userlist|...}} | {{Userlist|...}} | }}
;
each user in such a list can be modified, e.g. {{ Ul | User_de | User_fr | User_ru | w1 = de | w2 = fr | w3 = ru }} or {{ Userlist | UserT | User~ | m1 = t | m2 = w }}
With a special prefix the value of parameter 1 and/or parameter 2 can be flagged that it is textual instead of a user name. This prefix is removed before the text is displayed.
Such a prefix consists of 2 characters, either ()
, <>
, []
or {}
can be used, or ((
, &&
, <<
(easy on German keyboards), ..
(easy on most keyboards).
As with input from o=
or v=
, the text can be any wikitext – just plain text, or combinatons of text and links.
Example
Description | Example for two authors |
Date | |
Source | Own work |
Author |
Original: 1st original_author Vector: 2nd vectorizer |
More examples
{{ AutVec | user1 | user2 }} | Original: Vector:
| ||||||||||||||||||||
{{ AutVec | u | v = user2 | bc1 = FC9 }} | Original: Unknown author Vector: user2
| ||||||||||||||||||||
{{ AutVec | o = user1 | user2 | 3 = Example.svg | 4 = . }} | Vector:
| ||||||||||||||||||||
{{ AutVec | [[User:user1|nXu]] | v = user2 }} | Original: Vector: user2
| ||||||||||||||||||||
{{ AutVec | {{ud|user1}} | {{ul|user2|user3}} }} | Original: Vector:
| ||||||||||||||||||||
{{ AutVec | {{Creator|Wikidata=Q1261901|option=collapse}} | MaxxL }} | Original:
Vector:
|
Missing files
If the original file cannot be found in Commons, the page becomes categorized for maintenance in Commons:Deleted files in template AutVec.