Difference between revisions of "Template:Teaser"

From Culture.si
Line 9: Line 9:
 
| {{#ifeq:{{{caption}}}|{{{caption|}}}|{{Image|{{{image}}}|caption={{{caption}}}}}|{{Image|{{{image}}}}}
 
| {{#ifeq:{{{caption}}}|{{{caption|}}}|{{Image|{{{image}}}|caption={{{caption}}}}}|{{Image|{{{image}}}}}
 
}}{{#set:TeaserImgDesc={{{caption|{{#show:image:{{{image}}}|?Description}}}}}}}
 
}}{{#set:TeaserImgDesc={{{caption|{{#show:image:{{{image}}}|?Description}}}}}}}
}}
+
}}{{{1}}}
{{{1}}}
 
 
</div>
 
</div>
 
{{{=
 
{{{=

Revision as of 18:23, 13 April 2021

{{Teaser
| image = FileName.jpg
| caption = Caption for the teaser image
| Text of the teaser .... Use 1= if the text contains equal signs.
}}