Template:Image with Caption: Difference between revisions

Template page
(Created page with "{{#switch: {{{4}}}| center = <center> {{(!}} {{!-}} {{!}}Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Spezial:Hochladen&wpDestFile=...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{(!}}
{{(!}}
{{!-}}
{{!-}}
{{!}}[[Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Spezial:Hochladen&wpDestFile={{{1}}}}}{{!}}{{#if: {{{2|}}} | {{{2}}} |}}{{{3}}}]]
{{!}}[[File:{{#ifexist: File:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Special:Upload&wpDestFile={{{1}}}}}{{!}}{{#if: {{{2|}}} | {{{2}}} |}}{{{3}}}]]
{{!-}}
{{!-}}
{{!}}  
{{!}}  
Line 12: Line 12:
| right = {{(!}} style="float:{{{4}}}"
| right = {{(!}} style="float:{{{4}}}"
{{!-}}
{{!-}}
{{!}}[[Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Spezial:Hochladen&wpDestFile={{{1}}}}}{{!}}{{#if: {{{2|}}} | {{{2}}} |}}{{{3}}}]]
{{!}}[[File:{{#ifexist: File:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Special:Upload&wpDestFile={{{1}}}}}{{!}}{{#if: {{{2|}}} | {{{2}}} |}}{{{3}}}]]
{{!-}}
{{!-}}
{{!}}  
{{!}}  
Line 20: Line 20:
| #default = {{(!}}
| #default = {{(!}}
{{!-}}
{{!-}}
{{!}}[[Datei:{{#ifexist: Datei:{{{1|}}} |{{{1}}}{{!}}{{{4}}} |No-photo.jpg{{!}}300px{{!}}link=Spezial:Hochladen&wpDestFile={{{1}}}}}{{!}}{{#if: {{{2|}}} | {{{2}}} |}}{{{3}}}]]
{{!}}[[File:{{#ifexist: File:{{{1|}}} |{{{1}}}{{!}}{{{4}}} |No-photo.jpg{{!}}300px{{!}}link=Special:Upload&wpDestFile={{{1}}}}}{{!}}{{#if: {{{2|}}} | {{{2}}} |}}{{{3}}}]]
{{!-}}
{{!-}}
{{!}}  
{{!}}  

Latest revision as of 22:48, 6 February 2024

{{{3}}}
{{{3}}}


This template creates a caption. The syntax is:

{{Image_With_Caption | <File name> | <Image number> | <Caption> | <Position (optional)> | <Image size (optional)>}}

for example:

  • without position
{{Image_With_Caption | DMXC2_Manual_Kanaluebersicht_Fenster.png | 2.2 | Die Kanalübersicht | 400px}}
  • with position
{{Image_With_Caption | DMXC2_Manual_Kanaluebersicht_Fenster.png | 2.2 | Die Kanalübersicht | center | 400px}}