Vorlage:Image mapper/doc

This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Wechseln zu:Navigation, Suche

Description

Takes the name of an image and returns the full file name with the correct extension. With this, you can upload images as svg and png and have this template "give" you the correct file name for your project environment.

This can be used to have a png alternative for projects wanting to support old browsers.

Configuration of the used file extension is done in {{#invoke:Util|globalFileExtension}}.

Parameters

Description of the entity created by this template or of the function of this template

Vorlagenparameter

ParameterBeschreibungTypStatus
Image name w/o extension1

Here you supply the name of the image, you whish to have mapped to the corrent image extension.

Standard
Paremter1 to &quot;Template:Image mapper&quot; missing
Einzeiliger Texterforderlich

Usage

{{image mapper|AnonEditWarning}}


Gives AnonEditWarning.svg