Geen bewerkingssamenvatting
k (Tekst vervangen - "grid-container" door "")
 
(81 tussenliggende versies door 5 gebruikers niet weergegeven)
Regel 8: Regel 8:
|Supercontext=
|Supercontext=
|Name=
|Name=
|NameEn=
|Subheading=
|SubheadingEn=
|Summary=
|SummaryEn=
|Mission=
|MissionEn=
|Objective=
|ObjectiveEn=
|Professor=
|Imagename=
|Imagename=
|Contact person=
|HZ theme=
|Project=
|Project=
|Publication=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOEDITSECTION__ __FORCETOC__<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}}
{{#vardefine:varName|{{#if: {{{Name|}}}|{{{Name|}}}|{{#var:varPaginanaam}}}}}}
{{#vardefine:varName|{{#if: {{{Name|}}}|{{{Name|}}}|{{#var:varPaginanaam}}}}}}
{{#set:Context type=Role}}
{{#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 23: 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 en={{{SubheadingEn|}}}}}
{{#set:Summary={{{Summary|}}}}}
{{#set:Summary en={{{SummaryEn|}}}}}
{{#set:Mission={{{Mission|}}}}}
{{#set:Mission en={{{MissionEn|}}}}}
{{#set:Objective={{{Objective|}}}}}
{{#set:Objective en={{{ObjectiveEn|}}}}}
{{#arraymap:{{{Professor|}}}|,|@@@@|{{#set:Professor=@@@@}}}}
{{#set:Imagename={{{Imagename|}}}}}
{{#set:Imagename={{{Imagename|}}}}}
{{#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 -->
</div>
</div><!--
{{#if:{{CURRENTLOGGEDUSER}}|
-->{{#if:{{CURRENTLOGGEDUSER}}|
<div style="text-align: right">
<div style="text-align: right">
----
----
<div class="formedit">{{#formlink:form={{#var:varDefaultForm}}|link text={{int: EMM Text Edit research group }}|link type=button|target={{#var:varPaginanaam}}}}</div></div>
<div class="formedit">{{#formlink:form={{#var:varDefaultForm}}|link text={{int: EMM Text Edit research group }}|link type=button|target={{#var:varPaginanaam}}}}</div></div>
}}<!--
--><div class="headerContainer"><!--
-->  <h2 class="secondHeading"><strong>{{#var:varSubheading}}</strong></h2><!--
--></div><!--
-->{{#if:{{#show:{{#var:varPaginanaam}}|?Summary}}|<p>{{#var:varSummary}}</p>|}}
<div class="description-list">
;{{int:EMM Text Mission}}:{{#var:varMission}}
;{{int:EMM Text Objective}}:{{#var:varObjective}}<!--
-->{{#if:{{#show:{{#var:varPaginanaam}}|?Professor}}|;{{int:EMM Text Professor}}:{{#show:{{#var:varPaginanaam}}|?Professor}}|}}
;{{int:EMM Text Contact person}}:{{#show:{{#var:varPaginanaam}}|?Contact person}}<!--
-->{{#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}}]]|}}
== {{int: EMM Text Researchers}} ==
<div class=""><div class="row  row--wide">
{{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]]
| ?Self
| ?Heading
| ?Imagename
| mainlabel=-
| link=none
| format=template
| template=Research group Member formatter
}}
}}
{{#vardefine:varImage|{{#show: {{#var:varPaginanaam}} | ?Imagename}}}}{{#if: {{#var:varImage}}|[[File:{{#var:varImage}}|600px|link=|center|thumb|{{#show: {{#var:varPaginanaam}} | ?Name}}]]}}
</div></div>
 
== {{int:EMM Text Key Projects}} ==
<!--
{|
! {{int: EMM Text Name }}:
| {{#var:varName}}
|}
-->
 
== {{int: EMM Text Key Projects }} ==
 
{{#vardefine:varProjectList|{{#show: {{#var:varPaginanaam}} | ?Project | link=none}}}}
{{#vardefine:varProjectList|{{#show: {{#var:varPaginanaam}} | ?Project | link=none}}}}
{{#vardefine:varProjectList2|{{#arraymap:{{#var:varProjectList}}|,|@@@@|@@@@|{{!}}{{!}}}}}}
{{#vardefine:varProjectList2|{{#arraymap:{{#var:varProjectList}}|,|@@@@|@@@@|{{!}}{{!}}}}}}
<!--
{{#if: {{#var:varProjectList2}}|
varProjectList = {{#var:varProjectList}} <br />
varProjectList2 = {{#var:varProjectList2}} <br />
-->
{{#if: {{#var:varProjectList2}} |
{{#ask: [[{{#var:varProjectList2}}]]
{{#ask: [[{{#var:varProjectList2}}]]
| mainlabel=Project
| mainlabel=Project
Regel 59: Regel 102:
| ?End date#LOCL={{int: EMM Text End date }}
| ?End date#LOCL={{int: EMM Text End date }}
| format=datatables
| format=datatables
}} }}
}}|}}
 
== {{int: EMM Text Members }} ==
 
{{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]]
| ?Has image
| ?Name
| ?Self
| order=ascending
| format=gallery
| widths=200
| heights=150
| imageproperty=Has image
| captionproperty=Name
| redirects=Self
}}
 
{{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]]
| mainlabel={{int: EMM Text Name }}
| ?Organization={{int: EMM Text Organization }}
| format=datatables
}}
<!--
{{#vardefine:varMemberList|{{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]] | mainlabel= | link=none}}}}
-->
<!-- varMemberList = {{#var:varMemberList}} -->
 
== {{int: EMM Text Projects }} ==
== {{int: EMM Text Projects }} ==
 
{{#vardefine:varProjectList|{{#ask: [[Category:Contributor]] [[Research group primary::{{#var:varPaginanaam}}]]
{{#vardefine:varProjectList|{{#ask: [[CNTR back link::<q>[[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]]</q>]]
| link=none
| link=none
| mainlabel=-
| mainlabel=-
| ?Project=
| ?Project=
}} }}
}} }}
<!-- varProjectList = {{#var:varProjectList}} -->
{{#arraymap:{{#var:varProjectList}}|,|@@@@|{{#set:Project derived=@@@@}}}}
{{#vardefine:varProjectList2|{{#arraymap:{{#var:varProjectList}}|,|@@@@|@@@@|{{!}}{{!}}}}}}
{{#ask: [[category:Project]] [[-Project derived::{{#var:varPaginanaam}}]]
<!-- varProjectList2 = {{#var:varProjectList2}} -->
<!-- te grote zoekopdracht
{{#if: {{#var:varProjectList2}}|{{#ask: [[{{#var:varProjectList2}}]]
| mainlabel=Project
| mainlabel=Project
| ?Summary={{int: EMM Text Summary }}
| ?Summary={{int: EMM Text Summary }}
| ?Start date#LOCL={{int: EMM Text Start date }}
| ?Start date#LOCL={{int: EMM Text Start date }}
| ?End date#LOCL={{int: EMM Text End date }}
| ?End date#LOCL={{int: EMM Text End date }}
| format=datatables
}} }}
-->
{{#ask: [[CNTR back link::<q>[[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]]</q>]]
| mainlabel=-
| ?Project=Project
| format=datatables
| format=datatables
}}
}}
<!--
== {{int:EMM Text Key Publications}} ==
{{#ask: [[CNTR back link::<q>[[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]]</q>]]
{{#vardefine:varPublicationList|{{#show:{{#var:varPaginanaam}}|?Resource Description|link=none}}}}
| ?Project=Project
{{#vardefine:varPublicationList2|{{#arraymap:{{#var:varPublicationList}}|,|@@@@|@@@@|{{!}}{{!}}}}}}
| ?CNTR Role={{int: EMM Text Role }}
{{#if:{{#var:varPublicationList2}}|
| format=table
{{#ask:[[{{#var:varPublicationList2}}]]
}}
| mainlabel={{int:EMM Text Publication}}
-->
| ?Dct:title={{int:EMM Text Title}}
<!--
| ?Dct:date#LOCL={{int: EMM Text Date}}
{{#vardefine:varProjectList|{{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]]
| ?Dct:creator={{int:EMM Text Author(s)}}
| link=none
| mainlabel=-
| ?Project=
}} }}
{{#vardefine:varProjectList2|{{#arraymap:{{#var:varProjectList}}|,|@@@@|@@@@|{{!}}{{!}}}}}}
varProjectList = {{#var:varProjectList}} <br />
varProjectList2 = {{#var:varProjectList2}} <br />
 
{{#if: {{#var:varProjectList2}}|{{#ask: [[{{#var:varProjectList2}}]]
| mainlabel=Project
| ?Summary={{int: EMM Text Summary }}
| ?Start date#LOCL={{int: EMM Text Start date }}
| ?End date#LOCL={{int: EMM Text End date }}
| format=datatables
}} }}
-->
 
 
 
{{#vardefine:varProjectList|{{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]]
| link=none
| mainlabel=-
| ?Project=
}} }}
{{#arraymap:{{#var:varProjectList}}|,|@@@@|{{#set: Project derived=@@@@}}}}
== Events ==
 
=== {{int: EMM Text Current affairs }} ===
{{#if:{{CURRENTLOGGEDUSER}}|
<div class="actionbar">{{#formlink: form=Event
| Event[Part of]={{#var:varPaginanaam}}
| Event[Start date]={{LOCALYEAR}}/{{LOCALMONTH}}/{{LOCALDAY}}
| link text={{int: EMM Text Create event }}
| link type=button
<!-- | preload=Xxxx voorbeeld -->
}}</div>}}
 
{{#ask: [[Category:Event]] [[Part of::{{#var:varPaginanaam}}]] [[End date::>{{#time: r|now - 1 day}}]]
| ?Self=Event
| ?Event type int=Type
| ?Start date={{int: EMM Text Start date }}
| ?End date={{int: EMM Text End date }}
| ?Summary={{int: EMM Text Summary }}
| mainlabel=-
| default=''{{int: EMM Text No events planned }}''
| limit=500
| format=datatables
}}
 
=== {{int: EMM Text Over and done }} ===
 
{{#ask: [[Category:Event]] [[Part of::{{#var:varPaginanaam}}]] [[End date::<<{{#time: r|now - 1 day}}]]
| ?Self=Event
| ?Event type int=Type
| ?Start date={{int: EMM Text Start date }}
| ?End date={{int: EMM Text End date }}
| ?Summary={{int: EMM Text Summary }}
| mainlabel=-
| default=''{{int: EMM Text None }}''
| limit=500
| format=datatables
| format=datatables
}}
}}|{{int:EMM Text No publications}}.}}
<div style="display:none;"></div>
<!--{{Event building block}}--> <!-- varEventList is set in this template -->
{{#vardefine:varEventList|{{#ask: [[Category:Event]] [[Part of::{{#var:varPaginanaam}}]] [[End date::>{{#time: r|now - 1 day}}]]
<!-- voorlopig weglaten {{EMMSkin Project sidebar|Text={{#var:varEventList}}
| ?Self=Event
|Name1={{int: EMM Text Number of researchers}}
| ?Event type int=Type
|Value1=
| ?Start date={{int: EMM Text Start date }}
{{#ask: [[Category:Contributor]] [[Research group::{{#var:varPaginanaam}}]]| format=count}}
| ?End date={{int: EMM Text End date }}
}}-->
| ?Summary={{int: EMM Text Summary }}
| link=none
| mainlabel=-
| default=''{{int: EMM Text No events planned }}''
| sort=Start date
| order=ascending
| limit=3
| searchlabel=
| format=template
<!-- | introtemplate=Event header -->
| template=Event row
<!-- | outrotemplate=Event trailer -->
}} }}
<div></div>
{{EMMSkin Project sidebar|Text={{#var:varEventList}}
<!--
|Name1={{int:EMM Text Start date}}
|Value1={{#if: {{#show: {{#var:varPageNameShow}} | ?Start date}}|{{#show: {{#var:varPageNameShow}} | ?Start date#LOCL}}}}
|Name2={{int:EMM Text End date}}
|Value2={{#if: {{#show: {{#var:varPageNameShow}} | ?End date}}|{{#show: {{#var:varPageNameShow}} | ?End date#LOCL}}}}
-->
}}
[[Category:Research Group]]
[[Category:Research Group]]
</div> <!--HideMe-->
</includeonly>
</includeonly>

Huidige versie van 19 sep 2024 om 13:15

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.