Sjabloon:Project: verschil tussen versies

 
(148 tussenliggende versies door 3 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=
  +
|Summary=
 
|Start date=
 
|Start date=
 
|End date=
 
|End date=
|Summary=
+
|Show summary=
  +
|Show navigation tree=
  +
|Create process and content pages=
  +
|Show new page button=
  +
|Show sub projects=
  +
|Show participants=
  +
|Show sources=
  +
|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>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
  +
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
 
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
{{#vardefine:varTopcontext|{{
+
{{#if: {{{Topcontext|}}} |
  +
{{#arraymap:{{{Topcontext|}}}|,|@@@@|{{#set:Topcontext=@@@@}}}}
  +
{{#vardefine:varTopcontext|{{{Topcontext|}}}}}
  +
|
  +
{{#set:Topcontext={{#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|
  +
{{#ask: [[Category:Projecten]] [[-Supercontext::{{#show: {{#var:varPaginanaam}} | ?Topcontext | link=none}}]]
  +
| mainlabel=-
  +
| ?Project type=
  +
}} }}
  +
}}
  +
{{#arraymap:{{#var:varProjectType}}|,|@@@@|{{#set:Project type=@@@@}}}}
 
{{#set:Context type=Situation}}
 
{{#set:Context type=Situation}}
 
{{#set:Semantic title|{{{Name|}}}}}
 
{{#set:Semantic title|{{{Name|}}}}}
  +
{{DISPLAYTITLE:{{{Name|}}}}}
 
{{#set:Name={{{Name|}}}}}
 
{{#set:Name={{{Name|}}}}}
 
{{#set:Heading={{{Name|}}}}}
 
{{#set:Heading={{{Name|}}}}}
Regel 24: Regel 55:
 
{{#set:End date={{{End date|}}}}}
 
{{#set:End date={{{End date|}}}}}
 
{{#set:Summary={{{Summary|}}}}}
 
{{#set:Summary={{{Summary|}}}}}
  +
{{#arraymap:{{{EMMAccessControl|}}}|,|@@@@|{{#set:EMM access control=@@@@}}}}
 
{{#set:PR ID={{PAGENAME}} - {{{Name|}}} - {{{Start date|}}}}}
 
{{#set:PR ID={{PAGENAME}} - {{{Name|}}} - {{{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 -->
  +
{{#vardefine:varAanpak|{{#var:varPaginanaam}} - aanpak}}
  +
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
</div>
 
</div>
{|
+
{{#ifeq: {{{Show summary|}}}|Nee||
  +
== Project summary ==
  +
 
  +
{{#show: {{#var:varPaginanaam}} | ?Summary}}}}
  +
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
  +
{{References}}
  +
{{#ifeq: {{{Show navigation tree|}}}|Nee||
  +
== Project results and process ==
  +
{{#ifeq: {{{Show new page button|}}}|Nee||{{#formlink:form=Light Context
  +
| Light Context[Supercontext]={{#var:varPaginanaam}}
  +
| Light Context[Topcontext]={{#var:varTopcontext}}
  +
| Light Context[Context type]=Situation
  +
| Light Context[Heading]=New page
  +
| preload={{#var:varNewPagePreload}} <!-- gezet in een config template -->
  +
| link text=New page
  +
| link type=button
  +
}} }}
  +
{{#ifeq: {{{Create process and content pages|}}}|Ja|
  +
    {{Navigation tree project|TopContext={{#var:varTopcontext}}
  +
        |SuperContext={{#var:varPaginanaam}}
  +
        |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= -->
 
<!--
 
<!--
| '''Naam'''
+
| mainlabel=-
| {{{Name|}}}
+
| parent=Supercontext
|-
+
| root={{#var:varResultaten}}
-->
+
| format=tree
| '''Startdatum'''
+
}}|* {{#formredlink:target={{#var:varResultaten}}
| {{{Start date|}}}
+
| link text={{{Name|}}} - results
|-
 
| '''Einddatum'''
 
| {{{End date|}}}
 
|-
 
| '''Samenvatting'''
 
| {{{Summary|}}}
 
|}
 
 
 
== Projectbeschrijving ==
 
 
 
*Aanpak: {{#formredlink:target={{#var:varPaginanaam}} - logboek
 
| link text={{{Name|}}} - proces
 
 
| form=Light Context
 
| 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|}}} - proces
+
| Light Context[Heading]={{{Name|}}} - results
| preload={{#var:varProcessPreload}} <!-- gezet in een config template -->
+
| preload={{#var:varContentPreload}} --> <!-- gezet in een config template -->
}}
+
<!-- }} }} -->
*Resultaten: {{#formredlink:target={{#var:varPaginanaam}} - kennis
+
<!--
| link text={{{Name|}}} - content
+
'''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
 
| 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|}}} - content
+
| Light Context[Heading]={{{Name|}}} - process
| preload={{#var:varContentPreload}} <!-- gezet in een config template -->
+
| preload={{#var:varProcessPreload}} --> <!-- gezet in een config template -->
  +
<!-- }} }} -->
  +
{{#ifeq: {{{Show sub projects|}}}|Nee||{{#ifexpr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
  +
== Sub projects ==
  +
{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}
  +
 
  +
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
  +
| ?Self=Project
  +
| ?Start date=Start date
  +
| ?End date=End date
  +
| ?Summary=Summary
  +
| mainlabel=-
  +
| default=''No sub projects identified yet.''
  +
| format=table
 
}}
 
}}
  +
| <div class="toccolours mw-collapsible mw-collapsed">
  +
== Sub projects ==
  +
<div class="mw-collapsible-content">
  +
{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}
   
Klik op bovenstaande ''red links'' om pagina's over de resultaten (inhoudelijke kennis) en aanpak (logboek van het proces) van het project aan te maken.
+
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
 
+
| ?Self=Project
== Betrokken deelnemers en studenten ==
+
| ?Start date#LOCL=Start date
 
+
| ?End date#LOCL=End date
  +
| ?Summary=Summary
  +
| mainlabel=-
  +
| default=''No sub projects identified yet.''
  +
| format=table
  +
}}
  +
</div>
  +
</div>}} <!-- end ifexpr --> }} <!-- end #ifeq: show sub projects -->
  +
{{#ifeq: {{{Show participants|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
  +
== Participants and students ==
  +
<div class="mw-collapsible-content">
 
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[CNTR back link::+]]
 
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[CNTR back link::+]]
| ?Self=Deelnemer
+
| ?Self=Participant
 
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
 
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
| ?CNTR Role=Rol
+
| ?CNTR Role=Role
 
| mainlabel=-
 
| mainlabel=-
  +
| default=''No participants included yet.''
 
| format=table
 
| format=table
 
}}
 
}}
Regel 84: Regel 175:
 
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
 
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
 
<!--| ?Student ID=Student ID--> <!-- Student ID opnemen in subobject -->
 
<!--| ?Student ID=Student ID--> <!-- Student ID opnemen in subobject -->
| ?STD Role=Rol
+
| ?STD Role=Role
 
| mainlabel=-
 
| mainlabel=-
  +
| default=''No students included yet.''
 
| format=table
 
| format=table
 
}}
 
}}
== Pagina's in dit project ==
+
</div>
 
+
</div>}} <!-- end #ifeq: show sub projects -->
{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varPaginanaam}}]]
+
{{#ifeq: {{{Show sources|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
| ?Self=
+
== Sources ==
<!-- | ?Heading=Naam -->
+
<div class="mw-collapsible-content">
| mainlabel=-
+
{{#formlink:form=Resource Light
| parent=Supercontext
+
| Resource Description[created in page]]={{#var:varPaginanaam}}
| format=tree
+
| link text=New source (image, pdf, etc.)
  +
| link type=button
 
}}
 
}}
== Uploads ==
 
   
{{#formlink:form=Resource Description
+
{{#formlink:form=Resource Hyperlink
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
| link text=Upload een bestand
+
| link text=New hyperlink (websites, etc.)
 
| link type=button
 
| link type=button
 
}}
 
}}
  +
  +
=== Sources created in this page ===
  +
  +
{{#ask: [[Category:Resource Description]] [[Created in page::{{#var:varPaginanaam}}]]
  +
| ?Pagename=Page name
  +
| ?Dct:title=Title
  +
| ?Dct:creator=Author(s)
  +
| ?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>]]
 
{{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{#var:varTopcontext}}]]</q>]]
| ?Dct:title=Titel
+
| ?Pagename=Page name
| ?Dct:creator=Schrijver
+
| ?Dct:title=Title
| ?Dct:date=Datum
+
| ?Dct:creator=Author(s)
  +
| ?Dct:date#LOCL=Date
  +
| default=''No sources added yet.''
 
| format=table
 
| format=table
 
}}
 
}}
  +
  +
== Lessons learned ==
  +
  +
{{#formlink:form=Lesson Learned
  +
| link text=New lesson learned
  +
| link type=button
  +
}}
  +
  +
{{#ask: [[Category:Lesson Learned]]
  +
| ?Pagename=Page name
  +
| ?Heading=Title
  +
| ?Summary=Summary
  +
| default=''No lessons learned added yet.''
  +
| format=table
  +
}}
  +
  +
</div>
  +
</div>}} <!-- end #ifeq: show sources -->
 
[[Category:Project]]
 
[[Category:Project]]
 
</includeonly>
 
</includeonly>

Huidige versie van 3 nov 2018 om 17:19

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

{{Project
|Supercontext=
|Topcontext=
|Project type=
|Name=
|Summary=
|Start date=
|End date=
|Show summary=
|Show navigation tree=
|Create process and content pages=
|Show new page button=
|Show sub projects=
|Show participants=
|Show sources=
|EMM access control=
}}

Edit the page to see the template text.