Geen bewerkingssamenvatting |
Label: Ongedaan maken |
||
(75 tussenliggende versies door 4 gebruikers niet weergegeven) | |||
Regel 7: | Regel 7: | ||
{{Contributor | {{Contributor | ||
|Name= | |Name= | ||
| | |Imagename= | ||
|Profiletext= | |||
|ProfiletextEn= | |||
|Stakeholder= | |||
|Email= | |Email= | ||
|Phone= | |Phone= | ||
|Function= | |||
|Function Other= | |||
|Homepage= | |||
|Research group primary= | |||
|Research group secondary= | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>__NOEDITSECTION__<div style="display:none;"> | </noinclude><includeonly><div class="emm-hide-me-inside-ve">__NOEDITSECTION__<div style="display:none;"> | ||
{{#vardefine:varName|{{{Name|}}}}} | {{#vardefine:varPaginanaam|{{PAGENAME}}}} | ||
{{#vardefine:varFullPaginanaam|{{FULLPAGENAME}}}} | |||
{{#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}}}} | ||
{{DISPLAYTITLE:{{#var:varName}}}} | |||
{{#set:Heading={{#var:varName}}}} | {{#set:Heading={{#var:varName}}}} | ||
{{#set:Heading nl={{#var:varName}}}} | {{#set:Heading nl={{#var:varName}}}} | ||
{{#set:Name={{#var:varName}}}} | {{#set:Name={{#var:varName}}}} | ||
{{#set: | {{#set:Imagename={{{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 en={{{ProfiletextEn|}}}}} | |||
{{#arraymap:{{{Stakeholder|}}}|,|@@@@|{{#set:Stakeholder=@@@@}}}} | |||
{{#set:Email={{{Email|}}}}} | {{#set:Email={{{Email|}}}}} | ||
{{#set:Phone={{{Phone|}}}}} | {{#set:Phone={{{Phone|}}}}} | ||
{{# | {{#set:Function={{{Function|}}}}} | ||
{{#set:Model link={{#var: | <!--{{#if:{{{Function|}}}|{{{Function|}}}|{{{Function Other|}}}}}--> | ||
{{#set:Self={{#var: | {{#set:Homepage={{{Homepage|}}}}} | ||
{{#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 title={{#if: {{{Show title|}}}|{{{Show title|}}}|true}}}} | |||
{{#set:Model link={{#var:varFullPaginanaam}}}} | |||
{{#set:Part_of=Deelnemers}} | |||
{{#set:Self={{#var:varFullPaginanaam}}}} <!-- for semantic title purposes --> | |||
</div> | |||
{{#ifeq:{{{Show title|Ja}}}|Nee||<h1 id="firstHeading" class="firstHeading page-title">{{#var:varName}}</h1>}} | |||
{{#if:{{CURRENTLOGGEDUSER}}| | |||
<div style="text-align: right"> | |||
---- | |||
<div class="formedit">{{#formlink:form={{#var:varDefaultForm}}|link text={{int: EMM Text Edit contributor }}|link type=button|target={{#var:varFullPaginanaam}}}}</div></div> | |||
}} | |||
<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> | </div> | ||
{| | {| class="metatable" | ||
! {{int: EMM Text Organization}}: | |||
| | | {{#show: {{#var:varFullPaginanaam}} | ?Stakeholder}} | ||
| {{# | |- | ||
! {{int: EMM Text Email }}: | |||
| {{#if: {{{Email|}}}|[mailto:{{{Email|}}} {{{Email|}}}]}} | |||
|- | |||
! {{int: EMM Text Phone }}: | |||
| {{{Phone|}}} | |||
|- | |||
<!-- ! {{int: EMM Text Function}}: | |||
| {{#if: {{{Function|}}}|{{int:{{{Function|}}}}}|}} | |||
|- | |- | ||
--> | --> | ||
! {{int: EMM Text Homepage }}: | |||
| {{#if: {{{Homepage|}}}|[[{{{Homepage|}}}]]}} | |||
|- --> | |||
! {{int: EMM Text Research group Primary}}: | |||
| {{#if: {{{ | | {{#show: {{#var:varFullPaginanaam}} | ?Research group primary}} | ||
|- | |- | ||
! {{int: EMM Text Research group Secondary}}: | |||
| {{{ | | {{#show: {{#var:varFullPaginanaam}} | ?Research group secondary}} | ||
|} | |} | ||
== {{int: EMM Text Projects }} == | |||
{{#ask: [[CNTR back link::{{#var: | {{#ask: [[CNTR back link::{{#var:varFullPaginanaam}}]] | ||
| ?Project=Project | | ?Project=Project | ||
| ?Project ID=Project | <!-- | ?Project ID=Project --> | ||
| ?CNTR Role= | | ?CNTR Role int={{int: EMM Text Role }} | ||
| mainlabel=- | | mainlabel=- | ||
| format= | | format=datatables | ||
| default={{int: EMM Text Project No projects}} | |||
}} | }} | ||
[[Category:Contributor]] | [[Category:Contributor]] | ||
</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.