Template:Taken with/sandbox
Please test any changes in the template's /sandbox and consider discussing changes at the talk page before implementing them. |
Layout template used by "Taken with ..." templates
The template automatically sets the following categories: "Category:Taken with {{{toolcat|}}}" or "Category:{{{category}}}"
Usage
{{Taken with |toolcat= }}
To be used finally (i.e. near the bottom of the page) from all the "Taken with ..." templates;
not intended to be used directly — but of course it is possible as well;
but then it uses other parameters (by name and number) than Taken with ...
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
toolcat 1 | name of the camera or objective as used in the category name (the files are put in "Category:Taken with toolcat ") | empty | required | |
logo 2 | logo of the camera or objective model the file was taken with default logo when empty; no logo when suppressed with - (minus) | optional | ||
text | localized text saying "taken with camera X"; (replaces the default text "Taken with toolcat ") | default text | optional | |
category cat | either empty, or
| default category | optional | |
iconsize | pixel size (px) how the logo will be displayed | 28 | optional | |
by | possible user id, see Template:By | empty | optional | |
link | let the camera or objective model in toolcat be a link
■
| empty | optional | |
+ 3 | "+=+ " (or 3=+ ) when with other fields (see Template:InFi);also possible with any other parameter from 1=+ up to 9=+ . | empty | optional | |
own 4 | to prefix the 'Taken with'-box with Own work: any value, even empty, or positional: any 1=own up to 9=own in lowercase ! | empty | optional | |
sf | to change the 'Taken with'-text to Self photographed: any value | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
Placement:
|source=
der Vorlage {{Information}} vorgesehen.|source=
("Fonte"} del template {{Information}}.Example
Other fields={{Taken with|Canon EOS 500D|+|link=}}
See also
- {{Scanned with}} for digital images from a flatbed scanner
- {{Igen/twt}} adapter template from Image generation
- {{Taken with ...}} example template for subtemplates
Localization
This template is localized through {{Autotranslate}}.
To add your language to the list of languages supported by this template, please copy the code of Template:Taken with/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang
from en
(or whatever language you are translating) to the language code of your language.
Model of camera
Parameter | Description | Type | Status | |
---|---|---|---|---|
toolcat | 1 Camera | name of the camera or objective as used in the category name (the files are put in "Category:Taken with toolcat") | Unknown | required |
logo | 2 | logo of the camera or objective model the file was taken with default logo when empty; no logo when suppressed with - (minus)
| Unknown | optional |
own | own | prefix the 'Taken with'-box with Own work: any value, even empty, or positional: any 1=own up to 9=own in lowercase !
| Boolean | suggested |
category | category | no description | Unknown | optional |
cat | cat | no description | Unknown | optional |
logo | logo | no description | Unknown | optional |
iconsize | iconsize | pixel size (px) how the logo will be displayed
| Number | optional |
text | text | no description | Unknown | optional |
link | link | no description | Unknown | optional |
by | by | possible user id, see Template:By | Unknown | optional |
sf | sf | change the 'Taken with'-text to Self photographed: any value | Boolean | optional |