|
|||
(20 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 18: | Regel 22: | ||
{{#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}}}} |
{{#set:Pagename={{#var:varPaginanaam}}}} |
||
+ | {{#vardefine:varVNCategory|OLmK Context VN}} |
||
</div> |
</div> |
||
{{References}} |
{{References}} |
||
Regel 31: | 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 |
{{#formlink:form=Light Context |
||
| Light Context[Supercontext]={{#var:varPaginanaam}} |
| Light Context[Supercontext]={{#var:varPaginanaam}} |
||
Regel 41: | Regel 60: | ||
| link type=button |
| 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 |
{{#formlink:form=Resource Light |
||
| Resource Description[created in page]]={{#var:varPaginanaam}} |
| Resource Description[created in page]]={{#var:varPaginanaam}} |
||
Regel 56: | Regel 76: | ||
| link type=button |
| link type=button |
||
}} |
}} |
||
− | + | <!-- --> |
|
{{#ask: [[Category:Resource Description]] |
{{#ask: [[Category:Resource Description]] |
||
[[Created in page::<q>[[Topcontext::{{#if: {{{Topcontext|}}} | {{{Topcontext|}}} | {{#var:varPaginanaam}}}}]]</q>]] |
[[Created in page::<q>[[Topcontext::{{#if: {{{Topcontext|}}} | {{{Topcontext|}}} | {{#var:varPaginanaam}}}}]]</q>]] |
||
− | | ?Pagename= |
+ | | ?Pagename=Page name
|
− | | ?Dct:title= |
+ | | ?Dct:title=Title
|
− | | ?Dct:creator= |
+ | | ?Dct:creator=Author(s)
|
− | | ?Dct:date= |
+ | | ?Dct:date=Date
|
+ | | default=''No sources added yet.'' |
||
| format=table |
| format=table |
||
}} |
}} |
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.