Difference between revisions of "Template:Teaser"

From Culture.si
Line 1: Line 1:
<includeonly>{{{txt={{#str:replace|{{{1}}}|\[\[([^\]]+?)::(.*?)\]\]|$2}}}}}{{{txt}}}{{#set:Teaser100={{first_sentence|1={{{txt}}}}}}}
+
<includeonly>{{{txt={{#str:replace|{{{1}}}|\[\[([^\]]+?)::([^\]]+?)\]\]|$2}}}}}{{#set:Teaser100={{first_sentence|1={{{txt}}}}}}}
 
{{#set: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">

Revision as of 23:58, 15 January 2013