(Zie JIRA-ticket EMT-1347.) |
k (1 versie geïmporteerd: Zie Jira-task KP-222.) |
||
(12 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 8: | Regel 8: | ||
|Supercontext= | |Supercontext= | ||
|Name= | |Name= | ||
|NameEn= | |||
|Subheading= | |Subheading= | ||
|SubheadingEn= | |||
|Summary= | |Summary= | ||
|SummaryEn= | |||
|Mission= | |Mission= | ||
|MissionEn= | |||
|Objective= | |Objective= | ||
|ObjectiveEn= | |||
|Professor= | |Professor= | ||
|Imagename= | |Imagename= | ||
|Contact person | |Contact person= | ||
|HZ theme= | |||
|Project= | |Project= | ||
|Publication= | |||
}} | }} | ||
</pre> | </pre> | ||
Regel 21: | Regel 28: | ||
</noinclude><includeonly>{{HideMe}}__NOEDITSECTION__ __NOTOC__<div style="display:none;"> | </noinclude><includeonly>{{HideMe}}__NOEDITSECTION__ __NOTOC__<div style="display:none;"> | ||
{{#vardefine:varPaginanaam|{{PAGENAME}}}} | {{#vardefine:varPaginanaam|{{PAGENAME}}}} | ||
{{#vardefine:varLanguage|{{#emmlang:}}}} | |||
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}} | {{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}} | ||
{{#set:Context type=Situation}} | {{#set:Context type=Situation}} | ||
{{#vardefine:varName|{{#if: {{{Name|}}}|{{{Name|}}}|{{#var:varPaginanaam}}}}}} | {{#vardefine:varName|{{#if: {{{Name|}}}|{{{Name|}}}|{{#var:varPaginanaam}}}}}} | ||
{{#vardefine:varSubheading|{{#ifeq:{{#var:varLanguage}}|en|{{{SubheadingEn|}}}|{{{Subheading|}}}}}}} | |||
{{#vardefine:varSummary|{{#ifeq:{{#var:varLanguage}}|en|{{{SummaryEn|}}}|{{{Summary|}}}}}}} | |||
{{#vardefine:varMission|{{#ifeq:{{#var:varLanguage}}|en|{{{MissionEn|}}}|{{{Mission|}}}}}}} | |||
{{#vardefine:varObjective|{{#ifeq:{{#var:varLanguage}}|en|{{{ObjectiveEn|}}}|{{{Objective|}}}}}}} | |||
{{#set:Semantic title|{{#var:varName}}}} | {{#set:Semantic title|{{#var:varName}}}} | ||
{{DISPLAYTITLE:{{#var:varName}}}} | {{DISPLAYTITLE:{{#var:varName}}}} | ||
Regel 29: | Regel 41: | ||
{{#set:Heading nl={{#var:varName}}}} | {{#set:Heading nl={{#var:varName}}}} | ||
{{#set:Name={{#var:varName}}}} | {{#set:Name={{#var:varName}}}} | ||
{{#set:Heading_en={{{NameEn|}}}}} | |||
{{#set:Subheading={{{Subheading|}}}}} | {{#set:Subheading={{{Subheading|}}}}} | ||
{{#set:Subheading en={{{SubheadingEn|}}}}} | |||
{{#set:Summary={{{Summary|}}}}} | {{#set:Summary={{{Summary|}}}}} | ||
{{#set:Summary en={{{SummaryEn|}}}}} | |||
{{#set:Mission={{{Mission|}}}}} | {{#set:Mission={{{Mission|}}}}} | ||
{{#set:Mission en={{{MissionEn|}}}}} | |||
{{#set:Objective={{{Objective|}}}}} | {{#set:Objective={{{Objective|}}}}} | ||
{{#set:Objective en={{{ObjectiveEn|}}}}} | |||
{{#arraymap:{{{Professor|}}}|,|@@@@|{{#set:Professor=@@@@}}}} | {{#arraymap:{{{Professor|}}}|,|@@@@|{{#set:Professor=@@@@}}}} | ||
{{#set:Imagename={{{Imagename|}}}}} | {{#set:Imagename={{{Imagename|}}}}} | ||
{{#set:Contact person={{{Contact person|}}}}} | {{#set:Contact person={{{Contact person|}}}}} | ||
{{#arraymap:{{{HZ theme|}}}|,|@@@@|{{#set:HZ Theme=@@@@}}}} | |||
{{#set:Has image=File:{{{Imagename|}}}}} | {{#set:Has image=File:{{{Imagename|}}}}} | ||
{{#set:Imagefullurl={{#replace:{{filepath:{{{Imagename|}}}}}|http://localhost|https://projectenportfolio.nl}}}} | |||
{{#arraymap:{{{Project|}}}|,|@@@@|{{#set:Project=@@@@}}}} | {{#arraymap:{{{Project|}}}|,|@@@@|{{#set:Project=@@@@}}}} | ||
{{#arraymap:{{{Publication|}}}|,|@@@@|{{#set:Resource Description=@@@@}}}} | |||
{{#set:Show VE button=true}} | {{#set:Show VE button=true}} | ||
{{#set:Show title={{#if: {{{Show title|}}}|{{{Show title|}}}|true}}}} | |||
{{#set:Model link={{#var:varPaginanaam}}}} | {{#set:Model link={{#var:varPaginanaam}}}} | ||
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes --> | {{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes --> | ||
Regel 48: | Regel 69: | ||
}}<!-- | }}<!-- | ||
--><div class="headerContainer"><!-- | --><div class="headerContainer"><!-- | ||
--> <h2 class="secondHeading"><strong> | --> <h2 class="secondHeading"><strong>{{#var:varSubheading}}</strong></h2><!-- | ||
--></div><!-- | --></div><!-- | ||
-->{{#if:{{#show:{{#var:varPaginanaam}}|?Summary}}|<p> | -->{{#if:{{#show:{{#var:varPaginanaam}}|?Summary}}|<p>{{#var:varSummary}}</p>|}} | ||
<div class="description-list"> | <div class="description-list"> | ||
;{{int:EMM Text Mission}} | ;{{int:EMM Text Mission}}:{{#var:varMission}} | ||
;{{int:EMM Text Objective}} | ;{{int:EMM Text Objective}}:{{#var:varObjective}}<!-- | ||
-->{{#if:{{#show:{{#var:varPaginanaam}}|?Professor}}|;{{int:EMM Text Professor}}:{{#show:{{#var:varPaginanaam}}|?Professor}}|}} | -->{{#if:{{#show:{{#var:varPaginanaam}}|?Professor}}|;{{int:EMM Text Professor}}:{{#show:{{#var:varPaginanaam}}|?Professor}}|}} | ||
;{{int:EMM Text Contact person}}:{{#show:{{#var:varPaginanaam}}|?Contact person}} | ;{{int:EMM Text Contact person}}:{{#show:{{#var:varPaginanaam}}|?Contact person}}<!-- | ||
</div> | -->{{#if:{{#show:{{#var:varPaginanaam}}|?HZ Theme}}|;{{int:EMM Text HZ Themes}}:{{#show:{{#var:varPaginanaam}}|?HZ Theme}}|}}<!-- | ||
--></div> | |||
{{#vardefine:varImage|{{#show:{{#var:varPaginanaam}}|?Imagename}}}}{{#if:{{#var:varImage}}|[[File:{{#var:varImage}}|600px|link=|center|thumb|{{#show:{{#var:varPaginanaam}}|?Name}}]]|}} | {{#vardefine:varImage|{{#show:{{#var:varPaginanaam}}|?Imagename}}}}{{#if:{{#var:varImage}}|[[File:{{#var:varImage}}|600px|link=|center|thumb|{{#show:{{#var:varPaginanaam}}|?Name}}]]|}} | ||
== {{int: EMM Text Researchers}} == | == {{int: EMM Text Researchers}} == | ||
<div class=" | <div class=""><div class="row row--wide"> | ||
{{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]] | {{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]] | ||
| ?Self | | ?Self | ||
Regel 82: | Regel 104: | ||
}}|}} | }}|}} | ||
== {{int: EMM Text Projects }} == | == {{int: EMM Text Projects }} == | ||
{{#vardefine:varProjectList|{{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]] | {{#vardefine:varProjectList|{{#ask: [[Category:Contributor]] [[Research group primary::{{#var:varPaginanaam}}]] | ||
| link=none | | link=none | ||
| mainlabel=- | | mainlabel=- | ||
Regel 95: | Regel 117: | ||
| format=datatables | | format=datatables | ||
}} | }} | ||
{{# | == {{int:EMM Text Key Publications}} == | ||
| mainlabel= | {{#vardefine:varPublicationList|{{#show:{{#var:varPaginanaam}}|?Resource Description|link=none}}}} | ||
| ? | {{#vardefine:varPublicationList2|{{#arraymap:{{#var:varPublicationList}}|,|@@@@|@@@@|{{!}}{{!}}}}}} | ||
| ? | {{#if:{{#var:varPublicationList2}}| | ||
| ? | {{#ask:[[{{#var:varPublicationList2}}]] | ||
| mainlabel={{int:EMM Text Publication}} | |||
| ?Dct:title={{int:EMM Text Title}} | |||
| ?Dct:date#LOCL={{int: EMM Text Date}} | |||
| ?Dct:creator={{int:EMM Text Author(s)}} | |||
| format=datatables | | format=datatables | ||
}} | }}|{{int:EMM Text No publications}}.}} | ||
{{Event building block}} <!-- varEventList is set in this template --> | <!--{{Event building block}}--> <!-- varEventList is set in this template --> | ||
<!-- voorlopig weglaten {{EMMSkin Project sidebar|Text={{#var:varEventList}} | <!-- voorlopig weglaten {{EMMSkin Project sidebar|Text={{#var:varEventList}} | ||
|Name1={{int: EMM Text Number of researchers}} | |Name1={{int: EMM Text Number of researchers}} |
Huidige versie van 15 okt 2024 om 16:11
This is the "Research Group" template. It should be called in the following format:
{{Research Group |Supercontext= |Name= |NameEn= |Subheading= |SubheadingEn= |Summary= |SummaryEn= |Mission= |MissionEn= |Objective= |ObjectiveEn= |Professor= |Imagename= |Contact person= |HZ theme= |Project= |Publication= }}
Edit the page to see the template text.