Sjabloon:Project: verschil tussen versies

 
(38 tussenliggende versies door 2 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 12: Regel 13:
 
|Start date=
 
|Start date=
 
|End date=
 
|End date=
  +
|Show info=
 
}}
 
}}
 
</pre>
 
</pre>
Regel 25: Regel 27:
 
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
 
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
 
}}
 
}}
{{#vardefine:varProjectType|{{{Project type|}}}}}
+
<!-- {{#vardefine:varProjectType|{{{Project type|}}}}} -->
<!-- for backward compatitibility, if no Project types are propagated, this might be the right way any way -->
+
<!-- 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}} | |
 
{{#if: {{#var:varProjectType}} | |
 
{{#vardefine:varProjectType|
 
{{#vardefine:varProjectType|
Regel 37: Regel 41:
 
{{#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 47: Regel 52:
 
{{#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}} - process}}
+
{{#vardefine:varAanpak|{{#var:varPaginanaam}} - aanpak}}
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - results}}
+
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
</div>
 
</div>
== Project summary ==
+
{{#ifeq: {{{Show info|}}}|Nee||
{{{Summary|}}}
+
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
{|
 
<!--
 
| '''Project title'''
 
| {{{Name|}}}
 
|-
 
-->
 
| '''Start date:'''
 
| {{{Start date|}}}
 
|-
 
| '''End date:'''
 
| {{{End date|}}}
 
<!--
 
|-
 
| '''Summary:'''
 
| {{{Summary|}}}
 
-->
 
|}
 
   
== Project elements ==
+
== Project results and process ==
   
'''Process description and assessment (log):'''
+
'''Results:'''
{{#ifexist:{{#var:varAanpak}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varTopcontext}}]]
+
{{#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|}}} - process
+
| 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|}}} - process
+
| Light Context[Heading]={{{Name|}}} - results
| preload={{#var:varProcessPreload}} <!-- gezet in een config template -->
+
| preload={{#var:varContentPreload}} <!-- gezet in een config template -->
 
}} }}
 
}} }}
   
'''Project results:'''
+
'''Description and evaluation of the process:'''
{{#ifexist:{{#var:varResultaten}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varTopcontext}}]]
+
{{#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|}}} - results
+
| 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|}}} - results
+
| Light Context[Heading]={{{Name|}}} - process
| preload={{#var:varContentPreload}} <!-- gezet in een config template -->
+
| preload={{#var:varProcessPreload}} <!-- gezet in een config template -->
 
}} }}
 
}} }}
  +
 
<!--
 
<!--
   
Regel 120: Regel 109:
 
| ?Start date=Start date
 
| ?Start date=Start date
 
| ?End date=End date
 
| ?End date=End date
| ?Summary=Sumaary
+
| ?Summary=Summary
 
| mainlabel=-
 
| mainlabel=-
| default=''Nu sub projects.''
+
| default=''No sub projects identified yet.''
 
| format=table
 
| format=table
 
}}
 
}}
Regel 136: Regel 125:
 
| ?Summary=Summary
 
| ?Summary=Summary
 
| mainlabel=-
 
| mainlabel=-
| default=''No subprojects.''
+
| default=''No sub projects identified yet.''
 
| format=table
 
| format=table
 
}}
 
}}
 
</div>
 
</div>
 
</div> }} <!-- end ifexpr -->
 
</div> }} <!-- end ifexpr -->
  +
}} <!-- end ifexpr show info -->
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
 
== Participants and students ==
 
== Participants and students ==
Regel 149: Regel 139:
 
| ?CNTR Role=Role
 
| ?CNTR Role=Role
 
| mainlabel=-
 
| mainlabel=-
| default=''No participants.''
+
| default=''No participants included yet.''
 
| format=table
 
| format=table
 
}}
 
}}
Regel 159: Regel 149:
 
| ?STD Role=Role
 
| ?STD Role=Role
 
| mainlabel=-
 
| mainlabel=-
| default=''No students.''
+
| default=''No students included yet.''
 
| format=table
 
| format=table
 
}}
 
}}
Regel 169: Regel 159:
 
{{#formlink:form=Resource Light
 
{{#formlink:form=Resource Light
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
| link text=Uploade new source (image, pdf, etc.)
+
| link text=New source (image, pdf, etc.)
 
| link type=button
 
| link type=button
 
}}
 
}}
Regel 175: 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=New hyperlink
+
| 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=Pagine name
+
 
  +
{{#ask: [[Category:Resource Description]] [[Created in page::{{#var:varPaginanaam}}]]
  +
| ?Pagename=Page name
  +
| ?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:title=Title
 
| ?Dct:creator=Author(s)
 
| ?Dct:creator=Author(s)
 
| ?Dct:date=Date
 
| ?Dct:date=Date
| default=''No sources available.''
+
| 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.