Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
(121 tussenliggende versies door 7 gebruikers niet weergegeven)
Regel 1: Regel 1:
<noinclude>
<noinclude>
[[Category:EMont core]]
[[Category:EMont core]]
[[Category:EMont core protected]]
This is the "Light Context" template.
This is the "Light Context" template.
It should be called in the following format:
It should be called in the following format:
Regel 7: Regel 8:
|Supercontext=
|Supercontext=
|Topcontext=
|Topcontext=
|Toppage=
|Sequence number=
|Sequence numbers=
|Context type=
|Context type=
|Heading=
|Heading=
|HeadingEn=
|HeadingFr=
|HeadingBe=
|ImageMap template=
|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=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
</noinclude><includeonly>{{HideMe}}__NOEDITSECTION__ <!--__FORCETOC__  __NOTOC__ --><div style="display:none;">
{{#vardefine:varHeading|{{#replace:{{#replace:{{#replace:{{#replace:{{{Heading|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#vardefine:varHeadingEn|{{#replace:{{#replace:{{#replace:{{#replace:{{{HeadingEn|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#vardefine:varHeadingFr|{{#replace:{{#replace:{{#replace:{{#replace:{{{HeadingFr|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#vardefine:varHeadingBe|{{#replace:{{#replace:{{#replace:{{#replace:{{{HeadingBe|}}}|\|}}|:|-}}|/|-}}|,|;}}}}
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
{{#arraymap:{{{Topcontext|}}}|,|@@@@|{{#set:Topcontext=@@@@}}}}
{{#if: {{{Topcontext|}}} | {{#arraymap:{{{Topcontext|}}}|,|@@@@|{{#set:Topcontext=@@@@}}}} | {{#set:Topcontext={{PAGENAME}}}}}}
{{#set:Toppage={{#if: {{{Toppage|}}}|{{{Toppage|}}}|Other}}}}
{{#set:Sequence number|{{#if: {{{Sequence number|}}}|{{{Sequence number|}}}|1}}}}
{{#set:Sequence numbers|{{#if: {{{Sequence numbers|}}}|{{{Sequence numbers|}}}|}}}}
{{#set:Context type={{{Context type|}}}}}
{{#set:Context type={{{Context type|}}}}}
{{#set:Heading={{{Heading|}}}}}
{{#set:Semantic title|{{#var:varHeading}}}}
{{#set:Heading nl={{{Heading|}}}}}
{{DISPLAYTITLE:{{#var:varHeading}}}}
{{#set:Heading={{#var:varHeading}}}}
{{#set:Heading nl={{#var:varHeading}}}}
{{#set:Heading en={{#var:varHeadingEn}}}}
{{#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:End date={{#if: {{{End date|}}} | {{{End date|}}} | {{{Start date|}}} }} }}
{{#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 VE button={{{Show VE button|}}}}}
{{#set:Show title={{#if: {{{Show title|}}}|{{{Show title|}}}|true}}}}
<!-- {{#arraymap:{{{EMMAccessControl|}}}|,|@@@@|{{#set:EMM access control=@@@@}}}} -->
{{#set:EMM access control={{{EMM access control|}}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
{{#set:Model link={{#var:varPaginanaam}}}}
{{#set:Model link={{#var:varPaginanaam}}}}
</div><div style="display:none;">
{{#set:Self={{#var:varPaginanaam}}}}
{{#vardefine:varContexts|{{#ask: [[Category:Context]] [[Supercontext::{{#var:varPaginanaam}}]] | link=none}} }}
{{#set:Pagename={{#var:varPaginanaam}}}}
{{#vardefine:varSupercontexts|{{#show: {{#var:varPaginanaam}} | ?Supercontext | link=none }}}}
{{#if: {{#var:varDefaultForm}}||{{#vardefine:varDefaultForm|Light Context}}}}
{{#vardefine:varParts|{{#ask: [[Category:Intentional Element]] [[Part of::{{#var:varPaginanaam}}]] | link=none}} }}
{{#vardefine:varVNCategory|OLmK Context VN}}
{{#vardefine:varParent|{{#show: {{#var:varPaginanaam}} | ?Part of | link=none }}}}
{{#vardefine:varReferredBy|{{#ask: [[Element link::{{#var:varPaginanaam}}]] [[Element link type::Refers]] | mainlabel=-| ?Element back link= | format=list}} }}
{{#vardefine:varReferredBy|{{#ask: [[Element link::{{#var:varPaginanaam}}]] [[Element link type::Refers]] | link=none}} }}
</div><!--
</div>
-->{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
<div class="toccolours mw-collapsible mw-collapsed">
{{References}}<!--
== Paginaoverzicht ==
-->{{#ifeq: {{{Show edit button|}}}|Ja|
<div class="mw-collapsible-content">
{{#if:{{CURRENTLOGGEDUSER}}|
'''Links naar verwante pagina's'''
<div style="text-align: right">
 
----
{{#if:{{#var:varContexts}}|Afgeleide processen, situaties en rollen: <br/>
<div class="formedit">{{#formlink:form={{#var:varDefaultForm}}|link text={{int: EMM Text LC Edit page info}} |link type=button|target={{#var:varPaginanaam}}}}</div></div>
{{#arraymap: {{#var:varContexts}}|,|@@@@| [[@@@@ | {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
}}}}
}}{{#if:{{#var:varSupercontexts}}|Onderdeel van: <br/>
{{#ifeq: {{{Show referred by|}}}|Nee||
{{#arraymap: {{#var:varSupercontexts}}|,|@@@@| [[ @@@@ | {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
{{#if: {{#var:varReferredBy}}|{{#if: {{{Referred by text|}}}|'''{{{Referred by text|}}}'''|'''Hier wordt aan gewerkt of naar verwezen door:'''}} {{#var:varReferredBy}} }}
}}{{#if:{{#var:varParts}}|Bestaat uit: <br/>
}}<!--
{{#arraymap: {{#var:varParts}}|,|@@@@| [[@@@@ | {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
--><div id="emmskin-lc-sidebar"><!--
}}{{#if:{{#var:varReferredBy}}|Gerefereerd door: <br/>
-->{{#vardefine:varNavigationTreeForm|
{{#arraymap: {{#var:varReferredBy}}|,|@@@@| [[{{#show: @@@@ | ?Element back link | link=none}} | {{#show: {{#show: {{#show: @@@@ | ?Element back link | link=none}} | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
{{#if: {{#var:varNavigationTreeForm}}|{{#var:varNavigationTreeForm}}|Light Context}}
}}
}}
{{#if:{{#var:varParent}}|Onderdeel van: <br/>
<div class="emm-tree-project"></div>
{{#arraymap: {{#var:varParent}}|,|@@@@| [[@@@@ | {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
{{#emm_navigationtree:root_pages={"superContext":"{{{Supercontext|}}}", "topContext":"{{{Topcontext|}}}"}|emm_navigationtree_form={{#var:varNavigationTreeForm}}}}<!--
}}
--></div>
 
'''Creëer een onderliggende context'''
 
Let op, iedere pagina moet een unieke naam hebben.
Het advies is de drie puntjes te vervangen door een korte omschrijving van de context.
 
{{#forminput:form=Light Context
| button text=Creëer een context
| size=60
| Light Context[Supercontext]={{#var:varPaginanaam}}
| Light Context[Topcontext]={{{Topcontext|}}}
| Light Context[Context type]=Situation
| default value={{#var:varPaginanaam}} - ...
}}
</div>
</div>
[[Category:Light Context]]
[[Category:Light Context]]
</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.