Template:Picture with subtitle: Difference between revisions

Template page
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
{{(!}}
{{(!}}
{{!-}}
{{!-}}
{{!}}[[File:{{#ifexist: Media:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Special:Upload}}{{!}}{{#if: {{{2|}}} |Figure {{{2}}}: |}}{{{3}}}]]
{{!}}[[File:{{#ifexist: Media:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=[[File:{{{1}}}]]}}{{!}}{{#if: {{{2|}}} |Figure {{{2}}}: |}}{{{3}}}]]
{{!-}}
{{!-}}
{{!}}  
{{!}}  
Line 12: Line 12:
| right = {{(!}} style="float:{{{4}}}"
| right = {{(!}} style="float:{{{4}}}"
{{!-}}
{{!-}}
{{!}}[[File:{{#ifexist: Media:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=Special:Upload}}{{!}}{{#if: {{{2|}}} |Figure {{{2}}}: |}}{{{3}}}]]
{{!}}[[File:{{#ifexist: Media:{{{1|}}} |{{{1}}}{{!}}{{{5}}} |No-photo.jpg{{!}}300px{{!}}link=[[File:{{{1}}}]]}}{{!}}{{#if: {{{2|}}} |Figure {{{2}}}: |}}{{{3}}}]]
{{!-}}
{{!-}}
{{!}}  
{{!}}  
Line 20: Line 20:
| #default = {{(!}}
| #default = {{(!}}
{{!-}}
{{!-}}
{{!}}[[File:{{#ifexist: Media:{{{1|}}} |{{{1}}}{{!}}{{{4}}} |No-photo.jpg{{!}}300px{{!}}link=Special:Upload}}{{!}}{{#if: {{{2|}}} |Figure {{{2}}}: |}}{{{3}}}]]
{{!}}[[File:{{#ifexist: Media:{{{1|}}} |{{{1}}}{{!}}{{{4}}} |No-photo.jpg{{!}}300px{{!}}link=[[File:{{{1}}}]]}}{{!}}{{#if: {{{2|}}} |Figure {{{2}}}: |}}{{{3}}}]]
{{!-}}
{{!-}}
{{!}}  
{{!}}  

Latest revision as of 13:52, 2 March 2025

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

This Template generates the Pictur subtitle. The syntax is as following:

{{picture_with_subtitle | <Filename> | <Number of picture> | <Subtitle> | <Position (optional)> | <Picturesize (optional)>}}

For example:

  • Without positioning

{{Picture_with_subtitle | DMXC2_Manual_Kanaluebersicht_Fenster.png | 2.2 | The channel overview | 400px}}

  • With positioning

{{Picture_with_subtitle | DMXC2_Manual_Kanaluebersicht_Fenster.png | 2.2 | The channel overview | center | 400px}}