Template:Image with Caption: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 2: Line 2:
{{(!}}
{{(!}}
{{!-}}
{{!-}}
{{!}}[[file:{{#ifexist: File:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Special:Upload&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}}}"
{{!-}}
{{!-}}
{{!}}[[file:{{#ifexist: File:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Special:Upload&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 = {{(!}}
{{!-}}
{{!-}}
{{!}}[[file:{{#ifexist: File:{{{1|}}} |{{{1}}}{{!}}{{{4}}} |No-photo.jpg{{!}}300px{{!}}link=Special:Upload&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}}