Vorlage:Media: Unterschied zwischen den Versionen
Aus Fahrradmonteur
Zur Navigation springenZur Suche springenZeile 3: | Zeile 3: | ||
* {{mediawiki|Extension:ParserFunctions}} (#ifexist, #if, #switch) | * {{mediawiki|Extension:ParserFunctions}} (#ifexist, #if, #switch) | ||
* {{mediawiki|Extension:Variables}} (#vardefine, #var) | * {{mediawiki|Extension:Variables}} (#vardefine, #var) | ||
− | '''Benutzte | + | '''Benutzte Icons''' von [http://dryicons.com DryIcon]: |
* [[Datei:Icon128px_cTxt_file.png|32px]] [[Datei:Icon128px cPng file.png|32px]] [[Datei:Icon128px cJpg file.png|32px]] [[Datei:Icon128px cGif file.png|32px]] [[Datei:Icon128px cBmp file.png|32px]] [[Datei:Icon128px cYellow mail.png|32px]] [[Datei:Icon128px cZip file.png|32px]] [[Datei:Icon128px cFull page.png|32px]] [[Datei:Icon128px cXls file.png|32px]] [[Datei:Icon128px cPpt file.png|32px]] [[Datei:Icon128px cPdf file.png|32px]] [[Datei:Icon128px cMp3 file.png|32px]] [[Datei:Icon128px cDoc file.png|32px]] [[Datei:Icon128px cAvi file.png|32px]] [[Datei:Icon128px cMov file.png|32px]] [[Datei:Icon128px cFla file.png|32px]] [[Datei:Icon48px_certificates.png|32px]] | * [[Datei:Icon128px_cTxt_file.png|32px]] [[Datei:Icon128px cPng file.png|32px]] [[Datei:Icon128px cJpg file.png|32px]] [[Datei:Icon128px cGif file.png|32px]] [[Datei:Icon128px cBmp file.png|32px]] [[Datei:Icon128px cYellow mail.png|32px]] [[Datei:Icon128px cZip file.png|32px]] [[Datei:Icon128px cFull page.png|32px]] [[Datei:Icon128px cXls file.png|32px]] [[Datei:Icon128px cPpt file.png|32px]] [[Datei:Icon128px cPdf file.png|32px]] [[Datei:Icon128px cMp3 file.png|32px]] [[Datei:Icon128px cDoc file.png|32px]] [[Datei:Icon128px cAvi file.png|32px]] [[Datei:Icon128px cMov file.png|32px]] [[Datei:Icon128px cFla file.png|32px]] [[Datei:Icon48px_certificates.png|32px]] | ||
'''Export:''' | '''Export:''' | ||
− | |||
− | |||
− | |||
<br /></noinclude><includeonly>{{#vardefine:IconArt|{{#switch:{{#sub:{{{1}}}|-3}} | <br /></noinclude><includeonly>{{#vardefine:IconArt|{{#switch:{{#sub:{{{1}}}|-3}} | ||
|.7Z | |.7Z | ||
Zeile 78: | Zeile 75: | ||
#ifexist:File:{{#var:DateinameOhneNamespace}}|{{ | #ifexist:File:{{#var:DateinameOhneNamespace}}|{{ | ||
#if: {{{1}}}|<span >[[Datei:{{#var:IconArt}}|32px|link=Datei:{{#var:DateinameOhneNamespace}}]][[Media:{{#var:DateinameOhneNamespace}}|{{#var:Anzeigename}}]]</span>}}|[[Datei:{{#var:IconArt}}|32px|{{#var:DateinameOhneNamespace}} nicht vorhanden! Hochladen?|link=Datei:{{#var:DateinameOhneNamespace}}]] Info: <code>{{#var:DateinameOhneNamespace}}</code> nicht vorhanden! <small>([[Datei:{{#var:DateinameOhneNamespace}}]] Hochladen?)</small>}}</includeonly><noinclude> | #if: {{{1}}}|<span >[[Datei:{{#var:IconArt}}|32px|link=Datei:{{#var:DateinameOhneNamespace}}]][[Media:{{#var:DateinameOhneNamespace}}|{{#var:Anzeigename}}]]</span>}}|[[Datei:{{#var:IconArt}}|32px|{{#var:DateinameOhneNamespace}} nicht vorhanden! Hochladen?|link=Datei:{{#var:DateinameOhneNamespace}}]] Info: <code>{{#var:DateinameOhneNamespace}}</code> nicht vorhanden! <small>([[Datei:{{#var:DateinameOhneNamespace}}]] Hochladen?)</small>}}</includeonly><noinclude> | ||
− | |||
==Anwendung== | ==Anwendung== |
Version vom 15. Oktober 2014, 13:17 Uhr
Verwendete Extensions:
- Extension:ParserFunctions (#ifexist, #if, #switch)
- Extension:Variables (#vardefine, #var)
Benutzte Icons von DryIcon:
Export:
Anwendung
{{Media|Dateiname.pdf|Alternativer Name bzw. Anzeigetext}}
- wahlweise mit oder ohne
Datei:
,Media:
oderBild:
, aber mit Datei-Endung (Postfix: .pdf, .doc, etc...)