Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
(29 tussenliggende versies door 3 gebruikers niet weergegeven) | |||
Regel 15: | Regel 15: | ||
|HeadingEn= | |HeadingEn= | ||
|HeadingFr= | |HeadingFr= | ||
|HeadingBe= | |||
|ImageMap template= | |ImageMap template= | ||
|Start date= | |Start date= | ||
|End date= | |End date= | ||
|Summary= | |Summary= | ||
|SummaryEn= | |||
|SummaryFr= | |||
|SummaryBe= | |||
|Imagename= | |||
|Show edit button= | |Show edit button= | ||
|Show VE button= | |Show VE button= | ||
Regel 32: | Regel 37: | ||
{{#vardefine:varHeadingEn|{{#replace:{{#replace:{{#replace:{{#replace:{{{HeadingEn|}}}|\|}}|:|-}}|/|-}}|,|;}}}} | {{#vardefine:varHeadingEn|{{#replace:{{#replace:{{#replace:{{#replace:{{{HeadingEn|}}}|\|}}|:|-}}|/|-}}|,|;}}}} | ||
{{#vardefine:varHeadingFr|{{#replace:{{#replace:{{#replace:{{#replace:{{{HeadingFr|}}}|\|}}|:|-}}|/|-}}|,|;}}}} | {{#vardefine:varHeadingFr|{{#replace:{{#replace:{{#replace:{{#replace:{{{HeadingFr|}}}|\|}}|:|-}}|/|-}}|,|;}}}} | ||
{{#vardefine:varHeadingBe|{{#replace:{{#replace:{{#replace:{{#replace:{{{HeadingBe|}}}|\|}}|:|-}}|/|-}}|,|;}}}} | |||
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}} | {{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}} | ||
{{#if: {{{Topcontext|}}} | {{#arraymap:{{{Topcontext|}}}|,|@@@@|{{#set:Topcontext=@@@@}}}} | {{#set:Topcontext={{PAGENAME}}}}}} | {{#if: {{{Topcontext|}}} | {{#arraymap:{{{Topcontext|}}}|,|@@@@|{{#set:Topcontext=@@@@}}}} | {{#set:Topcontext={{PAGENAME}}}}}} | ||
Regel 44: | Regel 50: | ||
{{#set:Heading en={{#var:varHeadingEn}}}} | {{#set:Heading en={{#var:varHeadingEn}}}} | ||
{{#set:Heading fr={{#var:varHeadingFr}}}} | {{#set:Heading fr={{#var:varHeadingFr}}}} | ||
{{#set:Heading be={{#var:varHeadingBe}}}} | |||
{{#set:ImageMap template={{{ImageMap template|}}}}} | {{#set:ImageMap template={{{ImageMap template|}}}}} | ||
{{#set:Start date={{{Start date|}}}}} | {{#set:Start date={{{Start date|}}}}} | ||
{{#set:End date={{#if: {{{End date|}}} | {{{End date|}}} | {{{Start date|}}} }} }} | {{#set:End date={{#if: {{{End date|}}} | {{{End date|}}} | {{{Start date|}}} }} }} | ||
{{#set:Summary={{{Summary|}}}}} | {{#set:Summary={{{Summary|}}}}} | ||
{{#set:Summary nl={{{Summary|}}}}} | |||
{{#set:Summary en={{{SummaryEn|}}}}} | |||
{{#set:Summary fr={{{SummaryFr|}}}}} | |||
{{#set:Summary be={{{SummaryBe|}}}}} | |||
{{#set:Imagename={{{Imagename|}}}}} | |||
{{#vardefine:varHasImage|{{#if:{{{Imagename|}}}|File:{{{Imagename|}}}|}}}} | |||
{{#set:Has image={{#var:varHasImage}}}} | |||
{{#set:Imagefullurl={{#replace:{{filepath:{{{Imagename|}}}}}|http://localhost|https://projectenportfolio.nl}}}} | |||
{{#set:Show edit button={{{Show edit button|}}}}} | {{#set:Show edit button={{{Show edit button|}}}}} | ||
{{#set:Show VE button={{{Show VE button|}}}}} | {{#set:Show VE button={{{Show VE button|}}}}} | ||
{{#set:Show title={{{Show title|}}}}} | {{#set:Show title={{#if: {{{Show title|}}}|{{{Show title|}}}|true}}}} | ||
<!-- {{#arraymap:{{{EMMAccessControl|}}}|,|@@@@|{{#set:EMM access control=@@@@}}}} --> | <!-- {{#arraymap:{{{EMMAccessControl|}}}|,|@@@@|{{#set:EMM access control=@@@@}}}} --> | ||
{{#set:EMM access control={{{EMM access control|}}}}} | {{#set:EMM access control={{{EMM access control|}}}}} | ||
Regel 73: | Regel 88: | ||
}}<!-- | }}<!-- | ||
--><div id="emmskin-lc-sidebar"><!-- | --><div id="emmskin-lc-sidebar"><!-- | ||
-->{{ | -->{{#vardefine:varNavigationTreeForm| | ||
{{#if: {{#var:varNavigationTreeForm}}|{{#var:varNavigationTreeForm}}|Light Context}} | |||
}} | |||
<div class="emm-tree-project"></div> | |||
{{#emm_navigationtree:root_pages={"superContext":"{{{Supercontext|}}}", "topContext":"{{{Topcontext|}}}"}|emm_navigationtree_form={{#var:varNavigationTreeForm}}}}<!-- | |||
--></div> | --></div> | ||
[[Category:Light Context]] | [[Category:Light Context]] | ||
</div> <!-- hide me --> | </div> <!-- hide me --> | ||
</includeonly> | </includeonly> |
Huidige versie van 4 sep 2024 om 14:26
This is the "Light Context" template. It should be called in the following format:
{{Light Context |Supercontext= |Topcontext= |Toppage= |Sequence number= |Sequence numbers= |Context type= |Heading= |HeadingEn= |HeadingFr= |HeadingBe= |ImageMap template= |Start date= |End date= |Summary= |SummaryEn= |SummaryFr= |SummaryBe= |Imagename= |Show edit button= |Show VE button= |Show title= |Show referred by= |Referred by text= |EMM access control= }}
Edit the page to see the template text.