Vorlage:Image mapper: Unterschied zwischen den Versionen

Permanently protected template
IMT HilfeWiki - das Wiki
 
K (Schützte „Vorlage:Image mapper“: Automatic protection of selected project pages ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt)))
 
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt)
(kein Unterschied)

Aktuelle Version vom 6. April 2023, 20:20 Uhr

Paramter1 to "Template:Image mapper" missing.svg

Documentation icon Template documentation

Description[Quelltext bearbeiten]

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[Quelltext bearbeiten]

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
Parameter1 to "Template:Image mapper" missing
Zeileerforderlich

Usage[Quelltext bearbeiten]

{{image mapper|AnonEditWarning}}

Gives AnonEditWarning.svg

Cookies helfen uns bei der Bereitstellung des IMT HilfeWikis. Bei der Nutzung vom IMT HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.