Difference between revisions of "Template:EuProjectsForThisPage"

From Culture.si
(Created page with "{{#arr:dataloop |{{#data:select | = EUProject.* | #where = EUProject.Producer={{#cast:ref|{{{page|{{PAGENAME}}}}}|db}} or EUProject.Department={{#cast:ref|{{{page|{{PAGENA...")
 
 
Line 6: Line 6:
 
}}
 
}}
 
| first = <div class="contact-info-title">EU funded projects</div><ul class="eu-projects">
 
| first = <div class="contact-info-title">EU funded projects</div><ul class="eu-projects">
| each = <li><b>{{{Name}}}</b><br> {{{Year}}}, {{#ifeq:{{{Role}}}|P|project partner|project lead}}{{#ifeq:{{{Department}}}|{{#title:pagenamek|{{PAGENAME}}}}||<br>[[{{{Department}}}|{{#title:pagename|{{{Department}}}}}]]}}
+
<li><b>{{#if:{{{Url}}}|[{{{Url}}} {{{Name}}}]|{{{Name}}}}}</b><br> {{{Year}}}, {{#ifeq:{{{Role}}}|P|project partner|project lead}}: {{#ifeq:{{{Department}}}|{{#title:pagenamek|{{PAGENAME}}}}||[[{{{Department}}}|{{#title:pagename|{{{Department}}}}}]]}}, produced by
{{#ifeq:{{{Producer}}}|{{#title:pagenamek|{{PAGENAME}}}}||<br>[[{{{Producer}}}|{{#title:pagename|{{{Producer}}}}}]]}}
+
{{#ifeq:{{{Producer}}}|{{#title:pagenamek|{{PAGENAME}}}}||[[{{{Producer}}}|{{#title:pagename|{{{Producer}}}}}]]}}{{#if:{{{Ccp}}}|[{{{Ccp}} More info on CCP]}}
 
| last = </ul>
 
| last = </ul>
 
}}
 
}}

Latest revision as of 18:21, 2 October 2013