Sjabloon:Contact formatter: verschil tussen versies

 
(16 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 11: Regel 11:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{#vardefine:varOrganization|{{{2|}}}}}{{#vardefine:varContactPerson|{{{3|}}}}}{{#vardefine:varParentOrganization|{{#show: {{#var:varOrganization}} | ?Parent organization}}}}<span id="{{#show: {{#var:varOrganization}} | ?Name }}"></span><div class="toccolours mw-collapsible mw-collapsed">
+
</noinclude><includeonly>{{#vardefine:varOrganization|{{{2|}}}}}{{#vardefine:varContactPerson|{{{3|}}}}}{{#vardefine:varParentOrganization|{{#show: {{#var:varOrganization}} | ?Parent organization | link=none}}}}<span id="{{#show: {{#var:varOrganization}} | ?Name }}"></span><div class="toccolours mw-collapsible mw-collapsed">
 
'''{{#show: {{#var:varOrganization}} | ?Name }}'''
 
'''{{#show: {{#var:varOrganization}} | ?Name }}'''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Regel 26: Regel 26:
 
| W
 
| W
 
| colspan="3" | {{#show: {{#var:varOrganization}} | ?Hyperlink}}
 
| colspan="3" | {{#show: {{#var:varOrganization}} | ?Hyperlink}}
|-
 
| Moederorganisatie
 
| colspan="3" | {{#var:varParentOrganization}}
 
 
|-
 
|-
 
| Info
 
| Info
 
| colspan="3" | {{#show: {{#var:varOrganization}} | ?Information}}
 
| colspan="3" | {{#show: {{#var:varOrganization}} | ?Information}}
  +
{{#if: {{#var:varParentOrganization}} |
  +
{{!}}-
  +
{{!}} colspan="2" {{!}} '''Moederorganisatie'''
  +
{{!}} colspan="2" {{!}} {{#show: {{#var:varParentOrganization}} | ?Name }}
  +
{{!}}-
  +
{{!}} Adres
  +
{{!}} colspan="3" {{!}} {{#show: {{#var:varParentOrganization}} | ?Address}} {{#show: {{#var:varParentOrganization}} | ?House number}}<br/>
  +
{{#show: {{#var:varParentOrganization}} | ?Postal code}} {{#show: {{#var:varParentOrganization}} | ?City}}
  +
{{!}}-
  +
{{!}} T
  +
{{!}} {{#show: {{#var:varParentOrganization}} | ?Phone}}
  +
{{!}} E
  +
{{!}} {{#show: {{#var:varParentOrganization}} | ?Mail}}
  +
{{!}}-
  +
{{!}} W
  +
{{!}} colspan="3" {{!}} {{#show: {{#var:varParentOrganization}} | ?Hyperlink}}
  +
{{!}}-
  +
{{!}} Info
  +
{{!}} colspan="3" {{!}} {{#show: {{#var:varParentOrganization}} | ?Information}}
  +
}}
 
|}
 
|}
 
{{#arraymap:{{#var:varContactPerson}}|,|@@@@|
 
{{#arraymap:{{#var:varContactPerson}}|,|@@@@|

Huidige versie van 18 jun 2016 om 18:39

This is the "Contact formatter" template. It should be called in the following format:

{{Contact formatter
|Page name=
|Organization=
|Contact person=
}}

Edit the page to see the template text.