Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
(260 tussenliggende versies door 6 gebruikers niet weergegeven)
Regel 1: Regel 1:
<noinclude>
<noinclude>
[[Category:EMont core]]
[[Category:EMont core]]
[[Category:EMont core protected]]
This is the "Project" template.
This is the "Project" template.
It should be called in the following format:
It should be called in the following format:
Regel 6: Regel 7:
{{Project
{{Project
|Supercontext=
|Supercontext=
|Topcontext=
|Project type=
|Name=
|Name=
|NameEn=
|NameFr=
|NameBe=
|Summary=
|Summary=
|SummaryEn=
|SummaryFr=
|SummaryBe=
|Start date=
|Start date=
|End 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=
}}
}}
</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}}}}
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
{{#if: {{{Topcontext|}}} |
{{#arraymap:{{{Topcontext|}}}|,|@@@@|{{#set:Topcontext=@@@@}}}}
{{#vardefine:varTopcontext|{{{Topcontext|}}}}}
|
{{#set:Topcontext={{#var:varPaginanaam}}}}
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
}}
{{#vardefine:varProjectType|
{{#ask: [[Category:Projecten]] [[-Supercontext::{{#show: {{#var:varPaginanaam}} | ?Topcontext | link=none}}]]
| mainlabel=-
| ?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|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#set:Name={{{Name|}}}}}
{{#vardefine:varNameEn|{{#replace:{{#replace:{{#replace:{{#replace:{{{NameEn|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#set:Heading={{{Name|}}}}}
{{#vardefine:varNameFr|{{#replace:{{#replace:{{#replace:{{#replace:{{{NameFr|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#set:Heading nl={{{Name|}}}}}
{{#vardefine:varNameBe|{{#replace:{{#replace:{{#replace:{{#replace:{{{NameBe|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#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:PR ID={{PAGENAME}} - {{{Name|}}} - {{{Start date|}}}}}
{{#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:EMM access control|{{{EMM access control|}}}}}
{{#set:PR ID={{PAGENAME}} - {{#var:varName}} - {{{Start date|}}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#set:Model link={{#var:varPaginanaam}}}}
{{#set:Model link={{#var:varPaginanaam}}}}
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
{{#set:Topcontext={{#var:varTopcontext}}}}
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
{{#set:Pagename={{#var:varPaginanaam}}}}
{{#vardefine:varAanpak|{{#var:varPaginanaam}} - aanpak}}
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
</div>
</div>
== Projectsamenvatting ==
{{#ifeq: {{{Show summary|}}}|Nee||{{#vardefine:varSummary|{{#show: {{#var:varPaginanaam}} | ?Summary}}}}{{#var:varSummary}}
{{{Summary|}}}
{{#if: {{#var:varSummary}}|<br />}}
{|
; {{int: EMM Text Start date }}:
<!--
: {{#if: {{#show: {{#var:varPaginanaam}} | ?Start date}}|{{#show: {{#var:varPaginanaam}} | ?Start date#LOCL}}}}
| '''Naam'''
; {{int: EMM Text End date }}:
| {{{Name|}}}
: {{#if: {{#show: {{#var:varPaginanaam}} | ?End date}}|{{#show: {{#var:varPaginanaam}} | ?End date#LOCL}}}}
|-
}} <!-- end Show summary -->
-->
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
| '''Startdatum:'''
{{#ifeq:{{{Show references|}}}|Nee||{{References}}}}
| {{{Start date|}}}
{{#ifeq: {{{Show edit button|}}}|Ja|
|-
{{#if:{{CURRENTLOGGEDUSER}}|
| '''Einddatum:'''
----
| {{{End date|}}}
<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>
<!--
}}}}
|-
 
| '''Samenvatting:'''
<!-- verhuizen naar een additional-template? voorlopig weglaten ivm KCKT
| {{{Summary|}}}
{{#if:{{#show:{{#var:varPaginanaam}}|?Stakeholder}}|  
== In samenwerking met ==
{{#show:{{#var:varPaginanaam}}|?Stakeholder}}|}}
 
-->
-->
|}
{{#ifeq: {{{Show navigation tree|}}}|Nee||
<div id="emmskin-pr-root-sidebar">
== {{int: EMM Text Project Project results and process }} ==


== Projectpagina's ==


'''Logboek:''' {{#ifexist:{{#var:varAanpak}}||{{#formredlink:target={{#var:varAanpak}}
{{#vardefine:varNavigationTreeForm|
| link text={{{Name|}}} - aanpak
{{#if: {{#var:varNavigationTreeForm}}|{{#var:varNavigationTreeForm}}|Light Context}}
| form=Light Context
| Light Context[Supercontext]={{#var:varPaginanaam}}
| Light Context[Topcontext]={{#var:varTopcontext}}
| Light Context[Context type]=Situation
| Light Context[Heading]={{{Name|}}} - aanpak
| preload={{#var:varProcessPreload}} <!-- gezet in een config template -->
}} }}
{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varPaginanaam}}]]
| ?Self=
<!-- | ?Heading=Naam -->
| ?Pagename=
| mainlabel=-
| parent=Supercontext
| root={{#var:varAanpak}}
| format=tree
}}
}}


'''Resultaten:''' {{#ifexist:{{#var:varResultaten}}||{{#formredlink:target={{#var:varResultaten}}
{{#ifeq: {{{Show new page button|}}}|Nee||{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar">{{#formlink:form={{#var:varNavigationTreeForm}}
| link text={{{Name|}}} - resultaat
| form=Light Context
| 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]={{{Name|}}} - resultaten
| Light Context[Heading]=New page
| preload={{#var:varContentPreload}} <!-- gezet in een config template -->
| Light Context[Show referred by]=Nee
}} }}
| Light Context[Show VE button]=Ja
{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varPaginanaam}}]]
| Light Context[Show edit button]=Ja
| ?Self=
| Light Context[Show title]=Ja
<!-- | ?Heading=Naam -->
| preload={{#var:varNewPagePreload}} <!-- gezet in een config template -->
| ?Pagename=
| link text={{int: EMM Text Project New page }}
| link type=button
}}</div>|}} }}
{{#emm_navigationtree:root_pages={"superContext":"{{#var:varPaginanaam}}", "topContext":"{{#var:varTopcontext}}"}|emm_navigationtree_form={{#var:varNavigationTreeForm}}‎‎}}
</div>
}} <!-- end #ifeq: show navigation tree -->
 
{{#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
| ?Start date={{int:EMM Text Start date}}
| ?End date={{int:EMM Text End date}}
| ?Summary={{int:EMM Text Summary}}
| mainlabel=-
| mainlabel=-
| parent=Supercontext
| default={{int:EMM Text Project No sub projects}}
| root={{#var:varResultaten}}
| format=table
| format=tree
}}
}}
<!--
| <div class="toccolours mw-collapsible mw-collapsed">
NB: Als bovenstaande links nog in het rood worden weergegeven: klik op die rode links om pagina's over de resultaten (inhoudelijke kennis) en aanpak (logboek van het proces) van het project aan te maken en klik vervolgens op de button 'Pagina opslaan'.
== {{int: EMM Text Project Subprojects }} ==
-->
<div class="mw-collapsible-content">
== Betrokken deelnemers en studenten ==
<div class="actionbar">{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}</div>
 
{{#ask: [[Supercontext::{{PAGENAME}}]] [[Category:Project]]  
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[CNTR back link::+]]
| ?Self=Project
| ?Self=Deelnemer
| ?Start date#LOCL={{int:EMM Text Start date}}
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
| ?End date#LOCL={{int:EMM Text End date}}
| ?CNTR Role=Rol
| ?Summary={{int:EMM Text Summary}}
| mainlabel=-
| mainlabel=-
| default={{int:EMM Text Project No sub projects}}
| format=table
| format=table
}}
}}
 
</div>
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[STD back link::+]]
</div>}} <!-- end ifexpr --> }} <!-- end #ifeq: show sub projects -->
| ?Self=Student
{{#ifeq: {{{Show participants|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
== {{int: EMM Text Project Participants }} ==
<!--| ?Student ID=Student ID--> <!-- Student ID opnemen in subobject -->
<div class="mw-collapsible-content">
| ?STD Role=Rol
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[CNTR back link::+]]
| ?Self={{int: EMM Text Participant }}
| ?CNTR Role={{int:EMM Text Role}}
| mainlabel=-
| mainlabel=-
| default={{int:EMM Text Project No participants}}
| format=table
| format=table
}}
}}
<div class="toccolours mw-collapsible mw-collapsed">
</div>
== Uploads ==
</div>}} <!-- end #ifeq: show participants -->
{{#ifeq: {{{Show sources|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
== {{int: EMM Text Project Sources }} ==
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
{{#formlink:form=Resource Description
{{#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=Nieuwe bron (afbeelding, pdf, etc.) uploaden
| 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=Nieuwe hyperlink bron
| link text={{int: EMM Text New hyperlink }}
| link type=button
| link type=button
}}</div>|}}
=== {{int: EMM Text Project Sources created in this page }} ===
{{#ask: [[Created in page::{{#var:varPaginanaam}}]] [[Category:Resource Description]]
| ?Pagename={{int:EMM Text Page name}}
| ?Dct:title={{int:EMM Text Title}}
| ?Dct:creator={{int:EMM Text Author(s)}}
| ?Dct:date#LOCL={{int:EMM Text Date}}
| default={{int:EMM Text Project No sources}}
| format=table
}}
}}
 
=== {{int: EMM Text Project All sources }} ===
{{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{#var:varPaginanaam}}]]</q>]]
{{#ask: [[Created in page::<q>[[Topcontext::{{#var:varTopcontext}}]]</q>]][[Category:Resource Description]]  
| ?Pagename=Paginanaam
| ?Pagename={{int:EMM Text Page name}}
| ?Dct:title=Titel
| ?Dct:title={{int:EMM Text Title}}
| ?Dct:creator=Schrijver
| ?Dct:creator={{int:EMM Text Author(s)}}
| ?Dct:date=Datum
| ?Dct:date#LOCL={{int:EMM Text Date}}
| default={{int:EMM Text Project No sources}}
| format=table
| format=table
}}
}}
</div>
</div>
</div>
</div>}} <!-- end #ifeq: show sources -->
[[Category:Project]]
[[Category:Project]]
</includeonly>
</div><!--
 
hide me
 
-->{{FooterTest}}</includeonly>

Huidige versie van 21 nov 2024 om 16:38

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.