Sjabloon:SI Project: verschil tussen versies

 
(56 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|}}}}}
{{#set:SI domein={{{SI domein|}}}}}
+
{{#arraymap:{{{SI domein|}}}|,|@@@@|{{#set:SI domein={{#ifeq: @@@@ |Anders|{{{SI domein anders|}}}|@@@@}}}}}}
{{#set:SI domein anders={{{SI domein anders|}}}}}
+
{{#set:SI domein anders={{{SI domein anders|}}}}} <!-- niet meer nodig -->
{{#set:SI activiteit={{{SI activiteit|}}}}}
+
{{#arraymap:{{{SI activiteit|}}}|,|@@@@|{{#set:SI activiteit={{#ifeq: @@@@ |Anders|{{{SI activiteit anders|}}}|@@@@}}}}}}
{{#set:SI activiteit 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 74: 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|}}}
 
-->
 
|-
 
| '''Domein:'''
 
| {{#ifeq: {{{SI domein|}}}|Anders|{{{SI domein anders|}}}|{{{SI domein|}}}}}
 
|-
 
| '''Activiteit:'''
 
| {{#ifeq: {{{SI activitetit|}}}|Anders|{{{SI activiteit anders|}}}|{{{SI activiteit|}}}}}
 
|-
 
| '''Straat:'''
 
| {{{Address|}}} {{{House number|}}}
 
|-
 
| '''Plaats:'''
 
| {{{Postal code|}}} {{{City|}}}
 
|-
 
| '''Telefoonummer:'''
 
| {{{Phone|}}}
 
|-
 
| '''Mailadres:'''
 
| {{{Mail|}}}
 
|-
 
| '''Website:'''
 
| {{{Hyperlink|}}}
 
|}
 
   
== Participants and students ==
+
<table cellspacing="20" cellpadding="20%">
<div class="mw-collapsible-content">
+
<tr>
{{#ask: [[Project::{{#var:varPaginanaam}}]] [[CNTR back link::+]]
+
<td>{{#ask: [[{{PAGENAME}}]]
| ?Self=Participant
+
| ?Coordinate
<!--| ?Name=Naam--> <!-- geregeld met semantic title en Self -->
+
| format=map
| ?CNTR Role=Role
+
| width=350
| mainlabel=-
+
| height=350
| default=''No participants included yet.''
+
<!-- | template=SocKrt Map info -->
| format=table
+
| zoom=9
}}
 
 
 
{{#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
 
 
}}
 
}}
 
+
</td>
{{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{#var:varPaginanaam}}]]</q>]]
+
<td>
| ?Pagename=Pagine name
+
;
| ?Dct:title=Title
+
:
| ?Dct:creator=Author(s)
+
</td>
| ?Dct:date=Date
+
<td>
| default=''No sources added yet.''
+
; '''Startdatum:'''
| format=table
+
: {{#if: {{{Start date|}}}|{{#time:j F Y|{{{Start date|}}}}}}}
  +
{{#if: {{{End date|}}} |
  +
; '''Einddatum:'''
  +
: {{#if: {{{End date|}}}|{{#time:j F Y|{{{End date|}}}}}}}
 
}}
 
}}
</div>
+
; '''Domein:'''
</div>
+
: {{#arraymap:{{{SI domein|}}}|,|@@@@| {{#ifeq: @@@@ |Anders|{{{SI domein anders|}}}|@@@@}}|,<nowiki> </nowiki>}}
  +
; '''Initiatief:'''
  +
: {{#arraymap:{{{SI activiteit|}}}|,|@@@@| {{#ifeq: @@@@ |Anders|{{{SI activiteit anders|}}}|@@@@}}|,<nowiki> </nowiki>}}
  +
; '''Adres:'''
  +
: {{{Address|}}} {{{House number|}}}
  +
: {{{Postal code|}}} {{{City|}}}
  +
; '''Contactgegevens:'''
  +
{{#if: {{{Contact|}}}|: {{{Contact|}}}}}{{#if: {{{Phone|}}}|: {{{Phone|}}}}}{{#if: {{{Mail|}}} |: [mailto:{{{Mail|}}} {{{Mail|}}}]}}
  +
{{#if: {{{Hyperlink|}}}|: {{{Hyperlink|}}}}}
  +
</td>
  +
</tr>
  +
</table>
  +
}} <!-- end if Show info -->
 
[[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.