|
|||
(49 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 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 |
+ | <!-- 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 50: | Regel 55: | ||
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}} |
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}} |
||
</div> |
</div> |
||
− | + |
{{#ifeq: {{{Show info|}}}|Nee|| |
|
− | {{{ |
+ | {{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}} |
− | |||
− | |||
− | | |
||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | {{{ |
||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == |
+ | == Project results and process == |
− | ''' |
+ | '''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: |
+ | | root={{#var:varResultaten}} |
| format=tree |
| format=tree |
||
− | }}|{{#formredlink:target={{#var: |
+ | }}|* {{#formredlink:target={{#var:varResultaten}} |
− | | link text={{{Name|}}} - |
+ | | 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|}}} - |
+ | | Light Context[Heading]={{{Name|}}} - results
|
− | | preload={{#var: |
+ | | 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= |
| ?Self= |
||
<!-- | ?Heading=Naam --> |
<!-- | ?Heading=Naam --> |
||
− | | ?Pagename= |
+ |
<!-- | ?Pagename= -->
|
| mainlabel=- |
| mainlabel=- |
||
| parent=Supercontext |
| parent=Supercontext |
||
− | | root={{#var: |
+ | | root={{#var:varAanpak}} |
| format=tree |
| format=tree |
||
− | }}|{{#formredlink:target={{#var: |
+ | }}|* {{#formredlink:target={{#var:varAanpak}} |
− | | link text={{{Name|}}} - |
+ | | 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|}}} - |
+ | | Light Context[Heading]={{{Name|}}} - process
|
− | | preload={{#var: |
+ | | preload={{#var:varProcessPreload}} <!-- gezet in een config template --> |
}} }} |
}} }} |
||
+ | |||
<!-- |
<!-- |
||
− | + | ||
--> |
--> |
||
+ | {{#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"> |
<div class="toccolours mw-collapsible mw-collapsed"> |
||
− | == |
+ | == Participants and students == |
<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= |
+ | | ?Self=Participant
|
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self --> |
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self --> |
||
− | | ?CNTR Role= |
+ | | ?CNTR Role=Role
|
| mainlabel=- |
| mainlabel=- |
||
− | | default='' |
+ | | default=''No participants included yet.'' |
| format=table |
| format=table |
||
}} |
}} |
||
Regel 126: | 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= |
+ | | ?STD Role=Role
|
| mainlabel=- |
| mainlabel=- |
||
− | | default='' |
+ | | default=''No students included yet.'' |
| format=table |
| format=table |
||
}} |
}} |
||
Regel 134: | Regel 155: | ||
</div> |
</div> |
||
<div class="toccolours mw-collapsible mw-collapsed"> |
<div class="toccolours mw-collapsible mw-collapsed"> |
||
− | == |
+ | == 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= |
+ | | link text=New source (image, pdf, etc.) |
| link type=button |
| link type=button |
||
}} |
}} |
||
Regel 160: | 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= |
+ | | link text=New hyperlink (websites, etc.)
|
| link type=button |
| link type=button |
||
}} |
}} |
||
− | {{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{#var: |
+ | === Sources created in this page === |
− | | ?Pagename= |
+ | |
− | | ?Dct:title= |
+ | {{#ask: [[Category:Resource Description]] [[Created in page::{{#var:varPaginanaam}}]] |
− | | ?Dct:creator= |
+ | | ?Pagename=Page name |
− | | ?Dct:date= |
+ | | ?Dct:title=Title |
− | | default='' |
+ | | ?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 |
||
}} |
}} |
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.