Difference between revisions of "Template:ImageDataRow"

From Culture.si
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#set:{{{1}}}={{#str:replace|{{{2}}}|\[\[([^\]]+?)::([^\]]+?)\]\]|$2}}
+
<includeonly>{{#set:{{{1}}}={{{2}}}
}}
+
}}{{#set:{{{1}}}_url={{filepath:{{#title:pagename|{{{2}}}}}}}
{{#set:{{{1}}}_url={{filepath:{{#str:replace|{{{2}}}|\[\[([^\]]+?)::([^\]]+?)\]\]|$2}}}}
+
}}{{#prop:set|TeaserImg|{{filepath:{{#title:pagename|{{{2}}}}}}}}}</includeonly>
}}
 
 
 
DEBUG {{{2}}}
 
THEN 
 
FINALLY {{filepath:{{#title:pagename|{{{2}}}}}}}
 
</includeonly>
 

Latest revision as of 21:40, 24 May 2017