Geen bewerkingssamenvatting |
(Zie JIRA-ticket EMT-1644.) |
||
Regel 27: | Regel 27: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{{HideMe}}__NOEDITSECTION__ <!--__FORCETOC__ __NOTOC__ --><div style="display:none;"> | </noinclude><includeonly>{{HideMe}}__NOEDITSECTION__ <!--__FORCETOC__ __NOTOC__ --><div style="display:none;"> | ||
{{#vardefine:varHeading|{{#replace:{{#replace:{{#replace:{{#replace:{{{Heading|}}}|\|}}|:|-}}|/|-}}|,|;}}}} | |||
{{#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 33: | Regel 34: | ||
{{#set:Sequence numbers|{{#if: {{{Sequence numbers|}}}|{{{Sequence numbers|}}}|}}}} | {{#set:Sequence numbers|{{#if: {{{Sequence numbers|}}}|{{{Sequence numbers|}}}|}}}} | ||
{{#set:Context type={{{Context type|}}}}} | {{#set:Context type={{{Context type|}}}}} | ||
{{#set:Semantic title|{{ | {{#set:Semantic title|{{#var:varHeading}}}} | ||
{{DISPLAYTITLE:{{ | {{DISPLAYTITLE:{{#var:varHeading}}}} | ||
{{#set:Heading={{ | {{#set:Heading={{#var:varHeading}}}} | ||
{{#set:Heading nl={{ | {{#set:Heading nl={{#var:varHeading}}}} | ||
{{#set:ImageMap template={{{ImageMap template|}}}}} | {{#set:ImageMap template={{{ImageMap template|}}}}} | ||
{{#set:Start date={{{Start date|}}}}} | {{#set:Start date={{{Start date|}}}}} |
Versie van 7 jul 2020 16:15
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= |ImageMap template= |Start date= |End date= |Summary= |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.