(Zie JIRA-ticket EMT-1347.) |
Geen bewerkingssamenvatting |
||
Regel 54: | Regel 54: | ||
{{#arraymap:{{#var:varProjectType}}|,|@@@@|{{#set:Project type=@@@@}}}} | {{#arraymap:{{#var:varProjectType}}|,|@@@@|{{#set:Project type=@@@@}}}} | ||
{{#set:Context type=Situation}} | {{#set:Context type=Situation}} | ||
{{# | <!-- Hoi Jethro, ik kon het niet laten :-), Gr. Hans. --> | ||
{{ | {{#vardefine:varName|{{#replace:{{{Name|}}}|,|<nowiki> ~ </nowiki>}}}} | ||
{{#set:Name={{ | {{#set:Semantic title|{{#var:varName}}}} | ||
{{#set:Heading={{ | {{DISPLAYTITLE:{{#var:varName}}} | ||
{{#set:Heading nl={{ | {{#set:Name={{#var:varName}}} | ||
{{#set:Heading={{#var:varName}}} | |||
{{#set:Heading nl={{#var:varName}}} | |||
{{#set:Start date={{{Start date|}}}}} | {{#set:Start date={{{Start date|}}}}} | ||
{{#set:End date={{{End date|}}}}} | {{#set:End date={{{End date|}}}}} | ||
Regel 70: | Regel 72: | ||
<!-- {{#arraymap:{{{EMMAccessControl|}}}|,|@@@@|{{#set:EMM access control=@@@@}}}} --> | <!-- {{#arraymap:{{{EMMAccessControl|}}}|,|@@@@|{{#set:EMM access control=@@@@}}}} --> | ||
{{#set:EMM access control|{{{EMM access control|}}}}} | {{#set:EMM access control|{{{EMM access control|}}}}} | ||
{{#set:PR ID={{PAGENAME}} - {{ | {{#set:PR ID={{PAGENAME}} - {{#var:varName}} - {{{Start date|}}}}} | ||
{{#vardefine:varPaginanaam|{{PAGENAME}}}} | {{#vardefine:varPaginanaam|{{PAGENAME}}}} | ||
{{#set:Model link={{#var:varPaginanaam}}}} | {{#set:Model link={{#var:varPaginanaam}}}} | ||
Regel 109: | Regel 111: | ||
{{Navigation tree project|TopContext={{#var:varTopcontext}} | {{Navigation tree project|TopContext={{#var:varTopcontext}} | ||
|SuperContext={{#var:varPaginanaam}} | |SuperContext={{#var:varPaginanaam}} | ||
|TitleSuperContext={{ | |TitleSuperContext={{#var:varName}} | ||
|ProcessPreload={{#var:varProcessPreload}} | |ProcessPreload={{#var:varProcessPreload}} | ||
|ProcessName={{#var:varAanpak}} | |ProcessName={{#var:varAanpak}} | ||
Regel 116: | Regel 118: | ||
{{Navigation tree project|TopContext={{#var:varTopcontext}} | {{Navigation tree project|TopContext={{#var:varTopcontext}} | ||
|SuperContext={{#var:varPaginanaam}} | |SuperContext={{#var:varPaginanaam}} | ||
|TitleSuperContext={{ | |TitleSuperContext={{#var:varName}} }} | ||
}} }} <!-- end #ifeq: show navigation tree --><!-- | }} }} <!-- end #ifeq: show navigation tree --><!-- | ||
'''Results:''' | '''Results:''' | ||
Regel 129: | Regel 131: | ||
| format=tree | | format=tree | ||
}}|* {{#formredlink:target={{#var:varResultaten}} | }}|* {{#formredlink:target={{#var:varResultaten}} | ||
| link text={{ | | link text={{#var:varName}} - results | ||
| form=Light Context | | form=Light Context | ||
| Light Context[Supercontext]={{#var:varPaginanaam}} | | Light Context[Supercontext]={{#var:varPaginanaam}} | ||
| Light Context[Topcontext]={{#var:varTopcontext}} | | Light Context[Topcontext]={{#var:varTopcontext}} | ||
| Light Context[Context type]=Situation | | Light Context[Context type]=Situation | ||
| Light Context[Heading]={{ | | Light Context[Heading]={{#var:varName}} - results | ||
| preload={{#var:varContentPreload}} --> <!-- gezet in een config template --> | | preload={{#var:varContentPreload}} --> <!-- gezet in een config template --> | ||
<!-- }} }} --> | <!-- }} }} --> | ||
Regel 148: | Regel 150: | ||
| format=tree | | format=tree | ||
}}|* {{#formredlink:target={{#var:varAanpak}} | }}|* {{#formredlink:target={{#var:varAanpak}} | ||
| link text={{ | | link text={{#var:varName}} - process | ||
| form=Light Context | | form=Light Context | ||
| Light Context[Supercontext]={{#var:varPaginanaam}} | | Light Context[Supercontext]={{#var:varPaginanaam}} | ||
| Light Context[Topcontext]={{#var:varTopcontext}} | | Light Context[Topcontext]={{#var:varTopcontext}} | ||
| Light Context[Context type]=Situation | | Light Context[Context type]=Situation | ||
| Light Context[Heading]={{ | | Light Context[Heading]={{#var:varName}} - process | ||
| preload={{#var:varProcessPreload}} --> <!-- gezet in een config template --> | | preload={{#var:varProcessPreload}} --> <!-- gezet in een config template --> | ||
<!-- }} }} --> | <!-- }} }} --> |
Versie van 22 dec 2019 08:47
This is the "Project" template. It should be called in the following format:
{{Project |Supercontext= |Topcontext= |Project type= |Name= |Summary= |Start date= |End date= |Contact person |Show summary= |Show navigation tree= |Create process and content pages= |Show new page button= |Show sub projects= |Show participants= |Show sources= |Is homepage= |Show edit button= |Show VE button= |Show sidebar= |Show category label= |Show title= |EMM access control= }}
Edit the page to see the template text.