Sjabloon:SI Project: verschil tussen versies

 
(44 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>
  +
{{References}}
 
{{#ifeq: {{{Show info|}}}|Nee||
 
{{#ifeq: {{{Show info|}}}|Nee||
== Initiatiefgegevens ==
+
== Projectgegevens ==
 
{{{Summary|}}}
 
{{{Summary|}}}
{|
+
 
<!--
+
<table cellspacing="20" cellpadding="20%">
| '''Project title'''
+
<tr>
| {{{Name|}}}
+
<td>{{#ask: [[{{PAGENAME}}]]
|-
+
| ?Coordinate
-->
+
| format=map
| '''Startdatum:'''
+
| width=350
| {{#if: {{{Start date|}}}|{{#time:j F Y|{{{Start date|}}}}}}}
+
| height=350
|-
+
<!-- | template=SocKrt Map info -->
| '''Einddatum:'''
+
| zoom=9
| {{#if: {{{End date|}}}|{{#time:j F Y|{{{End date|}}}}}}}
+
}}
<!--
+
</td>
|-
+
<td>
| '''Summary:'''
+
;
| {{{Summary|}}}
+
:
-->
+
</td>
|-
+
<td>
| '''Domein:'''
+
; '''Startdatum:'''
| {{#ifeq: {{{SI domein|}}}|Anders|{{{SI domein anders|}}}|{{{SI domein|}}}}}
+
: {{#if: {{{Start date|}}}|{{#time:j F Y|{{{Start date|}}}}}}}
|-
+
{{#if: {{{End date|}}} |
| '''Initiatief:'''
+
; '''Einddatum:'''
| {{#ifeq: {{{SI activiteit|}}}|Anders|{{{SI activiteit anders|}}}|{{{SI activiteit|}}}}}
+
: {{#if: {{{End date|}}}|{{#time:j F Y|{{{End date|}}}}}}}
|-
+
}}
| '''Straat:'''
+
; '''Domein:'''
| {{{Address|}}} {{{House number|}}}
+
: {{#arraymap:{{{SI domein|}}}|,|@@@@| {{#ifeq: @@@@ |Anders|{{{SI domein anders|}}}|@@@@}}|,<nowiki> </nowiki>}}
|-
+
; '''Initiatief:'''
| '''Plaats:'''
+
: {{#arraymap:{{{SI activiteit|}}}|,|@@@@| {{#ifeq: @@@@ |Anders|{{{SI activiteit anders|}}}|@@@@}}|,<nowiki> </nowiki>}}
| {{{Postal code|}}} {{{City|}}}
+
; '''Adres:'''
|-
+
: {{{Address|}}} {{{House number|}}}
| '''Telefoonnummer:'''
+
: {{{Postal code|}}} {{{City|}}}
| {{{Phone|}}}
+
; '''Contactgegevens:'''
|-
+
{{#if: {{{Contact|}}}|: {{{Contact|}}}}}{{#if: {{{Phone|}}}|: {{{Phone|}}}}}{{#if: {{{Mail|}}} |: [mailto:{{{Mail|}}} {{{Mail|}}}]}}
| '''Mailadres:'''
+
{{#if: {{{Hyperlink|}}}|: {{{Hyperlink|}}}}}
| {{#if: {{{Mail|}}} | [mailto:{{{Mail|}}} {{{Mail|}}}]}}
+
</td>
|-
+
</tr>
| '''Website:'''
+
</table>
| {{{Hyperlink|}}}
 
|}
 
 
}} <!-- 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.