This page is semi-protected against editing.

Template:Own using

From Wikimedia Commons, the free media repository
(Redirected from Template:Using)
Jump to navigation Jump to search

Own work using:

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Own using/doc.

This template is used in the |source= parameter of the {{Information}} template to render the words “own work using:” in the language specified in the user’s preferences. The intended use is to state the software used to create the file or the (data) source used to generate it.

Usage

{{Own using}}

Any namespace declaration (e.g. File:, Image:) is ignored. Only items from the FILE namespace can be used.

Template parameters

ParameterDescriptionDefaultStatus
1Name(s) of the image (with or without namespace), or just an extension.emptyoptional
2, 3, ... ∞names of more files; for each empty parameter, the name of parameter 1 is usedemptyoptional
nameFF or n
0n1 ... nn
(Global display name for files) normally not useful if more than 1 file
individual parameter(s)
emptyoptional
disFFF or dl
0d1 ... dn
Global pixel size value, to display the image
individual size parameter{s}
emptyoptional
optFFF or o
0o1 ... on
Global additional option for {{F}}, like "l" (left) or "b" (bordered)
individual option(s)
emptyoptional
hilFFF or hh
0h1 ... hn
(Global hilite tag) normally not useful if more than 1 file
as e.g. b, i, u, s, tt, big and more
emptyoptional
par4FF or ql
0q1 ... qn
Global 4th parameter for {{F}} like "n" (nolink) or "+" or "-"
individual more parameter(s) or options
emptyoptional
par5FF or rl
0r1 ... rn
Global 5th parameter for {{F}}
individual more parameter(s) or options
emptyoptional
wikiFF or ll
0l1 ... ln
Global ISO 639-1 code for a Wikipedia sisterprojekt
individual code parameter(s)
emptyoptional
langFF or il
0i1 ... in
Global ISO 639-1 code for SVG switch internationalization
individual code parameter(s)
emptyoptional
byFFFF or bl
0b1 ... bn
Global author name
individual author name(s) — or byx (see explanation)
emptyoptional
modFFF or ml
0m1 ... mn
Global code for modification of the user link(s)
individual modifications (as t, w, wt, ...)
emptyoptional

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

Example

{{Own using|Example.jpg|by=example|+}}

renders as:

Own work using: File:Example.jpg by User:example

See also

Note

When the file name of a file is the same it will be enough just to specify the file type by e.g.

  • .png (or short: .p or shorter: .)
  • .jpg (or short: .j)
  • .gif (or short: .g)
  • .svg (or short: .s)
  • .tif (or short: .t)
  • .xcf (or short: .x)
  • .pdf (or any other extension - case sensitive)

Example: {{ Own using.j }}. 0 or see 4CVNK.svg
If a file name starts with a dot, prefixing it with a namespace like File:.Xyz.jpeg can avoid conflicts. See a complete description of the replacement.

{{Own using|Example.jpg|.tiff}} renders as: Own work using: Example.jpg and Example.tiff

{{Own using|Example.svg | . | .j | .g }} renders as: Own work using: Example.svg, Example.png, Example.jpg and Example.gif

Pseudo file names

Like a file name can be specified, preferably at the last positions

  • + or - (a plus sign, or a minus sign) to require the display with namespace(s)
{{Own using|Example.jpg|–}} renders as: Own work using: File:Example.jpg
  • × (the multiplication sign) to avoid the conjunctional "and" before the last file name:
{{Own using|Example.jpg|.s|.g|×}} renders as: Own work using: Example.jpg, Example.svg, Example.gif
  • x or X (an "x", lower or upper case) to enable the textual description of other bases:

{{Own using|Example.svg|Example.jpg|by1=example|x}} more using_on
renders as:
Own work using: Example.svg by example, Example.jpg and more using_on

Because of many transclusions with wrong file names, now a workaround is made that when only one file is specified,
and with either "[" or "{" as the first character, it won't be handled by the module and Template:F but directly displayed.

Parameter by displays a user name after the file[s] display. Instead of single user ids, Userlists can be specified.
If parameter[s] by1 or b1 [by2/b2, ...] is[are] used, each such user name is displayed immediately after that file;
when parameter b1 is used (with or without a value), each file is displayed at a new line.

Examples:
{{Own using}} → Own work using:
{{Own using|:= }} → Own work using
{{Own using|:={{LangSwitch|en= the following images:|default=:}}}} → Own work using the following images:


{{Own using|Example.svg|by=Example}}
renders as:
Own work using: Example.svg by example


{{Own using|Example.svg|by=Example|+}}
renders as:
Own work using: File:Example.svg by User:example


{{Own using|Example.svg|by1=Example}}
renders as:
Own work using: Example.svg by example


{{Own using|Example.jpg|b1=Example}}
renders as:
Own work using:
Example.jpg by example


{{Own using|Example.svg|by={{Ud|Example}}|l=de}}
renders as:
Own work using: Example.svg by Example


{{Own using|Example.jpg|.s|.g|by1=example|h1=u|h2=s|b3=username|o3=n}}
renders as (hilite on 1 and 2, nolink on 3):
Own work using: Example.jpg by example, Example.svg and Example.gif by username


{{Own using|Example.jpg|Example.svg|Example.gif|b1=example|b3=TalkUser|m3=t}}
renders as (vertical table because of b1):
Own work using:
Example.jpg by example
Example.svg
Example.gif by TalkUser


Abbreviation: In simple cases the |by= can be abbreviated with /, whether the file name is spelled out or implied using .:
{{using|example.jpg/example}} renders as: Own work using: Example.jpg by example
{{ UsingImage test.png/ExampleEksempel.jpg/Extra./Username.g/Testuser1.s/Vectorizerb1 =  }} renders as (vertical table because of b1):
Own work using:
Image test.png by Example
Eksempel.jpg by Extra
Example.png by Username
Example.gif by Testuser1
Example.svg by Vectorizer

Localization

This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).