Difference between revisions of "Template:DataRow"

From Culture.si
Line 1: Line 1:
<includeonly>{{#str:replace|{{{2}}}|\[\[([^\]]+?)::(.*?)\]\]|$2}}{{#set:{{{1}}}={{#str:replace|{{{2}}}|\[\[([^\]]+?)::(.*?)\]\]|$2}}
+
<includeonly>{{{txt = {{#str:replace|{{{2}}}|\[\[([^\]]+?)::(.*?)\]\]|$2}}}}}{{#set:{{{1}}}={{{txt}}}}}{{#ifeq:Town|{{{1}}}|{{#set:Region={{#sub:{{{2}}}|0|4}}}}  
}}{{#ifeq:Town|{{{1}}}|{{#set:Region={{#sub:{{{2}}}|0|4}}}}  
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 23:31, 15 January 2013