Sjabloon:SI Project: verschil tussen versies

 
(36 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|}}}
   
{{#ask: [[{{PAGENAME}}]]
+
<table cellspacing="20" cellpadding="20%">
  +
<tr>
  +
<td>{{#ask: [[{{PAGENAME}}]]
 
| ?Coordinate
 
| ?Coordinate
 
| format=map
 
| format=map
| width=300
+
| width=350
| height=300
+
| height=350
 
<!-- | template=SocKrt Map info -->
 
<!-- | template=SocKrt Map info -->
| zoom=10
+
| zoom=9
 
}}
 
}}
 
+
</td>
 
+
<td>
  +
;
  +
:
  +
</td>
  +
<td>
 
; '''Startdatum:'''
 
; '''Startdatum:'''
 
: {{#if: {{{Start date|}}}|{{#time:j F Y|{{{Start date|}}}}}}}
 
: {{#if: {{{Start date|}}}|{{#time:j F Y|{{{Start date|}}}}}}}
Regel 96: 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>
  +
</tr>
  +
</table>
 
}} <!-- end if Show info -->
 
}} <!-- end if Show info -->
 
[[Category:SI Project]]
 
[[Category:SI Project]]
 
[[Category:EMont core protected]]
 
[[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.