(Zie JIRA-ticket EMT-1279.)
(Zie JIRA-ticket EMT-1358.)
Regel 27: Regel 27:
{{#set:Heading nl={{#var:varName}}}}
{{#set:Heading nl={{#var:varName}}}}
{{#set:Name={{#var:varName}}}}
{{#set:Name={{#var:varName}}}}
{{#set:Imagename={{#if: {{{Imagename|}}}|{{{Imagename|}}}|Silhouette.png}}}}
{{#set:Imagename={{{Imagename|}}}}}
{{#set:Has image=File:{{#if: {{{Imagename|}}}|{{{Imagename|}}}|Silhouette.png}}}}
{{#set:Has image={{#if:{{{Imagename|}}}|File:{{{Imagename|}}}|}}}}
{{#set:Profile text={{{Profiletext|}}}}}
{{#set:Profile text={{{Profiletext|}}}}}
{{#arraymap:{{{Stakeholder|}}}|,|@@@@|{{#set:Stakeholder=@@@@}}}}
{{#arraymap:{{{Stakeholder|}}}|,|@@@@|{{#set:Stakeholder=@@@@}}}}
Regel 45: Regel 45:
<div class="formedit">{{#formlink:form={{#var:varDefaultForm}}|link text={{int: EMM Text Edit contributor }}|link type=button|target={{#var:varFullPaginanaam}}}}</div></div>
<div class="formedit">{{#formlink:form={{#var:varDefaultForm}}|link text={{int: EMM Text Edit contributor }}|link type=button|target={{#var:varFullPaginanaam}}}}</div></div>
}}
}}
[[{{#show: {{#var:varFullPaginanaam}} | ?Has image | link=none}}|300px|link=|center|thumb|{{#show: {{#var:varFullPaginanaam}} | ?Name}}]]
<div class="grid-container">
{|
<div class="grid-x grid-padding-x">
<!--
  <div class="cell  medium-3"><div class="card  card--account"><div class="card-image">{{#if:{{{Imagename|}}}|[[{{#show: {{#var:varFullPaginanaam}} | ?Has image | link=none}}|600px|link=|center|thumb|{{#show: {{#var:varFullPaginanaam}} | ?Name}}]]|}}</div></div>
! {{int: EMM Text Name }}:
</div>
| {{#var:varName}}
  <div class="cell  medium-9">{{{Profiletext|}}}</div>
|-
</div>
-->
</div>
! {{int: EMM Text Profile text }}:
{| class="metatable"
| {{{Profiletext|}}}
|-
! {{int: EMM Text Organization}}:
! {{int: EMM Text Organization}}:
| {{#show: {{#var:varFullPaginanaam}} | ?Stakeholder}}
| {{#show: {{#var:varFullPaginanaam}} | ?Stakeholder}}

Versie van 5 mrt 2020 13:53

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

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

Edit the page to see the template text.