Vorlage:Image mapper: Unterschied zwischen den Versionen
imported>Oetterer Keine Bearbeitungszusammenfassung |
imported>Oetterer Keine Bearbeitungszusammenfassung |
(kein Unterschied)
| |
Version vom 16. April 2022, 22:50 Uhr
Paramter1 to "Template:Image mapper" missing.svg
Description
| This template uses Lua: |
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
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Image name w/o extension | 1 | Here you supply the name of the image, you whish to have mapped to the corrent image extension.
| Einzeiliger Text | erforderlich |
Usage
<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-0">Skriptfehler: Die Funktion „unstrip“ ist nicht vorhanden.</span></strong>
Gives AnonEditWarning.svg