Template:Taken with/sandbox

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
 
This photo was taken with a camera.
NOTE: Please do not use this template directly! This is just for translation. Use {{Taken with}} instead.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Taken with/doc.

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;
0but then it uses other parameters (by name and number) than Taken with ...

Template parameters

ParameterDescriptionDefaultStatus
toolcat
1
name of the camera or objective as used in the category name
(the files are put in "Category:Taken with toolcat")
emptyrequired
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
textlocalized text saying "taken with camera X";
(replaces the default text "Taken with toolcat")
default
text
optional
category
cat
either empty, or
  • name of category, with brackets or without
(replaces the default category [[Category:Taken with toolcat]])
  • suppress with - or none;
  • only category without box with only
default
category
optional
iconsizepixel size (px) how the logo will be displayed28optional
bypossible user id, see Template:Byemptyoptional
linklet the camera or objective model in toolcat be a link

   ■ n or - or missing: don't link

  • yes or empty: link with the user's specified language (int:lang)
  • any ISO 639 code: use it for linking
emptyoptional
+
3
"+=+" (or 3=+) when with other fields (see Template:InFi);
also possible with any other parameter from 1=+ up to 9=+.
emptyoptional
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 !
emptyoptional
sfto change the 'Taken with'-text to Self photographed: any valueemptyoptional

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:

Deutsch: Zur Verwendung als Argument des Parameters |source= der Vorlage {{Information}} vorgesehen.
English: This template is to be used in the |source= parameter of the {{Information}} template.
Esperanto: Ĉi tiu ŝablono estas uzata en la kampo |source= («Fonto») de la ŝablono {{Information}}.
Español: Esta plantilla debe utilizarse en el parámetro |source= de la plantilla {{Information}}.
Français : Ce modèle doit être utilisé dans le paramètre |source= du modèle {{Information}}.
Italiano: Questo template è utilizzato nel parametro |source= ("Fonte"} del template {{Information}}.
日本語: このテンプレートは、{{Information}}テンプレートの|source=(原典)引数で使用されるものです。
Polski: Ten szablon jest wykorzystywany w polu |source= ("Źródło") szablonu {{Information}}.
Русский: Этот шаблон указывается в поле |source= («Источник») шаблона {{Information}}.
Українська: Цей шаблон вказується у полі |source= («Джерело») шаблону {{Information}}.

Example

Other fields={{Taken with|Canon EOS 500D|+|link=}}

See also

Localization

العربية  беларуская (тарашкевіца)  বাংলা  čeština  Deutsch  English  español  eesti  suomi  français  magyar  italiano  日本語  한국어  Lëtzebuergesch  македонски  മലയാളം  Nederlands  polski  português  português do Brasil  русский  sicilianu  slovenščina  svenska  ไทย  українська  简体中文  繁體中文  +/−

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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
toolcat1 Camera

name of the camera or objective as used in the category name (the files are put in "Category:Taken with toolcat")

Unknownrequired
logo2

logo of the camera or objective model the file was taken with default logo when empty; no logo when suppressed with - (minus)

Default
-
Unknownoptional
ownown

prefix the 'Taken with'-box with Own work: any value, even empty, or positional: any 1=own up to 9=own in lowercase !

Example
1
Booleansuggested
categorycategory

no description

Unknownoptional
catcat

no description

Unknownoptional
logologo

no description

Unknownoptional
iconsizeiconsize

pixel size (px) how the logo will be displayed

Default
28
Numberoptional
texttext

no description

Unknownoptional
linklink

no description

Unknownoptional
byby

possible user id, see Template:By

Unknownoptional
sfsf

change the 'Taken with'-text to Self photographed: any value

Booleanoptional