(Zie JIRA-ticket EMT-1563.)
(Zie JIRA-ticket EMT-1925.)
Regel 9: Regel 9:
|Imagename=
|Imagename=
|Profiletext=
|Profiletext=
|ProfiletextEn=
|Stakeholder=
|Stakeholder=
|Email=
|Email=
Regel 22: Regel 23:
{{#vardefine:varFullPaginanaam|{{FULLPAGENAME}}}}
{{#vardefine:varFullPaginanaam|{{FULLPAGENAME}}}}
{{#vardefine:varName|{{#if: {{{Name|}}}|{{{Name|}}}|{{#var:varPaginanaam}}}}}}
{{#vardefine:varName|{{#if: {{{Name|}}}|{{{Name|}}}|{{#var:varPaginanaam}}}}}}
{{#vardefine:varLanguage|{{#emmlang:}}}}
{{#set:Context type=Role}}
{{#set:Context type=Role}}
{{#set:Semantic title|{{#var:varName}}}}
{{#set:Semantic title|{{#var:varName}}}}
Regel 30: Regel 32:
{{#set:Imagename={{{Imagename|}}}}}
{{#set:Imagename={{{Imagename|}}}}}
{{#set:Has image={{#if:{{{Imagename|}}}|File:{{{Imagename|}}}|}}}}
{{#set:Has image={{#if:{{{Imagename|}}}|File:{{{Imagename|}}}|}}}}
{{#set:Imagefullurl={{#replace:{{filepath:{{{Imagename|}}}}}|http://localhost|https://projectenportfolio.nl}}}}
{{#set:Profile text={{{Profiletext|}}}}}
{{#set:Profile text={{{Profiletext|}}}}}
{{#set:Profile text en={{{ProfiletextEn|}}}}}
{{#arraymap:{{{Stakeholder|}}}|,|@@@@|{{#set:Stakeholder=@@@@}}}}
{{#arraymap:{{{Stakeholder|}}}|,|@@@@|{{#set:Stakeholder=@@@@}}}}
{{#set:Email={{{Email|}}}}}
{{#set:Email={{{Email|}}}}}
Regel 38: Regel 42:
{{#arraymap:{{{Research group secondary|}}}|,|@@@@|{{#set:Research group secondary=@@@@}}}}
{{#arraymap:{{{Research group secondary|}}}|,|@@@@|{{#set:Research group secondary=@@@@}}}}
{{#arraymap:{{{Research group secondary|}}},{{{Research group primary|}}}|,|@@@@|{{#set:Research group=@@@@}}}}
{{#arraymap:{{{Research group secondary|}}},{{{Research group primary|}}}|,|@@@@|{{#set:Research group=@@@@}}}}
{{#set:Show VE button=true}}
{{#set:Show VE button=false}}
{{#set:Model link={{#var:varFullPaginanaam}}}}
{{#set:Model link={{#var:varFullPaginanaam}}}}
{{#set:Part_of=Deelnemers}}
{{#set:Part_of=Deelnemers}}
Regel 51: Regel 55:
<div class="grid-x grid-padding-x">
<div class="grid-x grid-padding-x">
   <div class="cell  medium-3"><div class="card card--profile"><div class="card-image">{{#if:{{{Imagename|}}}|[[{{#show: {{#var:varFullPaginanaam}} | ?Has image | link=none}}|link=|900px|center|{{#show: {{#var:varFullPaginanaam}} | ?Name}}]]|}}</div></div></div>
   <div class="cell  medium-3"><div class="card card--profile"><div class="card-image">{{#if:{{{Imagename|}}}|[[{{#show: {{#var:varFullPaginanaam}} | ?Has image | link=none}}|link=|900px|center|{{#show: {{#var:varFullPaginanaam}} | ?Name}}]]|}}</div></div></div>
   <div class="cell  medium-9">{{{Profiletext|}}}</div>
   <div class="cell  medium-9">{{#ifeq:{{#var:varLanguage}}|en|{{{ProfiletextEn|}}}|{{{Profiletext|}}}}}</div>
</div>
</div>
</div>
</div>

Versie van 3 sep 2021 12:12

This is the "Contributor" template. It should be called in the following format:

{{Contributor
|Name=
|Imagename=
|Profiletext=
|ProfiletextEn=
|Stakeholder=
|Email=
|Phone=
|Homepage=
|Research group primary=
|Research group secondary=
}}

Edit the page to see the template text.