Difference between revisions of "Template:EventsForThisPage"

From Culture.si
Line 1: Line 1:
 
{{{fld=Event.{{ucfirst:{{{field|Related}}}}}}}}
 
{{{fld=Event.{{ucfirst:{{{field|Related}}}}}}}}
 +
{{{pg={{{page|}}}}}}
 
{{#arr:dataloop
 
{{#arr:dataloop
 
|{{#data:select
 
|{{#data:select
Line 6: Line 7:
 
   | #limit = 1
 
   | #limit = 1
 
}}
 
}}
| first = <div class="contact-info-title">{{#if:{{{1|}}}|<h2>{{{1}}}</h2>|[[:Culture.si:Events|Events {{#if:{{{page|}}}| {{{page|}}}|abroad}}]]}}</div>
+
| first = <div class="contact-info-title">{{#if:{{{1|}}}|<h2>{{{1|enka}}}</h2>|[[:Culture.si:Events|Events {{#if:{{{pg|}}}| {{{pg|}}}|abroad}}]]}}</div>
 
}}
 
}}
 
<div>
 
<div>

Revision as of 18:48, 25 April 2018


field: Event.Related, {{{page}}}