(Zie JIRA-issue EMT-791.)
|
|||
(15 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 10: | Regel 10: | ||
|Toppage= |
|Toppage= |
||
|Sequence number= |
|Sequence number= |
||
+ | |Sequence numbers= |
||
|Context type= |
|Context type= |
||
|Heading= |
|Heading= |
||
Regel 16: | Regel 17: | ||
|End date= |
|End date= |
||
|Summary= |
|Summary= |
||
+ | |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>__NOEDITSECTION__ __FORCETOC__ <!-- __NOTOC__ --><div style="display:none;"> |
{{#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}}}}}} |
||
{{#set:Toppage={{#if: {{{Toppage|}}}|{{{Toppage|}}}|Other}}}} |
{{#set:Toppage={{#if: {{{Toppage|}}}|{{{Toppage|}}}|Other}}}} |
||
{{#set:Sequence number|{{#if: {{{Sequence number|}}}|{{{Sequence number|}}}|1}}}} |
{{#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:Semantic title|{{{Heading|}}}}} |
{{#set:Semantic title|{{{Heading|}}}}} |
||
Regel 33: | Regel 38: | ||
{{#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|}}}}} |
||
+ | {{#arraymap:{{{EMMAccessControl|}}}|,|@@@@|{{#set:EMM access control=@@@@}}}} |
||
{{#vardefine:varPaginanaam|{{PAGENAME}}}} |
{{#vardefine:varPaginanaam|{{PAGENAME}}}} |
||
{{#set:Model link={{#var:varPaginanaam}}}} |
{{#set:Model link={{#var:varPaginanaam}}}} |
||
Regel 38: | Regel 44: | ||
{{#set:Pagename={{#var:varPaginanaam}}}} |
{{#set:Pagename={{#var:varPaginanaam}}}} |
||
{{#vardefine:varVNCategory|OLmK Context VN}} |
{{#vardefine:varVNCategory|OLmK Context VN}} |
||
+ | {{#vardefine:varReferredBy|{{#ask: [[Element link::{{#var:varPaginanaam}}]] [[Element link type::Refers]] | mainlabel=-| ?Element back link= | format=list}} }} |
||
</div> |
</div> |
||
+ | {{#ifeq: {{{Show referred by|}}}|Nee|| |
||
+ | {{#if: {{#var:varReferredBy}}|{{#if: {{{Referred by text|}}}|'''{{{Referred by text|}}}'''|'''Hier wordt aan gewerkt of naar verwezen door:'''}} {{#var:varReferredBy}} }} |
||
+ | }} |
||
{{References}} |
{{References}} |
||
− | + | <div style="display:none;"> |
|
− | <div |
||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Navigation tree lc|TopContext={{{Topcontext|}}} |
{{Navigation tree lc|TopContext={{{Topcontext|}}} |
||
|SuperContext={{{Supercontext|}}}}} |
|SuperContext={{{Supercontext|}}}}} |
||
+ | </div> |
||
[[Category:Light Context]] |
[[Category:Light Context]] |
||
</includeonly> |
</includeonly> |
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 referred by= |Referred by text= |EMM access control= }}
Edit the page to see the template text.