Difference between revisions of "Template:DataRow"

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

Revision as of 00:11, 16 January 2013