|
|||
(12 tussenliggende versies door een andere gebruiker 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 12: | Regel 13: | ||
|Start date= |
|Start date= |
||
|End date= |
|End date= |
||
+ | |Summary= |
||
}} |
}} |
||
</pre> |
</pre> |
||
Regel 20: | 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|}}}}} |
||
Regel 25: | Regel 28: | ||
{{#set:Start date={{{Start date|}}}}} |
{{#set:Start date={{{Start date|}}}}} |
||
{{#set:End date={{#if: {{{End date|}}} | {{{End 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}}}} |
||
Regel 36: | 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 46: | 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 61: | 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='' |
+ | | 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.