Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
(139 tussenliggende versies door 4 gebruikers niet weergegeven)
Regel 10: Regel 10:
|Project type=
|Project type=
|Name=
|Name=
|NameEn=
|NameFr=
|NameBe=
|Summary=
|Summary=
|SummaryEn=
|SummaryFr=
|SummaryBe=
|Start date=
|Start date=
|End date=
|End date=
|Is homepage=
|Contact person=
|Show edit button=
|Imagename=
|Stakeholder=
|HZ Theme=
|SDG=
|Show summary=
|Show summary=
|Show navigation tree=
|Show navigation tree=
|Create process and content pages=
|Show new page button=
|Show new page button=
|Show sub projects=
|Show sub projects=
|Show participants=
|Show participants=
|Show sources=
|Show sources=
|Show references=
|Is homepage=
|Show edit button=
|Show VE button=
|Show sidebar=
|Show category label=
|Show title=
|EMM access control=
|EMM access control=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
</noinclude><includeonly>{{HideMe}}__NOEDITSECTION__ __NOTOC__<div style="display:none;">
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
Regel 36: Regel 51:
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
}}
}}
<!-- {{#vardefine:varProjectType|{{{Project type|}}}}} -->
 
<!-- for backward compatitibility, if no Project types are propagated, this might be the right way anyway -->
{{#vardefine:varProjectType|}}
<!-- Ignore Project type, and get the values from this Projecten (Onderzoeksprogramma), i.e. the right way -->
{{#if: {{#var:varProjectType}} | |
{{#vardefine:varProjectType|
{{#vardefine:varProjectType|
{{#ask: [[Category:Projecten]] [[-Supercontext::{{#show: {{#var:varPaginanaam}} | ?Topcontext | link=none}}]]
{{#ask: [[Category:Projecten]] [[-Supercontext::{{#show: {{#var:varPaginanaam}} | ?Topcontext | link=none}}]]
Regel 46: Regel 57:
| ?Project type=
| ?Project type=
}} }}
}} }}
}}
{{#arraymap:{{#var:varProjectType}}|,|@@@@|{{#set:Project type=@@@@}}}}
{{#arraymap:{{#var:varProjectType}}|,|@@@@|{{#set:Project type=@@@@}}}}
{{#set:Document type={{#var:varDocument type|}}}}
{{#set:Theme={{#var:varTheme|}}}}
{{#set:Featured={{{Featured|}}}}}
{{#set:Context type=Situation}}
{{#set:Context type=Situation}}
{{#set:Semantic title|{{{Name|}}}}}
{{#vardefine:varName|{{#replace:{{#replace:{{#replace:{{#replace:{{{Name|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{DISPLAYTITLE:{{{Name|}}}}}
{{#vardefine:varNameEn|{{#replace:{{#replace:{{#replace:{{#replace:{{{NameEn|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#set:Name={{{Name|}}}}}
{{#vardefine:varNameFr|{{#replace:{{#replace:{{#replace:{{#replace:{{{NameFr|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#set:Heading={{{Name|}}}}}
{{#vardefine:varNameBe|{{#replace:{{#replace:{{#replace:{{#replace:{{{NameBe|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#set:Heading nl={{{Name|}}}}}
{{#set:Semantic title|{{#var:varName}}}}
{{DISPLAYTITLE:{{#var:varName}}}}
{{#set:Name={{#var:varName}}}}
{{#set:Heading={{#var:varName}}}}
{{#set:Heading nl={{#var:varName}}}}
{{#set:Heading en={{#var:varNameEn}}}}
{{#set:Heading fr={{#var:varNameFr}}}}
{{#set:Heading be={{#var:varNameBe}}}}
{{#set:Start date={{{Start date|}}}}}
{{#set:Start date={{{Start date|}}}}}
{{#set:End date={{{End date|}}}}}
{{#set:End date={{{End date|}}}}}
{{#set:Summary={{{Summary|}}}}}
{{#set:Summary={{{Summary|}}}}}
{{#set:Summary en={{#if:{{{SummaryEn|}}}|{{{SummaryEn|}}}|{{{Summary|}}}}}}}
{{#set:Summary fr={{#if:{{{SummaryFr|}}}|{{{SummaryFr|}}}|{{{Summary|}}}}}}}
{{#set:Summary be={{#if:{{{SummaryBe|}}}|{{{SummaryBe|}}}|{{{Summary|}}}}}}}
{{#set:Contact person={{{Contact person|}}}}}
{{#set:Imagename={{{Imagename|}}}}}
{{#vardefine:varHasImage|{{#if:{{{Imagename|}}}|File:{{{Imagename|}}}|}}}}
{{#set:Has image={{#var:varHasImage}}}}
{{#set:Imagefullurl={{#replace:{{filepath:{{{Imagename|}}}}}|http://localhost|https://projectenportfolio.nl}}}}
{{#arraymap:{{{Stakeholder|}}}|,|@@@@|{{#set:Stakeholder=@@@@}}}}
{{#arraymap:{{{HZ Theme|}}}|,|@@@@|{{#set:HZ Theme=@@@@}}}}
{{#arraymap:{{{SDG|}}}|;|@@@@|{{#set:SDG=@@@@}}}}
{{#set:Show VE button={{{Show VE button|Ja}}}}}
{{#set:Show sidebar={{{Show sidebar|Ja}}}}}
{{#set:Show category label={{{Show category label|}}}}}
{{#set:Show title={{{Show title|Ja}}}}}
{{#set:Show references={{#if: {{{Show references|}}}|{{{Show references|}}}|true}}}}
{{#set:Is homepage|{{{Is homepage|}}}}}
{{#set:Is homepage|{{{Is homepage|}}}}}
{{#arraymap:{{{EMMAccessControl|}}}|,|@@@@|{{#set:EMM access control=@@@@}}}}
{{#set:EMM access control|{{{EMM access control|}}}}}
{{#set:PR ID={{PAGENAME}} - {{{Name|}}} - {{{Start date|}}}}}
{{#set:PR ID={{PAGENAME}} - {{#var:varName}} - {{{Start date|}}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#set:Model link={{#var:varPaginanaam}}}}
{{#set:Model link={{#var:varPaginanaam}}}}
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
{{#vardefine:varAanpak|{{#var:varPaginanaam}} - aanpak}}
</div>
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
{{#ifeq: {{{Show summary|}}}|Nee||{{#vardefine:varSummary|{{#show: {{#var:varPaginanaam}} | ?Summary}}}}{{#var:varSummary}}
</div>{{#ifeq: {{{Show edit button|}}}|Ja|<div style="text-align: right">
----
{{#formlink:form={{#var:varDefaultForm}}|link text=Bewerk project info|link type=button|target={{#var:varPaginanaam}}}}</div>
}}
{{#ifeq: {{{Show summary|}}}|Nee||
== Project info ==
{{#vardefine:varSummary|{{#show: {{#var:varPaginanaam}} | ?Summary}}}}{{#var:varSummary}}
{{#if: {{#var:varSummary}}|<br />}}
{{#if: {{#var:varSummary}}|<br />}}
; Start date:
; {{int: EMM Text Start date }}:
: {{#if: {{#show: {{#var:varPaginanaam}} | ?Start date}}|{{#show: {{#var:varPaginanaam}} | ?Start date#LOCL}}}}
: {{#if: {{#show: {{#var:varPaginanaam}} | ?Start date}}|{{#show: {{#var:varPaginanaam}} | ?Start date#LOCL}}}}
; End date:
; {{int: EMM Text End date }}:
: {{#if: {{#show: {{#var:varPaginanaam}} | ?End date}}|{{#show: {{#var:varPaginanaam}} | ?End date#LOCL}}}}
: {{#if: {{#show: {{#var:varPaginanaam}} | ?End date}}|{{#show: {{#var:varPaginanaam}} | ?End date#LOCL}}}}
}}
}} <!-- end Show summary -->
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
{{References}}
{{#ifeq:{{{Show references|}}}|Nee||{{References}}}}
{{#ifeq: {{{Show edit button|}}}|Ja|
{{#if:{{CURRENTLOGGEDUSER}}|
----
<div class="formedit" style="text-align: right">{{#formlink:form={{#var:varDefaultForm}}|link text={{int: EMM Text Project Edit project info}} |link type=button|target={{#var:varPaginanaam}}}}</div>
}}}}
 
<!-- verhuizen naar een additional-template? voorlopig weglaten ivm KCKT
{{#if:{{#show:{{#var:varPaginanaam}}|?Stakeholder}}|
== In samenwerking met ==
{{#show:{{#var:varPaginanaam}}|?Stakeholder}}|}}
-->
{{#ifeq: {{{Show navigation tree|}}}|Nee||
{{#ifeq: {{{Show navigation tree|}}}|Nee||
<div id="emmskin-pr-root-sidebar">
== {{int: EMM Text Project Project results and process }} ==
== {{int: EMM Text Project Project results and process }} ==
{{#ifeq: {{{Show new page button|}}}|Nee||{{#formlink:form=Light Context
 
 
{{#vardefine:varNavigationTreeForm|
{{#if: {{#var:varNavigationTreeForm}}|{{#var:varNavigationTreeForm}}|Light Context}}
}}
 
{{#ifeq: {{{Show new page button|}}}|Nee||{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar">{{#formlink:form={{#var:varNavigationTreeForm}}
| Light Context[Supercontext]={{#var:varPaginanaam}}
| Light Context[Supercontext]={{#var:varPaginanaam}}
| Light Context[Topcontext]={{#var:varTopcontext}}
| Light Context[Topcontext]={{#var:varTopcontext}}
| Light Context[Context type]=Situation
| Light Context[Context type]=Situation
| Light Context[Heading]=New page
| Light Context[Heading]=New page
| Light Context[Show referred by]=Nee
| Light Context[Show VE button]=Ja
| Light Context[Show edit button]=Ja
| Light Context[Show title]=Ja
| preload={{#var:varNewPagePreload}} <!-- gezet in een config template -->
| preload={{#var:varNewPagePreload}} <!-- gezet in een config template -->
| link text=New page
| link text={{int: EMM Text Project New page }}
| link type=button
| link type=button
}} }}
}}</div>|}} }}
{{#ifeq: {{{Create process and content pages|}}}|Ja|
{{#emm_navigationtree:root_pages={"superContext":"{{#var:varPaginanaam}}", "topContext":"{{#var:varTopcontext}}"}|emm_navigationtree_form={{#var:varNavigationTreeForm}}‎‎}}
    {{Navigation tree project|TopContext={{#var:varTopcontext}}
</div>
        |SuperContext={{#var:varPaginanaam}}
}} <!-- end #ifeq: show navigation tree -->
        |TitleSuperContext={{{Name|}}}
        |ProcessPreload={{#var:varProcessPreload}}
        |ProcessName={{#var:varAanpak}}
        |ContentPreload={{#var:varContentPreload}}
        |ContentName={{#var:varResultaten}} }}|
    {{Navigation tree project|TopContext={{#var:varTopcontext}}
        |SuperContext={{#var:varPaginanaam}}
        |TitleSuperContext={{{Name|}}} }}
}} }} <!-- end #ifeq: show navigation tree --><!--
'''Results:'''
{{#ifexist:{{#var:varResultaten}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varTopcontext}}]]
| ?Self= -->
<!-- | ?Heading=Naam -->
<!-- | ?Pagename= -->
<!--
| mainlabel=-
| parent=Supercontext
| root={{#var:varResultaten}}
| format=tree
}}|* {{#formredlink:target={{#var:varResultaten}}
| link text={{{Name|}}} - results
| form=Light Context
| Light Context[Supercontext]={{#var:varPaginanaam}}
| Light Context[Topcontext]={{#var:varTopcontext}}
| Light Context[Context type]=Situation
| Light Context[Heading]={{{Name|}}} - results
| preload={{#var:varContentPreload}} --> <!-- gezet in een config template -->
<!-- }} }} -->
<!--
'''Description and evaluation of the process:'''
{{#ifexist:{{#var:varAanpak}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varTopcontext}}]]
| ?Self= -->
<!-- | ?Heading=Naam -->
<!-- | ?Pagename= -->
<!-- | mainlabel=-
| parent=Supercontext
| root={{#var:varAanpak}}
| format=tree
}}|* {{#formredlink:target={{#var:varAanpak}}
| link text={{{Name|}}} - process
| form=Light Context
| Light Context[Supercontext]={{#var:varPaginanaam}}
| Light Context[Topcontext]={{#var:varTopcontext}}
| Light Context[Context type]=Situation
| Light Context[Heading]={{{Name|}}} - process
| preload={{#var:varProcessPreload}} --> <!-- gezet in een config template -->
<!-- }} }} -->
{{#ifeq: {{{Show sub projects|}}}|Nee||{{#ifexpr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
== {{int: EMM Text Project Subprojects }} ==
{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}


{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
{{#ifeq: {{{Show sub projects|}}}|Nee||{{#ifexpr: {{#ask: [[Supercontext::{{PAGENAME}}]] [[Category:Project]] | format=count}} > 0 |
=={{int: EMM Text Project Subprojects }}==
<div class="actionbar">{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}</div>
{{#ask: [[Supercontext::{{PAGENAME}}]] [[Category:Project]]  
| ?Self=Project
| ?Self=Project
| ?Start date=Start date
| ?Start date={{int:EMM Text Start date}}
| ?End date=End date
| ?End date={{int:EMM Text End date}}
| ?Summary=Summary
| ?Summary={{int:EMM Text Summary}}
| mainlabel=-
| mainlabel=-
| default=''No sub projects identified yet.''
| default={{int:EMM Text Project No sub projects}}
| format=table
| format=table
}}
}}
Regel 157: Regel 161:
== {{int: EMM Text Project Subprojects }} ==
== {{int: EMM Text Project Subprojects }} ==
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}
<div class="actionbar">{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}</div>
 
{{#ask: [[Supercontext::{{PAGENAME}}]] [[Category:Project]]  
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
| ?Self=Project
| ?Self=Project
| ?Start date#LOCL=Start date
| ?Start date#LOCL={{int:EMM Text Start date}}
| ?End date#LOCL=End date
| ?End date#LOCL={{int:EMM Text End date}}
| ?Summary=Summary
| ?Summary={{int:EMM Text Summary}}
| mainlabel=-
| mainlabel=-
| default=''No sub projects identified yet.''
| default={{int:EMM Text Project No sub projects}}
| format=table
| format=table
}}
}}
Regel 171: Regel 174:
</div>}} <!-- end ifexpr --> }} <!-- end #ifeq: show sub projects -->
</div>}} <!-- end ifexpr --> }} <!-- end #ifeq: show sub projects -->
{{#ifeq: {{{Show participants|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
{{#ifeq: {{{Show participants|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
== {{int: EMM Text Project Participants and students }} ==
== {{int: EMM Text Project Participants }} ==
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[CNTR back link::+]]
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[CNTR back link::+]]
| ?Self=Participant
| ?Self={{int: EMM Text Participant }}
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
| ?CNTR Role={{int:EMM Text Role}}
| ?CNTR Role=Role
| mainlabel=-
| default=''No participants included yet.''
| format=table
}}
 
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[STD back link::+]]
| ?Self=Student
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
<!--| ?Student ID=Student ID--> <!-- Student ID opnemen in subobject -->
| ?STD Role=Role
| mainlabel=-
| mainlabel=-
| default=''No students included yet.''
| default={{int:EMM Text Project No participants}}
| format=table
| format=table
}}
}}
</div>
</div>
</div>}} <!-- end #ifeq: show sub projects -->
</div>}} <!-- end #ifeq: show participants -->
{{#ifeq: {{{Show sources|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
{{#ifeq: {{{Show sources|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
== {{int: EMM Text Project Sources }} ==
== {{int: EMM Text Project Sources }} ==
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
{{#formlink:form=Resource Light
{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar">{{#formlink:form=Resource Light
| Resource Description[created in page]]={{#var:varPaginanaam}}
| Resource Description[created in page]]={{#var:varPaginanaam}}
| link text=New source (image, pdf, etc.)
| link text={{int: EMM Text New source }}
| link type=button
| link type=button
}}
}}</div>|}}
 
{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar">{{#formlink:form=Resource Hyperlink
{{#formlink:form=Resource Hyperlink
| Resource Description[created in page]]={{#var:varPaginanaam}}
| Resource Description[created in page]]={{#var:varPaginanaam}}
| link text=New hyperlink (websites, etc.)
| link text={{int: EMM Text New hyperlink }}
| link type=button
| link type=button
}}
}}</div>|}}
 
=== {{int: EMM Text Project Sources created in this page }} ===
=== Sources created in this page ===
{{#ask: [[Created in page::{{#var:varPaginanaam}}]] [[Category:Resource Description]]  
 
| ?Pagename={{int:EMM Text Page name}}
{{#ask: [[Category:Resource Description]] [[Created in page::{{#var:varPaginanaam}}]]
| ?Dct:title={{int:EMM Text Title}}
| ?Pagename=Page name
| ?Dct:creator={{int:EMM Text Author(s)}}
| ?Dct:title=Title
| ?Dct:date#LOCL={{int:EMM Text Date}}
| ?Dct:creator=Author(s)
| default={{int:EMM Text Project No sources}}
| ?Dct:date#LOCL=Date
| default=''No sources added yet.''
| format=table
}}
 
=== All sources ===
 
{{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{#var:varTopcontext}}]]</q>]]
| ?Pagename=Page name
| ?Dct:title=Title
| ?Dct:creator=Author(s)
| ?Dct:date#LOCL=Date
| default=''No sources added yet.''
| format=table
| format=table
}}
}}
 
=== {{int: EMM Text Project All sources }} ===
== Lessons learned ==
{{#ask: [[Created in page::<q>[[Topcontext::{{#var:varTopcontext}}]]</q>]][[Category:Resource Description]]  
 
| ?Pagename={{int:EMM Text Page name}}
{{#formlink:form=Lesson Learned
| ?Dct:title={{int:EMM Text Title}}
| link text=New lesson learned
| ?Dct:creator={{int:EMM Text Author(s)}}
| link type=button
| ?Dct:date#LOCL={{int:EMM Text Date}}
}}
| default={{int:EMM Text Project No sources}}
 
{{#ask: [[Category:Lesson Learned]]
| ?Pagename=Page name
| ?Heading=Title
| ?Lesson Learned Tag=Tag
| ?Summary=Summary
| sort=Lesson Learned Tag
| order=ascending
| default=''No lessons learned added yet.''
| format=table
| format=table
}}
}}
</div>
</div>
</div>}} <!-- end #ifeq: show sources -->
</div>}} <!-- end #ifeq: show sources -->
[[Category:Project]]
[[Category:Project]]
</includeonly>
</div><!--
 
hide me
 
-->{{FooterTest}}</includeonly>

Huidige versie van 6 nov 2024 om 14:50

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

{{Project
|Supercontext=
|Topcontext=
|Project type=
|Name=
|NameEn=
|NameFr=
|NameBe=
|Summary=
|SummaryEn=
|SummaryFr=
|SummaryBe=
|Start date=
|End date=
|Contact person=
|Imagename=
|Stakeholder=
|HZ Theme=	
|SDG=
|Show summary=
|Show navigation tree=
|Show new page button=
|Show sub projects=
|Show participants=
|Show sources=
|Show references=
|Is homepage=
|Show edit button=
|Show VE button=
|Show sidebar=
|Show category label=
|Show title=
|EMM access control=
}}

Edit the page to see the template text.