Difference between revisions of "Template:Balast"

From Culture.si
 
(60 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="balast">
+
<noinclude>{{/doc}}[[Category:Portal templates]]
{{if2|<h2>{{edit|Template:Worldwide|Worldwide}}</h2>|{{Worldwide}}}}
+
</noinclude><div class="balast">
{{if2|<h2>{{edit|Template:Upcoming events|Upcoming events}}</h2>|{{Upcoming events}}}}
+
 
{{if2|<h2>See also</h2>|{{{see also|}}}}}
+
{{Worldwide|limit=10|
 +
|where= to_char(Event.Start,'YYYYMMDD') > '{{#timel:Ymd|{{CURRENTDATE}}}}' and Event.Country!='Slovenia' and Event.Tag = '{{#str:addslashes|{{#title:pagenamek|{{PAGENAME}}}}}}'
 +
|order_by = Event.Start ASC, Event.End ASC
 +
|title = Upcoming events abroad
 +
|more = <span class="more_go">[{{fullurl:Site:Events}}/upcoming/{{PAGENAMEE}}/international all upcoming events]</span>
 +
}}
 +
 
 +
{{Worldwide|limit=20|
 +
|where= to_char(Event.Start,'YYYYMMDD') <= '{{#timel:Ymd|{{CURRENTDATE}}}}' and to_char(coalesce(Event.End,Event.Start),'YYYYMMDD') >= '{{#timel:Ymd|{{CURRENTDATE}}}}' and Event.Country!='Slovenia' and Event.Tag = '{{#str:addslashes|{{#title:pagenamek|{{PAGENAME}}}}}}'
 +
|order_by = Event.Start DESC, Event.End ASC
 +
|title = Current events abroad
 +
|more=<span class="more_go">{{#title:link|Site:Events/all/{{PAGENAMEE}}/international ||all events}}</span>}}
 +
 
 +
<!-->{{if2|<h2>See also</h2>|{{{see also|}}}}}
 
{{if2|<h2>{{PAGENAME}} web resources</h2>|{{Template:Web Resources Query|{{PAGENAME}}}}}}
 
{{if2|<h2>{{PAGENAME}} web resources</h2>|{{Template:Web Resources Query|{{PAGENAME}}}}}}
 
<h2>Latest Entries</h2>
 
<h2>Latest Entries</h2>
{{LatestEntries}}
+
{{LatestEntries}}-->
 
</div>
 
</div>

Latest revision as of 06:25, 21 February 2021

Documentation for Template:Balast doc

The right-hand column on portal pages.