Sjabloon:Case Context VN show: verschil tussen versies

 
k (1 versie geïmporteerd: Zie JIRA-issues EMT-389 en EMT-521)
 
(2 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 6: Regel 6:
 
{{Case Context VN show
 
{{Case Context VN show
 
|Page name=
 
|Page name=
  +
|Heading=
  +
|ImageMap template=
 
}}
 
}}
 
</pre>
 
</pre>
Regel 12: Regel 14:
 
{{#vardefine:varPageName|{{#if: {{{Page name|}}}| {{{Page name}}} | {{PAGENAME}} }} }}
 
{{#vardefine:varPageName|{{#if: {{{Page name|}}}| {{{Page name}}} | {{PAGENAME}} }} }}
 
{{#vardefine:varModel|{{#show: {{#var:varPageName}} | ?Model link | link=none | default={{#var:varPageName}} }} }}
 
{{#vardefine:varModel|{{#show: {{#var:varPageName}} | ?Model link | link=none | default={{#var:varPageName}} }} }}
  +
{{#set:Heading={{{Heading|}}}}}
  +
{{#set:ImageMap template={{{ImageMap template|}}}}}
 
{{Set VN references}}</div>
 
{{Set VN references}}</div>
<div id="page">
 
{{Paragraphs show|Page name={{#var:varModel}} }}
 
{{#vardefine:varParts|{{#ask: [[Category:Intentional Element VN]] [[Part of::{{#var:varPageName}}]] | format=list | link=none}} }}
 
{{#if:{{#var:varParts}}|'''Meer informatie over''' ''{{#show: {{#show: {{#var:varPageName}} | ?Model link | link=none }} | ?Heading nl}}'':
 
{{#arraymap: {{#var:varParts}}|,|@@@@| {{Convert link | Link name VN=@@@@ | Alt name = {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}}} }}
 
}}
 
{{#vardefine:varParent|{{#show: {{#var:varPageName}} | ?Part of | link=none }}}}
 
{{#if:{{#var:varParent}}|'''Onderdeel van: '''
 
{{#arraymap: {{#var:varParent}}|,|@@@@| {{Convert link | Link name VN=@@@@ | Alt name = {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}}} }}
 
}}
 
{{References}}
 
</div>
 
 
{{Sidebar
 
{{Sidebar
 
| relatedprocesses = {{#ask: [[Category:Context VN]] [[Model link::<q>
 
| relatedprocesses = {{#ask: [[Category:Context VN]] [[Model link::<q>
Regel 41: Regel 33:
 
<!-- {{#ask: [[Category:Context VN]] [[Supercontext::{{#var:varPageName}}]] | format=list | link=none}} -->
 
<!-- {{#ask: [[Category:Context VN]] [[Supercontext::{{#var:varPageName}}]] | format=list | link=none}} -->
 
}}
 
}}
  +
{{Paragraphs show|Page name={{#var:varModel}} }}
  +
{{#vardefine:varParts|{{#ask: [[Category:Intentional Element VN]] [[Part of::{{#var:varPageName}}]] | format=list | link=none}} }}
  +
{{#if:{{#var:varParts}}|'''Meer informatie over''' ''{{#show: {{#show: {{#var:varPageName}} | ?Model link | link=none }} | ?Heading nl}}'':
  +
{{#arraymap: {{#var:varParts}}|,|@@@@| {{Convert link | Link name VN=@@@@ | Alt name = {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}}} }}
  +
}}
  +
{{#vardefine:varParent|{{#show: {{#var:varPageName}} | ?Part of | link=none }}}}
  +
{{#if:{{#var:varParent}}|'''Onderdeel van: '''
  +
{{#arraymap: {{#var:varParent}}|,|@@@@| {{Convert link | Link name VN=@@@@ | Alt name = {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}}} }}
  +
}}
  +
{{References}}
  +
{{ImageMap show|ImageMap template={{{ImageMap template|}}}}}
 
</includeonly>
 
</includeonly>

Huidige versie van 29 apr 2016 om 10:33

This is the "Case Context VN show" template. It should be called in the following format:

{{Case Context VN show
|Page name=
|Heading=
|ImageMap template=
}}

Edit the page to see the template text.