Sjabloon:Light Context: verschil tussen versies

Regel 8: Regel 8:
 
|Supercontext=
 
|Supercontext=
 
|Topcontext=
 
|Topcontext=
  +
|Toppage=
 
|Sequence number=
 
|Sequence number=
 
|Context type=
 
|Context type=
Regel 21: Regel 22:
 
{{#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:Sequence number|{{#if: {{{Sequence number|}}}|{{{Sequence number|}}}|1}}}}
 
{{#set:Sequence number|{{#if: {{{Sequence number|}}}|{{{Sequence number|}}}|1}}}}
 
{{#set:Context type={{{Context type|}}}}}
 
{{#set:Context type={{{Context type|}}}}}

Versie van 10 feb 2017 om 22:31

This is the "Light Context" template. It should be called in the following format:

{{Light Context
|Supercontext=
|Topcontext=
|Toppage=
|Sequence number=
|Context type=
|Heading=
|ImageMap template=
|Start date=
|End date=
|Summary=
}}

Edit the page to see the template text.