Difference between revisions of "Template:EUProjectsForThisPage"

From Culture.si
Line 6: Line 6:
 
}}
 
}}
 
| first = <div class="contact-info-title">[[EU funding|EU funded projects <small>(Culture, MEDIA)</small>]]</div><ul class="eu-projects">
 
| first = <div class="contact-info-title">[[EU funding|EU funded projects <small>(Culture, MEDIA)</small>]]</div><ul class="eu-projects">
| each = <li>{{#if:{{{Url}}}|[{{{Url}}} {{{Name}}}]|{{{Name}}}}}, {{{Year}}}{{#if:{{{Department}}}|, [[{{{Department}}}]]}}, [[{{{Producer}}}]]
+
| each = <li>{{#if:{{{Url}}}|[{{{Url}}} {{{Name}}}]|{{{Name}}}}}, {{{Year}}}{{#if:{{{Department}}}|{{#ifeq:{{{Department}}}|{{PAGENAME}}||, [[{{{Department}}}]]}}|{{#ifeq:{{{Producer}}}|{{PAGENAME}}||, [[{{{Producer}}}]]}}}}
 
{{#if:{{{Ccp}}}|<br>[{{{Ccp}}} Project summary]}}
 
{{#if:{{{Ccp}}}|<br>[{{{Ccp}}} Project summary]}}
 
<hr>
 
<hr>

Revision as of 12:28, 25 August 2016