Difference between revisions of "Template:Balast"

From Culture.si
 
(61 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="balast">
+
<noinclude>{{/doc}}[[Category:Portal templates]]
{{#if:{{Worldwide}}|
+
</noinclude><div class="balast">
<h2>{{edit|Template:Worldwide|Worldwide}}</h2>
+
 
{{Worldwide}}
+
{{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>
 
}}
 
}}
  
<h2>{{edit|Template:Upcoming events|Upcoming Events}}</h2>
+
{{Worldwide|limit=20|
{{Upcoming events}}
+
|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>}}
  
{{#if:{{{see also|}}}|
+
<!-->{{if2|<h2>See also</h2>|{{{see also|}}}}}
<h2>See also</h2>
+
{{if2|<h2>{{PAGENAME}} web resources</h2>|{{Template:Web Resources Query|{{PAGENAME}}}}}}
{{{see also}}}
 
}}
 
<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.