k (1 versie geïmporteerd: Importeren dump EMont-core DeltaExpertise 4 november 2015)
|
|||
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> |
||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{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> |
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.