Difference between revisions of "Template:Teaser"

From Culture.si
Line 1: Line 1:
<includeonly>{{dataRow|Teaser100|{{first_sentence|1={{{1}}}}}}}
+
<includeonly>{{{txt = {{#str:replace|{{{1}}}|\[\[([^\]]+?)::(.*?)\]\]|$2}}}}}{{#set:Teaser100={{first_sentence|1={{{txt}}}}}}}
{{dataRow|TeaserImg|{{#arr:getitem|{{#arr:getitem|{{#arr:match|{{{1}}}|Image:.*\.jpg}}|0}}|0}}}}
+
{{#set:TeaserImg={{#arr:getitem|{{#arr:getitem|{{#arr:match|{{{1}}}|Image:.*\.jpg}}|0}}|0}}}}
 
<div id="teaser">
 
<div id="teaser">
 
{{{1}}}
 
{{{1}}}

Revision as of 23:51, 15 January 2013