Sjabloon:Project: verschil tussen versies

 
(60 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=
 
|Summary=
 
|Start date=
 
|Start date=
 
|End date=
 
|End date=
  +
|Show info=
 
}}
 
}}
 
</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=@@@@}}}}
  +
{{#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 26: Regel 51:
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
{{#if: {{{Topcontext|}}} |
 
{{#arraymap:{{{Topcontext|}}}|,|@@@@|{{#set:Topcontext=@@@@}}}}
 
{{#vardefine:varTopcontext|{{{Topcontext|}}}}}
 
|
 
{{#set:Topcontext={{var:varPaginanaam}}}}
 
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
 
}}
 
 
{{#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:varAanpak|{{#var:varPaginanaam}} - aanpak}}
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
</div>
 
</div>
== Projectsamenvatting ==
+
{{#ifeq: {{{Show info|}}}|Nee||
{{{Summary|}}}
+
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
{|
 
<!--
 
| '''Naam'''
 
| {{{Name|}}}
 
|-
 
-->
 
| '''Startdatum:'''
 
| {{{Start date|}}}
 
|-
 
| '''Einddatum:'''
 
| {{{End date|}}}
 
<!--
 
|-
 
| '''Samenvatting:'''
 
| {{{Summary|}}}
 
-->
 
|}
 
   
== Projectopbouw ==
+
== Project results and process ==
   
'''Logboek:''' {{#ifexist:{{#var:varAanpak}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varPaginanaam}}]]
+
'''Results:'''
  +
{{#ifexist:{{#var:varResultaten}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varTopcontext}}]]
 
| ?Self=
 
| ?Self=
 
<!-- | ?Heading=Naam -->
 
<!-- | ?Heading=Naam -->
| ?Pagename=
+
<!-- | ?Pagename= -->
 
| mainlabel=-
 
| mainlabel=-
 
| parent=Supercontext
 
| parent=Supercontext
| root={{#var:varAanpak}}
+
| root={{#var:varResultaten}}
 
| format=tree
 
| format=tree
}}|{{#formredlink:target={{#var:varAanpak}}
+
}}|* {{#formredlink:target={{#var:varResultaten}}
| link text={{{Name|}}} - aanpak
+
| link text={{{Name|}}} - results
 
| 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|}}} - aanpak
+
| Light Context[Heading]={{{Name|}}} - results
| preload={{#var:varProcessPreload}} <!-- gezet in een config template -->
+
| preload={{#var:varContentPreload}} <!-- gezet in een config template -->
 
}} }}
 
}} }}
   
'''Resultaten:''' {{#ifexist:{{#var:varResultaten}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varPaginanaam}}]]
+
'''Description and evaluation of the process:'''
  +
{{#ifexist:{{#var:varAanpak}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varTopcontext}}]]
 
| ?Self=
 
| ?Self=
 
<!-- | ?Heading=Naam -->
 
<!-- | ?Heading=Naam -->
| ?Pagename=
+
<!-- | ?Pagename= -->
 
| mainlabel=-
 
| mainlabel=-
 
| parent=Supercontext
 
| parent=Supercontext
| root={{#var:varResultaten}}
+
| root={{#var:varAanpak}}
 
| format=tree
 
| format=tree
}}|{{#formredlink:target={{#var:varResultaten}}
+
}}|* {{#formredlink:target={{#var:varAanpak}}
| link text={{{Name|}}} - resultaten
+
| 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|}}} - resultaten
+
| Light Context[Heading]={{{Name|}}} - process
| preload={{#var:varContentPreload}} <!-- gezet in een config template -->
+
| preload={{#var:varProcessPreload}} <!-- gezet in een config template -->
 
}} }}
 
}} }}
  +
 
<!--
 
<!--
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'.
+
 
 
-->
 
-->
== Betrokken deelnemers en studenten ==
+
{{#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}}}}
  +
  +
{{#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>
  +
</div> }} <!-- end ifexpr -->
  +
}} <!-- end ifexpr show info -->
  +
<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 112: Regel 147:
 
<!--| ?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
 
}}
 
}}
 
+
</div>
== Deelprojecten ==
+
</div>
 
 
 
 
 
 
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
== Uploads ==
+
== Sources ==
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
{{#formlink:form=Resource Light
 
{{#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=New source (image, pdf, etc.)
 
| link type=button
 
| link type=button
 
}}
 
}}
Regel 132: Regel 165:
 
{{#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=New hyperlink (websites, etc.)
 
| link type=button
 
| link type=button
 
}}
 
}}
   
{{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{#var:varPaginanaam}}]]</q>]]
+
=== Sources created in this page ===
| ?Pagename=Paginanaam
+
 
| ?Dct:title=Titel
+
{{#ask: [[Category:Resource Description]] [[Created in page::{{#var:varPaginanaam}}]]
| ?Dct:creator=Schrijver
+
| ?Pagename=Page name
| ?Dct:date=Datum
+
| ?Dct:title=Title
  +
| ?Dct:creator=Author(s)
  +
| ?Dct:date=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=Date
  +
| default=''No sources added yet.''
 
| format=table
 
| format=table
 
}}
 
}}

Huidige versie van 10 jan 2017 om 17:42

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 info=
}}

Edit the page to see the template text.