Difference between revisions of "Template:Balast"

From Culture.si
(Created page with '<div class="balast"> <h2>{{edit|Template:Worldwide|Worldwide}}</h2> {{Worldwide}} <h2>{{edit|Template:Upcoming events|Upcoming Events}}</h2> {{Upcoming events}} {{#if:{{{see al...')
 
 
(64 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="balast">
+
<noinclude>{{/doc}}[[Category:Portal templates]]
<h2>{{edit|Template:Worldwide|Worldwide}}</h2>
+
</noinclude><div class="balast">
{{Worldwide}}
 
  
<h2>{{edit|Template:Upcoming events|Upcoming Events}}</h2>
+
{{Worldwide|limit=10|
{{Upcoming events}}
+
|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>
 +
}}
  
{{#if:{{{see also|}}}|
+
{{Worldwide|limit=20|
<h2>See also</h2>
+
|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}}}}}}'
{{{see also}}}
+
|order_by = Event.Start DESC, Event.End ASC
}}
+
|title = Current events abroad
<h2>{{PAGENAME}} web resources</h2>
+
|more=<span class="more_go">{{#title:link|Site:Events/all/{{PAGENAMEE}}/international ||all events}}</span>}}
{{Template:Web Resources Query|{{PAGENAME}}}}
+
 
 +
<!-->{{if2|<h2>See also</h2>|{{{see also|}}}}}
 +
{{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.