Vorlage:Bild mit Unterschrift: Unterschied zwischen den Versionen

Aus Deutsches DMXC-Wiki
Zur Navigation springen Zur Suche springen
Zeile 2: Zeile 2:
 
{{(!}}
 
{{(!}}
 
{{!-}}
 
{{!-}}
{{!}}[[Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Bild:{{{1}}}}}{{!}}Abbildung {{{2}}}: {{{3}}}]]
+
{{!}}[[Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Spezial:Hochladen&wpDestFile={{{1}}}}}{{!}}Abbildung {{{2}}}: {{{3}}}]]
 
{{!-}}
 
{{!-}}
 
{{!}}  
 
{{!}}  
Zeile 12: Zeile 12:
 
| right = {{(!}} style="float:{{{4}}}"
 
| right = {{(!}} style="float:{{{4}}}"
 
{{!-}}
 
{{!-}}
{{!}}[[Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Bild:{{{1}}}}}{{!}}Abbildung {{{2}}}: {{{3}}}]]
+
{{!}}[[Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Spezial:Hochladen&wpDestFile={{{1}}}}}{{!}}Abbildung {{{2}}}: {{{3}}}]]
 
{{!-}}
 
{{!-}}
 
{{!}}  
 
{{!}}  
Zeile 20: Zeile 20:
 
| #default = {{(!}}
 
| #default = {{(!}}
 
{{!-}}
 
{{!-}}
{{!}}[[Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{4}}} |No-photo.jpg{{!}}300px{{!}}link=Bild:{{{1}}}}}{{!}}Abbildung {{{2}}}: {{{3}}}]]
+
{{!}}[[Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{4}}} |No-photo.jpg{{!}}300px{{!}}link=Spezial:Hochladen&wpDestFile={{{1}}}}}{{!}}Abbildung {{{2}}}: {{{3}}}]]
 
{{!-}}
 
{{!-}}
 
{{!}}  
 
{{!}}  

Version vom 4. Juni 2014, 23:35 Uhr

Abbildung {{{2}}}: {{{3}}}
Abbildung {{{2}}}: {{{3}}}


Diese Vorlage erzeugt die Bildunterschrift. Die Syntax lautet wie folgt:

{{Bild_mit_Unterschrift | <Dateiname> | <Bildnummer> | <Bildunterschrift> | <Position (optional)> | <Bildgröße (optional)>}}

Zum Beispiel:

{{Bild_mit_Unterschrift | DMXC2_Manual_Kanaluebersicht_Fenster.png | 2.2 | Die Kanalübersicht | center | 400px}}