Difference between revisions of "User talk:Mitja"

From Culture.si
(Replaced content with "{{#title:pageid}}")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{CURRENTWEEK}}
+
{{#title:pageid}}
{{{after ={{#expr:100*{{CURRENTYEAR}} + {{CURRENTWEEK}}}}}}}
 
{{{after1 ={{#expr:{{{after}}} + 1}}}}}
 
{{{after2 ={{#expr:{{{after1}}} + 1}}}}}
 
 
 
Weeks: {{{after}}},{{{after1}}},{{{after2}}}
 
----
 
<!-- fetches pages nad external links
 
{{#eval:parse|
 
{{#arr:dataloop|
 
{{#fetch:sql|SELECT el_to,string_agg(concat('[','[{','{ns:', page_namespace,'}','}:', page_title , ']]'),' ') as pages FROM externallinks as x, page as p WHERE page_id=el_from GROUP BY el_to LIMIT 20}}
 
|each = <li><span class="xlink">{{{el_to}}}</span><br>{{{pages}}}
 
}}}}
 
-->
 
 
 
{{#arr:dataloop|
 
{ {#fetch:sql|SELECT el_to, http_result_code(el_to) as status FROM externallinks LIMIT 1}}
 
|each = <li>{{{status}}}:: <span class="xlink">{{{el_to}}}</span>
 
}}
 
 
 
 
 
{{#arr:dataloop|
 
{{#fetch:smw|http://www.culture.si/w/index.php?title=Special:Ask&q=[[Category:Festivals]]+[[Festival+weeks::{{{after}}}]]+OR+[[Festival+weeks::{{{after1}}}]]+OR+[[Festival+weeks::{{{after2}}}]]&po=%3FWebsite%0D%0ATown%0D%0AOrganised+by%0D%0ATeaserImg%0D%0ATeaser100%0D%0A&eq=yes&p[format]=json&sort_num=&order_num=ASC&sort_num=label&order_num=ASC&p[link]=none|link=Organised by,Established}}
 
|first = <h2>Festivals in Slovenia</h2>
 
<ul class="festivals">
 
|each = <li style="clear:both"><b>[{{{url}}} {{{label}}}]</b><br>{{#ifexist:{{{TeaserImg}}}|[[{{{TeaserImg}}}|120x120px|left]]}}<i>{{{Teaser100}}} [{{{Website}}} Site]</i><br>
 
}}
 

Latest revision as of 15:09, 19 October 2016

{{#title:pageid}}