Zuletzt bearbeitet vor 5 Monaten
von MediaWiki default

Vorlage:Bildkarten: Unterschied zwischen den Versionen

K (1 Version importiert)
Keine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
Zeile 1: Zeile 1:
<includeonly><div class="{{#if:{{{class|}}}|placeholder|placeholder|}} {{#if:{{{iconname|}}}|icon|{{#if:{{{imgname|}}}|pic|textonly}}}}">{{#if:{{{imgname|}}}|[[File:{{{imgname}}}|alt={{#if:{{alt|}}}|{{{alt|}}}|{{{label|}}}}}|400px|link={{#if:{{{imglink|}}}|{{{imglink|}}}| }}]]|{{#if:{{{iconname|}}}|{{#if:{{{imglink|}}}|{{#ifeq:{{#sub:{{{imglink}}}||5}}|http:|[{{{imglink|}}} <span class="{{{iconname|}}}" style="{{#if:{{{iconcolor|}}}|color:{{{iconcolor|}}};|}}"></span>]|{{#ifeq:{{#sub:{{{imglink}}}||6}}|https:|[{{{imglink|}}} <span class="{{{iconname|}}}" style="{{#if:{{{iconcolor|}}}|color:{{{iconcolor|}}};|}}"></span>]|[[{{{imglink|}}}|<span class="{{{iconname|}}}" style="{{#if:{{{iconcolor|}}}|color:{{{iconcolor|}}};|}}"></span>]]}}}}|<span class="{{{iconname|}}}" style="{{#if:{{{iconcolor|}}}|color:{{{iconcolor|}}};|}}"></span>}}|}}}}<div class="imgcardlink">{{#if:{{{imglink|}}}|{{#ifeq:{{#sub:{{{imglink}}}||5}}|http:|[{{{imglink|}}} {{{label|}}}]|{{#ifeq:{{#sub:{{{imglink}}}||6}}|https:|[{{{imglink|}}} {{{label|}}}]|[[{{{imglink|}}}|{{{label|}}}]]}}}}|{{{label|}}}}}</div></div></includeonly><noinclude>
<includeonly><div class=" {{#if:{{{iconname|}}}|icon|pic}}">{{#if:{{{imgname|}}}|[[File:{{{imgname}}}|alt={{#if:{{alt|}}}|{{{alt|}}}|{{{label|}}}}}|400px|link={{#if:{{{imglink|}}}|{{{imglink|}}}| }}]]|{{#if:{{{iconname|}}}|{{#if:{{{imglink|}}}|{{#ifeq:{{#sub:{{{imglink}}}||5}}|http:|[{{{imglink|}}} <span class="{{{iconname|}}}" style="{{#if:{{{iconcolor|}}}|color:{{{iconcolor|}}};|}}"></span>]|{{#ifeq:{{#sub:{{{imglink}}}||6}}|https:|[{{{imglink|}}} <span class="{{{iconname|}}}" style="{{#if:{{{iconcolor|}}}|color:{{{iconcolor|}}};|}}"></span>]|[[{{{imglink|}}}|<span class="{{{iconname|}}}" style="{{#if:{{{iconcolor|}}}|color:{{{iconcolor|}}};|}}"></span>]]}}}}|<span class="{{{iconname|}}}" style="{{#if:{{{iconcolor|}}}|color:{{{iconcolor|}}};|}}"></span>}}|{{#if:{{{imglink|}}}|{{#ifeq:{{#sub:{{{imglink}}}||5}}|http:|[{{{imglink|}}} <span class="placeholder bi bi-card-image"></span>]|{{#ifeq:{{#sub:{{{imglink}}}||6}}|https:|[{{{imglink|}}} <span class="placeholder bi bi-card-image"></span>]|{{#ifeq:{{#sub:{{{imglink}}}||7}}|mailto:|[{{{imglink|}}} <span class="placeholder bi bi-card-image"></span>]|[[{{{imglink|}}}|<span class="placeholder bi bi-card-image"></span>]]}}}}}}|<span class="placeholder bi bi-card-image"></span>}}}}}}<div class="imgcardlink">{{#if:{{{imglink|}}}|{{#ifeq:{{#sub:{{{imglink}}}||5}}|http:|[{{{imglink|}}} {{{label|}}}]|{{#ifeq:{{#sub:{{{imglink}}}||6}}|https:|[{{{imglink|}}} {{{label|}}}]|{{#ifeq:{{#sub:{{{imglink}}}||7}}|mailto:|[{{{imglink|}}} {{{label|}}}]|[[{{{imglink|}}}|{{{label|}}}]]}}}}}}|{{{label|}}}}}</div></div></includeonly><noinclude>
'''Note: '''Images are set here in the template to load the 400px thumbnail. If images appear blurry in mobile view, it can be adjusted to a larger size. Consider, however, that larger sizes mean longer load times and larger data volume especially on mobile devices.
'''Note: '''Images are set here in the template to load the 400px thumbnail. If images appear blurry in mobile view, it can be adjusted to a larger size. Consider, however, that larger sizes mean longer load times and larger data volume especially on mobile devices.
<templatedata>
<templatedata>

Version vom 3. Juli 2023, 12:44 Uhr

Note: Images are set here in the template to load the 400px thumbnail. If images appear blurry in mobile view, it can be adjusted to a larger size. Consider, however, that larger sizes mean longer load times and larger data volume especially on mobile devices.

Bildkarten mit Links

Vorlagenparameter

ParameterBeschreibungTypStatus
Bildnameimgname

Als meinbild.jpg oder meinbild.png eingeben

Dateierforderlich
Beschriftunglabel

Angzeigte Linkbezeichnung

Unbekanntvorgeschlagen
Zielseiteimglink

Wikiseite, auf die verlinkt wird

Seitennamevorgeschlagen
Alternativtext alt

Zusatzinfo für blinde Benutzer, wird nicht angezeigt

Unbekanntvorgeschlagen
iconnameiconname

keine Beschreibung

Unbekanntoptional
iconcoloriconcolor

keine Beschreibung

Unbekanntoptional