Template:Image with Caption: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 1: Line 1:
{{#switch: {{{4}}}| center = <center>
<includeonly>{{#switch: {{{4}}}| center = <center>
{{(!}}
{{(!}}
{{!-}}
{{!-}}
Line 26: Line 26:
{{!}}style="font-size:85%; align:left; width: {{{4}}};"{{!}}'''{{#if: {{{2|}}} | {{{2}}} |}} {{{3}}}'''
{{!}}style="font-size:85%; align:left; width: {{{4}}};"{{!}}'''{{#if: {{{2|}}} | {{{2}}} |}} {{{3}}}'''
{{!)}}
{{!)}}
}}
}}</includeonly>
<noinclude>
<noinclude>



Latest revision as of 22:20, 2 March 2025


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}}