Difference between revisions of "Template:ImageDataRow"

From Culture.si
 
(4 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  {{#str:replace|{{{2}}}|\[\[([^\]]+?)::([^\]]+?)\]\]|$2}}
 
FINALLY {{filepath:{{#str:replace|{{{2}}}|\[\[([^\]]+?)::([^\]]+?)\]\]|$2}}}}
 
</includeonly>
 

Latest revision as of 22:40, 24 May 2017