Sjabloon:Context VN show: verschil tussen versies

(<div id="page"> verwijderd)
 
(9 tussenliggende versies door 2 gebruikers 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 6: Regel 7:
 
{{Context VN show
 
{{Context VN show
 
|Page name=
 
|Page name=
  +
|Heading=
  +
|ImageMap template=
 
}}
 
}}
 
</pre>
 
</pre>
Regel 12: 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}} }} }}
{{Set VN references}}</div>
+
{{#vardefine:varHeadingNL|{{#show: {{#var:varModel}} | ?Heading nl}} }}
{{Paragraphs show|Page name={{#var:varModel}} }}
+
{{#vardefine:varHeading|{{#if: {{#var:varHeadingNL}} | {{#var:varHeadingNL}} | {{{Heading|}}} }} }}
{{Context show links|Page name={{#var:varPageName}}}}
+
{{#set:Semantic title|{{#var:varHeading}}}}
{{References}}{{Sidebar
+
{{#set:Heading={{#var:varHeading}}}}
  +
{{#set:Context type=Situation}}
  +
{{#set:ImageMap template={{{ImageMap template|}}}}}
  +
{{Set VN references}}</div>{{Sidebar
 
| image={{#show: {{#var:varPageName}}|?Sidebar image|link=none}}
 
| image={{#show: {{#var:varPageName}}|?Sidebar image|link=none}}
 
| relatedprocesses = {{#ask: [[Category:Context VN]] [[Model link::<q>
 
| relatedprocesses = {{#ask: [[Category:Context VN]] [[Model link::<q>
Regel 37: Regel 43:
 
     </q>]]| format = list | link=none}}
 
     </q>]]| format = list | link=none}}
 
}}
 
}}
  +
{{Paragraphs show|Page name={{#var:varModel}} }}
  +
<!-- {{Context show links|Page name={{#var:varPageName}}}} -->
  +
{{References}}
  +
{{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>

Huidige versie van 17 jan 2017 om 14:17

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.