Difference between revisions of "Template:EUProjectsForThisPageSlo"
(Created page with "{{#arr:dataloop |{{#data:select | = EUProject.* | #where = EUProject.Producer={{#cast:ref|{{{page|{{PAGENAME}}}}}|db}} or EUProject.Department={{#cast:ref|{{{page|{{PAGENA...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|{{#data:select | |{{#data:select | ||
| = EUProject.* | | = EUProject.* | ||
− | | #where = EUProject.Producer={{#cast:ref|{{{page|{{ | + | | #where = EUProject.Producer={{#cast:ref|{{{page|{{SUBPAGENAME}}}}}|db}} or EUProject.Department={{#cast:ref|{{{page|{{PAGENAME}}}}}|db}} |
| #orderby = EUProject.Year DESC | | #orderby = EUProject.Year DESC | ||
}} | }} | ||
| first = <div class="contact-info-title">[[EU projekti|EU projekti]]</div><ul class="eu-projects"> | | first = <div class="contact-info-title">[[EU projekti|EU projekti]]</div><ul class="eu-projects"> | ||
− | | each = <li>{{#if:{{{Url}}}|[{{{Url}}} {{{Name_slo}}}]|{{{Name_slo}}}}}, {{{Year}}}{{#ifeq:{{{Department_slo}}}|{{ | + | | each = <li>{{#if:{{{Url}}}|[{{{Url}}} {{{Name_slo}}}]|{{{Name_slo}}}}}, {{{Year}}}{{#ifeq:{{{Department_slo}}}|{{SUBPAGENAME}}||, [[Kultura_v_SLoveniji/{{{Department_slo}}}|{{{Department_slo}}}]]}} |
− | {{#if:{{{Ccp}}}|<br>[{{{Ccp}}} Povzetek projekta]}}</li> | + | {{#if:{{{Ccp}}}|<br>[{{#str:replace|{{{Ccp}}}|english/||}} Povzetek projekta]}}</li> |
| last = </ul> | | last = </ul> | ||
}} | }} |