Difference between revisions of "Template:Teaser"

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

Revision as of 00:10, 16 January 2013