Vorlage:Media: Unterschied zwischen den Versionen
Aus Fahrradmonteur
Zur Navigation springenZur Suche springenBarone (Diskussion | Beiträge) |
Barone (Diskussion | Beiträge) |
||
Zeile 2: | Zeile 2: | ||
Extensions needed: <code>Parser Extension, String Extension</code> | Extensions needed: <code>Parser Extension, String Extension</code> | ||
− | </noinclude><includeonly>{{# | + | </noinclude><includeonly>{{#vardefine:IconArt|{{#switch:{{#sub:{{{1}}}|-4}} |
|.PDF | |.PDF | ||
|.pdf=Icon128px cPdf file.png | |.pdf=Icon128px cPdf file.png | ||
Zeile 19: | Zeile 19: | ||
|.EML | |.EML | ||
|.eml=Icon128px cYellow mail.png | |.eml=Icon128px cYellow mail.png | ||
− | |Icon128px cFull page.png}}|40px|link=Datei:{{{1|{{{1}}}}}}]][[Media:{{{1|{{{1}}}}}}|{{{2|{{{1}}}}}}]]</span>}}|[[Datei:{{# | + | |Icon128px cFull page.png}}}}{{#ifexist:Media:{{{1}}}|{{#if: {{{1}}}|<span >[[Datei:{{#var:IconArt}}|40px|link=Datei:{{{1|{{{1}}}}}}]][[Media:{{{1|{{{1}}}}}}|{{{2|{{{1}}}}}}]]</span>}}|[[Datei:{{#var:IconArt}}|40px|{{{1}}} nicht vorhanden! Hochladen?|link=Datei:{{{1|{{{1}}}}}}]] Info: <code>{{{1}}}</code> nicht vorhanden! <small>([[Datei:{{{1}}}]] Hochladen?)</small>}}</includeonly> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Version vom 13. Oktober 2011, 12:41 Uhr
Extensions needed: Parser Extension, String Extension