Sjabloon:Contacts show: verschil tussen versies

 
(18 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 12: Regel 12:
 
{{#vardefine:varPaginanaam|{{#if: {{{Page name|}}}| {{{Page name}}} | {{#if: {{{1|}}}| {{{1}}} | {{PAGENAME}} }} }} }}
 
{{#vardefine:varPaginanaam|{{#if: {{{Page name|}}}| {{{Page name}}} | {{#if: {{{1|}}}| {{{1}}} | {{PAGENAME}} }} }} }}
 
{{#vardefine:varModelnaam|{{#show: {{#var:varPaginanaam}} | ?Model link | link=none | default={{#var:varPaginanaam}} }} }}
 
{{#vardefine:varModelnaam|{{#show: {{#var:varPaginanaam}} | ?Model link | link=none | default={{#var:varPaginanaam}} }} }}
</div>
+
</div>{{#ifexpr:{{#ask: [[Contact back link::{{#var:varModelnaam}}]] | format=count}} > 0 |
'''Contacten'''
+
<br clear=all>
{{#ask: [[Category:SocKrt Organization]]
+
<!--'''Contacten'''-->
  [[{{#ask: [[Contact back link::{{PAGENAME}}]] | ?Organization= | mainlabel=- | link=none | format=list | sep={{!}}{{!}}}}]]
+
{{#ask: [[Contact back link::{{#var:varModelnaam}}]]
 
| ?Coordinate
 
| ?Coordinate
 
| format=map
 
| format=map
| zoom=10
+
<!-- | width=800 -->
  +
| height=400
  +
| template=SocKrt Map info
  +
| zoom=8
 
| markercluster=yes
 
| markercluster=yes
 
}}
 
}}
  +
   
 
{{#ask:[[Contact back link::{{#var:varModelnaam}}]]
 
{{#ask:[[Contact back link::{{#var:varModelnaam}}]]
Regel 30: Regel 34:
 
-->
 
-->
 
| link=none
 
| link=none
  +
| limit=500
 
| format=template
 
| format=template
 
| template=Contact formatter
 
| template=Contact formatter
 
| default=''Geen contacten.''
 
| default=''Geen contacten.''
 
}}
 
}}
</includeonly>
+
}}</includeonly>

Huidige versie van 12 jul 2016 om 10:11

This is the "Contacts show" template. It should be called in the following format:

{{Contacts show
|Page name=
}}

Edit the page to see the template text.