Sjabloon:Project: verschil tussen versies

 
(12 tussenliggende versies door dezelfde gebruiker 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 anyway -->
 
<!-- 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 51: Regel 55:
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
</div>
 
</div>
== Project summary ==
+
{{#ifeq: {{{Show info|}}}|Nee||
{{{Summary|}}}
+
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
{|
 
<!--
 
| '''Project title'''
 
| {{{Name|}}}
 
|-
 
-->
 
| '''Start date:'''
 
| {{#if: {{{Start date|}}}|{{#time:j F Y|{{{Start date|}}}}}}}
 
|-
 
| '''End date:'''
 
| {{#if: {{{End date|}}}|{{#time:j F Y|{{{End date|}}}}}}}
 
<!--
 
|-
 
| '''Summary:'''
 
| {{{Summary|}}}
 
-->
 
|}
 
{{#var:varTemplateAdditionalShow}}
 
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} | arg 1}}}}
 
{{Project SiR additional show}}
 
   
 
== Project results and process ==
 
== Project results and process ==
Regel 125: 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=''No sub projects identified yet.''
 
| default=''No sub projects identified yet.''
Regel 146: Regel 130:
 
</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 184: Regel 169:
 
}}
 
}}
   
{{#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)

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.