Difference between revisions of "Template:Teaser"

From Culture.si
Line 5: Line 5:
 
</div>
 
</div>
 
{{setProp|Teaser100|{{#eval:parse|{{first_sentence|1={{{1}}}}}}}}}
 
{{setProp|Teaser100|{{#eval:parse|{{first_sentence|1={{{1}}}}}}}}}
 +
{{setProp|TeaserImg|{{#arr:getitem|{{#arr:getitem|{{#arr:match|{{{1}}}|(File:{{!}}Image:{{!}}image\{{!}}).*\.(jpg{{!}}JPG)}}|0|}}|0|}}}}
 
{{setProp|teaser|{{#replace:{{#replace:{{#replace:{{{1|}}}|320px|282px}} |250px|221px}}  |568px|282px}}}}
 
{{setProp|teaser|{{#replace:{{#replace:{{#replace:{{{1|}}}|320px|282px}} |250px|221px}}  |568px|282px}}}}
 
{{#prop:set|Teaser|{{#replace:{{#replace:{{#replace:{{{1|}}}|320px|282px}} |250px|221px}}  |568px|282px}}}}}}</includeonly>
 
{{#prop:set|Teaser|{{#replace:{{#replace:{{#replace:{{{1|}}}|320px|282px}} |250px|221px}}  |568px|282px}}}}}}</includeonly>

Revision as of 21:06, 24 May 2017