Sjabloon:Light Context: verschil tussen versies

 
(10 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 21: 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 38: 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
 
{|
 
{|
| Start date
+
| Startdatum:
| {{{Start date|}}}
+
| {{#if: {{{Start date|}}}|{{#time:j F Y|{{{Start date|}}}}}}}
 
|-
 
|-
| End date
+
| Einddatum:
| {{{End date|}}}
+
| {{#if: {{{End date|}}}|{{#time:j F Y|{{{End date|}}}}}}}
 
|}
 
|}
 
{{#if: {{{Summary|}}}|<br />{{{Summary|}}}}}
 
{{#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 56: 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 71: 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=Paginanaam
+
| ?Pagename=Page name
| ?Dct:title=Titel
+
| ?Dct:title=Title
| ?Dct:creator=Schrijver
+
| ?Dct:creator=Author(s)
| ?Dct:date=Datum
+
| ?Dct:date=Date
| default=''Geen uploads in dit project.''
+
| default=''No sources added yet.''
 
| format=table
 
| format=table
 
}}
 
}}

Huidige versie van 11 jan 2017 om 12:30

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.