Sjabloon:SI Project: verschil tussen versies

 
(25 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=
Regel 56: 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 75: Regel 78:
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
</div>
 
</div>
  +
{{References}}
 
{{#ifeq: {{{Show info|}}}|Nee||
 
{{#ifeq: {{{Show info|}}}|Nee||
== Initiatiefgegevens ==
+
== Projectgegevens ==
 
{{{Summary|}}}
 
{{{Summary|}}}
   
Regel 84: Regel 88:
 
| ?Coordinate
 
| ?Coordinate
 
| format=map
 
| format=map
| width=300
+
| width=350
| height=300
+
| height=350
 
<!-- | template=SocKrt Map info -->
 
<!-- | template=SocKrt Map info -->
 
| zoom=9
 
| zoom=9
Regel 102: Regel 106:
 
}}
 
}}
 
; '''Domein:'''
 
; '''Domein:'''
: {{#ifeq: {{{SI domein|}}}|Anders|{{{SI domein anders|}}}|{{{SI domein|}}}}}
+
: {{#arraymap:{{{SI domein|}}}|,|@@@@| {{#ifeq: @@@@ |Anders|{{{SI domein anders|}}}|@@@@}}|,<nowiki> </nowiki>}}
 
; '''Initiatief:'''
 
; '''Initiatief:'''
: {{#ifeq: {{{SI activiteit|}}}|Anders|{{{SI activiteit anders|}}}|{{{SI activiteit|}}}}}
+
: {{#arraymap:{{{SI activiteit|}}}|,|@@@@| {{#ifeq: @@@@ |Anders|{{{SI activiteit anders|}}}|@@@@}}|,<nowiki> </nowiki>}}
 
; '''Adres:'''
 
; '''Adres:'''
 
: {{{Address|}}} {{{House number|}}}
 
: {{{Address|}}} {{{House number|}}}
 
: {{{Postal code|}}} {{{City|}}}
 
: {{{Postal code|}}} {{{City|}}}
 
; '''Contactgegevens:'''
 
; '''Contactgegevens:'''
: {{{Phone|}}}
+
{{#if: {{{Contact|}}}|: {{{Contact|}}}}}{{#if: {{{Phone|}}}|: {{{Phone|}}}}}{{#if: {{{Mail|}}} |: [mailto:{{{Mail|}}} {{{Mail|}}}]}}
: {{#if: {{{Mail|}}} | [mailto:{{{Mail|}}} {{{Mail|}}}]}}
+
{{#if: {{{Hyperlink|}}}|: {{{Hyperlink|}}}}}
: {{{Hyperlink|}}}
 
 
</td>
 
</td>
 
</tr>
 
</tr>

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.