Geen bewerkingssamenvatting
k (1 versie geïmporteerd: Zie Jira-task KP-222.)
 
(73 tussenliggende versies door 5 gebruikers niet weergegeven)
Regel 1: Regel 1:
<noinclude>
<noinclude>
[[Category:EMont core]]
[[Category:EMont core]]
[[Category:EMont core protected]]
This is the "Projecten" template.
This is the "Projecten" template.
It should be called in the following format:
It should be called in the following format:
Regel 7: Regel 8:
|Supercontext=
|Supercontext=
|Heading=
|Heading=
|Program priority=
|Project type=
|Is homepage=
|Show info=
|EMMAccessControl=
}}
}}
</pre>
</pre>
Regel 12: Regel 18:
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
{{#set:Context type=Situation}}
{{#set:Semantic title={{{Heading|}}}}}
{{#set:Semantic title={{{Heading|}}}}}
{{DISPLAYTITLE:{{{Heading|}}}}}
{{#set:Heading={{{Heading|}}}}}
{{#set:Heading={{{Heading|}}}}}
{{#set:Heading nl={{{Heading|}}}}}
{{#set:Heading nl={{{Heading|}}}}}
{{#set:ImageMap template={{{ImageMap template|}}}}}
{{#set:Show VE button={{#if:{{{Show VE button|}}}|{{{Show VE button|}}}|Ja}}}}
{{#set:Show title={{#if: {{{Show title|}}}|{{{Show title|}}}|true}}}}
{{#set:Program priority={{#if: {{{Program priority|}}} | {{{Program priority|}}} | 5 - very high}}}}}}
{{#arraymap:{{{Project type|}}}|,|@@@@|{{#set:Project type=@@@@}}}}
{{#set:Is homepage={{{Is homepage|}}}}}
<!-- accesscontrol weer terugplaatsen -->
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#set:Model link={{#var:varPaginanaam}}}}
{{#set:Model link={{#var:varPaginanaam}}}}
{{#set:Self={{#var:varPaginanaam}}}}
</div>
</div>
{{#ifexpr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
{{#ifeq: {{{Show info|}}}|Nee||
== Projecten ==
{{#ifexpr: {{#expr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} or {{#if: {{{Project type|}}}|1|0}} }} |
 
<h2>{{int: EMM Text Projects }}</h2><div class="actionbar">{{New projects|Project type={{{Project type|}}}}}</div>
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
| ?Self=Project
| ?Self=Project
| ?Name=Naam
<!-- | ?Name=Project title    self geeft nu ook de leesbare, semantic title weer, waarmee dit veld overbodig is geworden -->
| ?Start date=Startdatum
| ?Start date={{int: EMM Text Start date }}
| ?End date=Einddatum
| ?End date={{int: EMM Text End date }}
| ?Summary=Samenvatting
| ?Summary={{int: EMM Text Summary }}
| mainlabel=-
| mainlabel=-
| limit=500
| limit=500
Regel 33: Regel 47:
}}
}}
}}
}}
 
{{#ifexpr: {{#ask: [[Category:Projecten]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
{[#ifexpr: {{#ask: [[Category:Projecten]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
<div class="section  section--content"><div class="section">
== Onderzoeksprogramma's ==
== {{int: EMM Text Projecten All programmes }} ==


{{#ask: [[Category:Projecten]] [[Supercontext::{{PAGENAME}}]]
{{#ask: [[Category:Projecten]] [[Supercontext::{{PAGENAME}}]]
| mainlabel=-
| ?Self={{int: EMM Text Programme }}
| sort=Semantic title
| order=desc
| limit=500
| limit=500
| format=datatables
| format=datatables
}}
}}
</div></div>
}}
}}
}} <!-- end if Show info -->
{{FooterTest}}
[[Category:Projecten]]
[[Category:Projecten]]
</includeonly>
</includeonly>

Huidige versie van 15 okt 2024 om 16:11

This is the "Projecten" template. It should be called in the following format:

{{Projecten
|Supercontext=
|Heading=
|Program priority=
|Project type=
|Is homepage=
|Show info=
|EMMAccessControl=
}}

Edit the page to see the template text.