|
|||
(31 tussenliggende versies door 2 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 10: | Regel 11: | ||
|Heading= |
|Heading= |
||
|ImageMap template= |
|ImageMap template= |
||
+ | |Start date= |
||
+ | |End date= |
||
+ | |Summary= |
||
}} |
}} |
||
</pre> |
</pre> |
||
Regel 15: | Regel 19: | ||
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;"> |
</noinclude><includeonly>__NOEDITSECTION__ __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:Context type={{{Context type|}}}}} |
{{#set:Context type={{{Context type|}}}}} |
||
{{#set:Semantic title|{{{Heading|}}}}} |
{{#set:Semantic title|{{{Heading|}}}}} |
||
+ | {{DISPLAYTITLE:{{{Heading|}}}}} |
||
{{#set:Heading={{{Heading|}}}}} |
{{#set:Heading={{{Heading|}}}}} |
||
{{#set:Heading nl={{{Heading|}}}}} |
{{#set:Heading nl={{{Heading|}}}}} |
||
{{#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|}}}}} |
||
{{#vardefine:varPaginanaam|{{PAGENAME}}}} |
{{#vardefine:varPaginanaam|{{PAGENAME}}}} |
||
{{#set:Model link={{#var:varPaginanaam}}}} |
{{#set:Model link={{#var:varPaginanaam}}}} |
||
{{#set:Self={{#var:varPaginanaam}}}} |
{{#set:Self={{#var:varPaginanaam}}}} |
||
+ | {{#set:Pagename={{#var:varPaginanaam}}}} |
||
+ | {{#vardefine:varVNCategory|OLmK Context VN}} |
||
</div> |
</div> |
||
{{References}} |
{{References}} |
||
Regel 30: | Regel 40: | ||
''' Paginaoverzicht ''' |
''' Paginaoverzicht ''' |
||
<div class="mw-collapsible-content"> |
<div class="mw-collapsible-content"> |
||
+ | <!-- Remove as many clutter as possible while the templates are visible inside the visualeditor |
||
+ | {| |
||
+ | | Startdatum: |
||
+ | | {{#if: {{{Start date|}}}|{{#time:j F Y|{{{Start date|}}}}}}} |
||
+ | |- |
||
+ | | Einddatum: |
||
+ | | {{#if: {{{End date|}}}|{{#time:j F Y|{{{End date|}}}}}}} |
||
+ | |} |
||
+ | {{#if: {{{Summary|}}}|<br />{{{Summary|}}}}} |
||
---- |
---- |
||
+ | --> |
||
'''Links naar verwante pagina's''' |
'''Links naar verwante pagina's''' |
||
− | + | <!-- This can be done in the visualeditor or in a project |
|
+ | {{#formlink:form=Light Context |
||
+ | | Light Context[Supercontext]={{#var:varPaginanaam}} |
||
+ | | Light Context[Topcontext]={{{Topcontext|}}} |
||
+ | | Light Context[Context type]=Situation |
||
+ | | link text=Nieuwe onderliggende pagina |
||
+ | | link type=button |
||
+ | }} |
||
+ | --> |
||
{{Related pages show}} |
{{Related pages show}} |
||
+ | ---- |
||
''' Uploads ''' |
''' Uploads ''' |
||
+ | <!-- This can be done in the visualeditor or in a project --> |
||
+ | {{#formlink:form=Resource Light |
||
+ | | Resource Description[created in page]]={{#var:varPaginanaam}} |
||
+ | | link text=Nieuwe bron (afbeelding, pdf, etc.) uploaden |
||
+ | | link type=button |
||
+ | }} |
||
− | {{#formlink:form=Resource |
+ | {{#formlink:form=Resource Hyperlink
|
| Resource Description[created in page]]={{#var:varPaginanaam}} |
| Resource Description[created in page]]={{#var:varPaginanaam}} |
||
− | | link text= |
+ | | link text=Nieuwe hyperlink bron
|
| link type=button |
| link type=button |
||
}} |
}} |
||
− | + | <!-- --> |
|
− | {{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{{Topcontext|}}}]]</q>]] |
+ | {{#ask: [[Category:Resource Description]] |
− | | ?Dct:title= |
+ |
[[Created in page::<q>[[Topcontext::{{#if: {{{Topcontext|}}} | {{{Topcontext|}}} | {{#var:varPaginanaam}}}}]]</q>]] |
− | | ?Dct:creator= |
+ | | ?Pagename=Page name |
− | | ?Dct:date= |
+ | | ?Dct:title=Title
|
+ | | ?Dct:creator=Author(s)
|
||
+ | | ?Dct:date=Date
|
||
+ | | default=''No sources added yet.'' |
||
| format=table |
| format=table |
||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} |
}} |
||
</div> |
</div> |
This is the "Light Context" template. It should be called in the following format:
{{Light Context |Supercontext= |Topcontext= |Context type= |Heading= |ImageMap template= |Start date= |End date= |Summary= }}
Edit the page to see the template text.