Difference between revisions of "Template:DataRow"

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

Revision as of 13:01, 15 January 2013