Difference between revisions of "Template:Teaser"
Line 1: | Line 1: | ||
− | <includeonly>{{{txt={{#str:replace|{{{1}}}|\[\[([^\]]+?)::( | + | <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"> |