Sjabloon:SI Project: verschil tussen versies

 
(58 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 1: Regel 1:
 
<noinclude>
 
<noinclude>
 
[[Category:SI]]
 
[[Category:SI]]
  +
[[Category:EMont core protected]]
 
This is the "SI Project" template.
 
This is the "SI Project" template.
 
It should be called in the following format:
 
It should be called in the following format:
Regel 20: Regel 21:
 
|Postal code=
 
|Postal code=
 
|City=
 
|City=
  +
|Contact=
 
|Phone=
 
|Phone=
 
|Mail=
 
|Mail=
 
|Hyperlink=
 
|Hyperlink=
  +
|Show info=
 
}}
 
}}
 
</pre>
 
</pre>
Regel 55: Regel 58:
 
{{#set:End date={{{End date|}}}}}
 
{{#set:End date={{{End date|}}}}}
 
{{#set:Summary={{{Summary|}}}}}
 
{{#set:Summary={{{Summary|}}}}}
  +
{{#arraymap:{{{SI domein|}}}|,|@@@@|{{#set:SI domein={{#ifeq: @@@@ |Anders|{{{SI domein anders|}}}|@@@@}}}}}}
  +
{{#set:SI domein anders={{{SI domein anders|}}}}} <!-- niet meer nodig -->
  +
{{#arraymap:{{{SI activiteit|}}}|,|@@@@|{{#set:SI activiteit={{#ifeq: @@@@ |Anders|{{{SI activiteit anders|}}}|@@@@}}}}}}
  +
{{#set:SI activiteit anders={{{SI activiteit anders|}}}}} <!-- niet meer nodig -->
 
{{#set:Address={{{Address|}}}}}
 
{{#set:Address={{{Address|}}}}}
 
{{#set:House number={{{House number|}}}}}
 
{{#set:House number={{{House number|}}}}}
 
{{#set:Postal code={{{Postal code|}}}}}
 
{{#set:Postal code={{{Postal code|}}}}}
 
{{#set:City={{{City|}}}}}
 
{{#set:City={{{City|}}}}}
{{#set:Coordinate={{#geocode: The Netherlands, {{{City|}}}, {{{Postal code|}}}{{#ifeq:{{#sub:{{{Address|}}}|0|7}}|Postbus||, {{{Address|}}} {{{House number|}}}}}}}}}
+
{{#set:Coordinate={{Geoshiftcode|Location=The Netherlands, {{{City|}}}, {{{Postal code|}}}{{#ifeq:{{#sub:{{{Address|}}}|0|7}}|Postbus||, {{{Address|}}} {{{House number|}}}}}}}}}
  +
{{#set:Contact={{{Contact|}}}}}
 
{{#set:Phone={{{Phone|}}}}}
 
{{#set:Phone={{{Phone|}}}}}
 
{{#set:Mail={{{Mail|}}}}}
 
{{#set:Mail={{{Mail|}}}}}
Regel 70: Regel 78:
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
</div>
 
</div>
== Project summary ==
+
{{References}}
  +
{{#ifeq: {{{Show info|}}}|Nee||
  +
== Projectgegevens ==
 
{{{Summary|}}}
 
{{{Summary|}}}
{|
 
<!--
 
| '''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|}}}
 
-->
 
|}
 
   
== Project results and process ==
+
<table cellspacing="20" cellpadding="20%">
 
+
<tr>
'''Results:'''
+
<td>{{#ask: [[{{PAGENAME}}]]
{{#ifexist:{{#var:varResultaten}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varTopcontext}}]]
+
| ?Coordinate
| ?Self=
+
| format=map
<!-- | ?Heading=Naam -->
+
| width=350
<!-- | ?Pagename= -->
+
| height=350
| mainlabel=-
+
<!-- | template=SocKrt Map info -->
| parent=Supercontext
+
| zoom=9
| root={{#var:varResultaten}}
 
| format=tree
 
}}|* {{#formredlink:target={{#var:varResultaten}}
 
| link text={{{Name|}}} - results
 
| form=Light Context
 
| Light Context[Supercontext]={{#var:varPaginanaam}}
 
| Light Context[Topcontext]={{#var:varTopcontext}}
 
| Light Context[Context type]=Situation
 
| Light Context[Heading]={{{Name|}}} - results
 
| 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=
 
<!-- | ?Heading=Naam -->
 
<!-- | ?Pagename= -->
 
| mainlabel=-
 
| parent=Supercontext
 
| root={{#var:varAanpak}}
 
| format=tree
 
}}|* {{#formredlink:target={{#var:varAanpak}}
 
| link text={{{Name|}}} - process
 
| form=Light Context
 
| Light Context[Supercontext]={{#var:varPaginanaam}}
 
| Light Context[Topcontext]={{#var:varTopcontext}}
 
| Light Context[Context type]=Situation
 
| Light Context[Heading]={{{Name|}}} - process
 
| 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=Sumaary
 
| mainlabel=-
 
| default=''No sub projects identified yet.''
 
| format=table
 
 
}}
 
}}
| <div class="toccolours mw-collapsible mw-collapsed">
+
</td>
== Sub projects ==
+
<td>
<div class="mw-collapsible-content">
+
;
{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}
+
:
 
+
</td>
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
+
<td>
| ?Self=Project
+
; '''Startdatum:'''
| ?Start date=Start date
+
: {{#if: {{{Start date|}}}|{{#time:j F Y|{{{Start date|}}}}}}}
| ?End date=End date
+
{{#if: {{{End date|}}} |
| ?Summary=Summary
+
; '''Einddatum:'''
| mainlabel=-
+
: {{#if: {{{End date|}}}|{{#time:j F Y|{{{End date|}}}}}}}
| default=''No sub projects identified yet.''
 
| format=table
 
 
}}
 
}}
</div>
+
; '''Domein:'''
</div> }} <!-- end ifexpr -->
+
: {{#arraymap:{{{SI domein|}}}|,|@@@@| {{#ifeq: @@@@ |Anders|{{{SI domein anders|}}}|@@@@}}|,<nowiki> </nowiki>}}
<div class="toccolours mw-collapsible mw-collapsed">
+
; '''Initiatief:'''
== Participants and students ==
+
: {{#arraymap:{{{SI activiteit|}}}|,|@@@@| {{#ifeq: @@@@ |Anders|{{{SI activiteit anders|}}}|@@@@}}|,<nowiki> </nowiki>}}
<div class="mw-collapsible-content">
+
; '''Adres:'''
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[CNTR back link::+]]
+
: {{{Address|}}} {{{House number|}}}
| ?Self=Participant
+
: {{{Postal code|}}} {{{City|}}}
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
+
; '''Contactgegevens:'''
| ?CNTR Role=Role
+
{{#if: {{{Contact|}}}|: {{{Contact|}}}}}{{#if: {{{Phone|}}}|: {{{Phone|}}}}}{{#if: {{{Mail|}}} |: [mailto:{{{Mail|}}} {{{Mail|}}}]}}
| mainlabel=-
+
{{#if: {{{Hyperlink|}}}|: {{{Hyperlink|}}}}}
| default=''No participants included yet.''
+
</td>
| format=table
+
</tr>
}}
+
</table>
 
+
}} <!-- end if Show info -->
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[STD back link::+]]
 
| ?Self=Student
 
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
 
<!--| ?Student ID=Student ID--> <!-- Student ID opnemen in subobject -->
 
| ?STD Role=Role
 
| mainlabel=-
 
| default=''No students included yet.''
 
| format=table
 
}}
 
</div>
 
</div>
 
<div class="toccolours mw-collapsible mw-collapsed">
 
== Sources ==
 
<div class="mw-collapsible-content">
 
{{#formlink:form=Resource Light
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
 
| link text=New source (image, pdf, etc.)
 
| link type=button
 
}}
 
 
 
{{#formlink:form=Resource Hyperlink
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
 
| link text=New hyperlink (websites, etc.)
 
| link type=button
 
}}
 
 
 
{{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{#var:varPaginanaam}}]]</q>]]
 
| ?Pagename=Pagine name
 
| ?Dct:title=Title
 
| ?Dct:creator=Author(s)
 
| ?Dct:date=Date
 
| default=''No sources added yet.''
 
| format=table
 
}}
 
</div>
 
</div>
 
 
[[Category:SI Project]]
 
[[Category:SI Project]]
  +
[[Category:EMont core protected]]
 
</includeonly>
 
</includeonly>

Huidige versie van 19 nov 2016 om 23:41

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

{{SI Project
|Supercontext=
|Topcontext=
|Project type=
|Name=
|Start date=
|End date=
|SI domein=
|SI domein anders=
|SI activiteit=
|SI activiteit anders=
|Summary=
|Address=
|House number=
|Postal code=
|City=
|Contact=
|Phone=
|Mail=
|Hyperlink=
|Show info=
}}

Edit the page to see the template text.