k (1 versie geïmporteerd: Zie JIRA-issues EMT-389 en EMT-521)
|
|
||
(5 tussenliggende versies door een andere gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
<noinclude> |
<noinclude> |
||
[[Category:EMont core]] |
[[Category:EMont core]] |
||
+ | [[Category:EMont core protected]] |
||
This is the "Context VN show" template. |
This is the "Context VN show" template. |
||
It should be called in the following format: |
It should be called in the following format: |
||
Regel 14: | Regel 15: | ||
{{#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}} }} }} |
||
− | {{# |
+ | {{#vardefine:varHeadingNL|{{#show: {{#var:varModel}} | ?Heading nl}} }}
|
+ |
{{#vardefine:varHeading|{{#if: {{#var:varHeadingNL}} | {{#var:varHeadingNL}} | {{{Heading|}}} }} }}
|
||
+ | {{#set:Semantic title|{{#var:varHeading}}}} |
||
+ | {{#set:Heading={{#var:varHeading}}}} |
||
+ |
{{#set:Context type=Situation}} |
||
{{#set:ImageMap template={{{ImageMap template|}}}}} |
{{#set:ImageMap template={{{ImageMap template|}}}}} |
||
{{Set VN references}}</div>{{Sidebar |
{{Set VN references}}</div>{{Sidebar |
||
Regel 39: | Regel 44: | ||
}} |
}} |
||
{{Paragraphs show|Page name={{#var:varModel}} }} |
{{Paragraphs show|Page name={{#var:varModel}} }} |
||
− | {{Context show links|Page name={{#var:varPageName}}}} |
+ |
<!-- {{Context show links|Page name={{#var:varPageName}}}} -->
|
{{References}} |
{{References}} |
||
{{ImageMap show|ImageMap template={{{ImageMap template|}}}}} |
{{ImageMap show|ImageMap template={{{ImageMap template|}}}}} |
||
+ | |||
+ | {{#vardefine:varConcerns|{{#show:{{#var:varPageName}}|?Concerns|link=none}}}} |
||
+ | {{#vardefine:varSequenceNumber|{{#expr:1}}}} |
||
+ | {{#arraymap:{{#var:varConcerns}}|,|@@@@|{{#vardefine:varLnk{{#var:varSequenceNumber}}|@@@@}}{{#vardefine:varHdr{{#var:varSequenceNumber}}|Begrip}}{{#vardefine:varSequenceNumber|{{#expr:{{#var:varSequenceNumber}}+1}}}}|}} |
||
+ | {{EMMskin sidebar | sidebarheader=Gerelateerd aan: {{#var:varHeading}} |
||
+ | |sidebarsection1={{EMMskin sidebar section|preheader={{#var:varHdr1}}|link={{#var:varLnk1}}}} |
||
+ | |sidebarsection2={{EMMskin sidebar section|preheader={{#var:varHdr2}}|link={{#var:varLnk2}}}} |
||
+ | |sidebarsection3={{EMMskin sidebar section|preheader={{#var:varHdr3}}|link={{#var:varLnk3}}}} |
||
+ | |sidebarsection4={{EMMskin sidebar section|preheader={{#var:varHdr4}}|link={{#var:varLnk4}}}} |
||
+ | |sidebarsection5={{EMMskin sidebar section|preheader={{#var:varHdr5}}|link={{#var:varLnk5}}}} |
||
+ | |sidebarsection6={{EMMskin sidebar section|preheader={{#var:varHdr6}}|link={{#var:varLnk6}}}} |
||
+ | |sidebarsection7={{EMMskin sidebar section|preheader={{#var:varHdr7}}|link={{#var:varLnk7}}}} |
||
+ | |sidebarsection8={{EMMskin sidebar section|preheader={{#var:varHdr8}}|link={{#var:varLnk8}}}} |
||
+ | }} |
||
+ | |||
</includeonly> |
</includeonly> |
This is the "Context VN show" template. It should be called in the following format:
{{Context VN show |Page name= |Heading= |ImageMap template= }}
Edit the page to see the template text.