k (Wijzigingen door Marlon (Overleg) hersteld tot de laatste versie door Hans de Bruin) |
Label: Ongedaan maken |
||
(31 tussenliggende versies door 3 gebruikers niet weergegeven) | |||
Regel 8: | Regel 8: | ||
|Name= | |Name= | ||
|Imagename= | |Imagename= | ||
| | |Profiletext= | ||
|ProfiletextEn= | |||
|Stakeholder= | |||
|Email= | |Email= | ||
|Phone= | |Phone= | ||
|Function= | |||
|Function Other= | |||
|Homepage= | |Homepage= | ||
|Research group primary= | |||
|Research group secondary= | |||
}} | }} | ||
</pre> | </pre> | ||
Regel 19: | Regel 25: | ||
{{#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 25: | Regel 32: | ||
{{#set:Heading nl={{#var:varName}}}} | {{#set:Heading nl={{#var:varName}}}} | ||
{{#set:Name={{#var:varName}}}} | {{#set:Name={{#var:varName}}}} | ||
{{#set:Imagename={{#if: {{{Imagename|}}}|{{{Imagename|}}}| | {{#set:Imagename={{{Imagename|}}}}} | ||
{{#set: | {{#set:Has image={{#if:{{{Imagename|}}}|File:{{{Imagename|}}}|}}}} | ||
{{# | {{#set:Imagefullurl={{#replace:{{filepath:{{{Imagename|}}}}}|http://localhost|https://projectenportfolio.nl}}}} | ||
{{#set:Profile text={{{Profiletext|}}}}} | |||
{{#set:Profile text en={{{ProfiletextEn|}}}}} | |||
{{#arraymap:{{{Stakeholder|}}}|,|@@@@|{{#set:Stakeholder=@@@@}}}} | |||
{{#set:Email={{{Email|}}}}} | {{#set:Email={{{Email|}}}}} | ||
{{#set:Phone={{{Phone|}}}}} | {{#set:Phone={{{Phone|}}}}} | ||
{{#set:Function={{{Function|}}}}} | |||
<!--{{#if:{{{Function|}}}|{{{Function|}}}|{{{Function Other|}}}}}--> | |||
{{#set:Homepage={{{Homepage|}}}}} | {{#set:Homepage={{{Homepage|}}}}} | ||
{{#arraymap:{{{Research group|}}}|,|@@@@|{{#set:Research group=@@@@}}}} | {{#arraymap:{{{Research group primary|}}}|,|@@@@|{{#set:Research group primary=@@@@}}}} | ||
{{#arraymap:{{{Research group secondary|}}}|,|@@@@|{{#set:Research group secondary=@@@@}}}} | |||
{{#arraymap:{{{Research group secondary|}}},{{{Research group primary|}}}|,|@@@@|{{#set:Research group=@@@@}}}} | |||
{{#set:Show VE button=true}} | {{#set:Show VE button=true}} | ||
{{#set:Show title={{#if: {{{Show title|}}}|{{{Show title|}}}|true}}}} | |||
{{#set:Model link={{#var:varFullPaginanaam}}}} | {{#set:Model link={{#var:varFullPaginanaam}}}} | ||
{{#set:Part_of=Deelnemers}} | |||
{{#set:Self={{#var:varFullPaginanaam}}}} <!-- for semantic title purposes --> | {{#set:Self={{#var:varFullPaginanaam}}}} <!-- for semantic title purposes --> | ||
</div> | </div> | ||
{{#ifeq:{{{Show title|Ja}}}|Nee||<h1 id="firstHeading" class="firstHeading page-title">{{#var:varName}}</h1>}} | |||
{{#if:{{CURRENTLOGGEDUSER}}| | {{#if:{{CURRENTLOGGEDUSER}}| | ||
<div style="text-align: right"> | <div style="text-align: right"> | ||
Regel 41: | Regel 58: | ||
<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}} | <div class=""> | ||
<div class="row row--wide"> | |||
< | <div class="col col-m-3"><div class="card card--profile"><div class="card-image">{{#if:{{{Imagename|}}}|[[{{#show: {{#var:varFullPaginanaam}} | ?Has image | link=none}}|link=|800px|center|{{#show: {{#var:varFullPaginanaam}} | ?Name}}]]|}}</div></div></div> | ||
<div class="col col-m-9">{{#ifeq:{{#var:varLanguage}}|en|{{{ProfiletextEn|}}}|{{{Profiletext|}}}}}</div> | |||
| {{ | </div> | ||
</div> | |||
{| class="metatable" | |||
! {{int: EMM Text Organization }}: | ! {{int: EMM Text Organization}}: | ||
| {{{ | | {{#show: {{#var:varFullPaginanaam}} | ?Stakeholder}} | ||
|- | |- | ||
! {{int: EMM Text Email }}: | ! {{int: EMM Text Email }}: | ||
| {{#if: {{{Email|}}}|[mailto:{{{Email|}}} | | {{#if: {{{Email|}}}|[mailto:{{{Email|}}} {{{Email|}}}]}} | ||
|- | |- | ||
! {{int: EMM Text Phone }}: | ! {{int: EMM Text Phone }}: | ||
| {{{Phone|}}} | | {{{Phone|}}} | ||
|- | |- | ||
<!-- ! {{int: EMM Text Function}}: | |||
| {{#if: {{{Function|}}}|{{int:{{{Function|}}}}}|}} | |||
|- | |||
--> | |||
! {{int: EMM Text Homepage }}: | ! {{int: EMM Text Homepage }}: | ||
| {{#if: {{{Homepage|}}}|[[{{{Homepage|}}}]]}} | | {{#if: {{{Homepage|}}}|[[{{{Homepage|}}}]]}} | ||
|- --> | |||
! {{int: EMM Text Research group Primary}}: | |||
| {{#show: {{#var:varFullPaginanaam}} | ?Research group primary}} | |||
|- | |- | ||
! {{int: EMM Text | ! {{int: EMM Text Research group Secondary}}: | ||
| {{#show: {{#var:varFullPaginanaam}} | ?Research group}} | | {{#show: {{#var:varFullPaginanaam}} | ?Research group secondary}} | ||
|} | |} | ||
== {{int: EMM Text Projects }} == | == {{int: EMM Text Projects }} == | ||
{{#ask: [[CNTR back link::{{#var:varFullPaginanaam}}]] | {{#ask: [[CNTR back link::{{#var:varFullPaginanaam}}]] | ||
| ?Project=Project | | ?Project=Project | ||
Regel 72: | Regel 94: | ||
| mainlabel=- | | mainlabel=- | ||
| format=datatables | | format=datatables | ||
| default={{int: EMM Text Project No projects}} | |||
}} | }} | ||
[[Category:Contributor]] | [[Category:Contributor]] | ||
</div> <!-- hide me --> | </div> <!-- hide me --> | ||
</includeonly> | </includeonly> |
Huidige versie van 15 okt 2024 om 17:04
This is the "Contributor" template. It should be called in the following format:
{{Contributor |Name= |Imagename= |Profiletext= |ProfiletextEn= |Stakeholder= |Email= |Phone= |Function= |Function Other= |Homepage= |Research group primary= |Research group secondary= }}
Edit the page to see the template text.