Sjabloon:Contributor: verschil tussen versies

(Nieuwe pagina aangemaakt met '<noinclude> Category:EMont core This is the "Contributor" template. It should be called in the following format: <pre> {{Contributor |Name= |Organization= }} </...')
 
 
(8 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
 
<noinclude>
 
<noinclude>
 
[[Category:EMont core]]
 
[[Category:EMont core]]
  +
[[Category:EMont core protected]]
 
This is the "Contributor" template.
 
This is the "Contributor" template.
 
It should be called in the following format:
 
It should be called in the following format:
Regel 7: Regel 8:
 
|Name=
 
|Name=
 
|Organization=
 
|Organization=
  +
|Email=
  +
|Phone=
 
}}
 
}}
 
</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>__NOEDITSECTION__<div style="display:none;">
{{#vardefine:varName|{{{Name|}}}}}
+
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
  +
{{#vardefine:varFullPaginanaam|{{FULLPAGENAME}}}}
  +
{{#if: {{{Name|}}}|{{#vardefine:varName|{{{Name|}}}}}|{{#vardefine:varName|{{#var:varPaginanaam}}}}}}
 
{{#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:Organization={{{Organization|}}}}}
 
{{#set:Organization={{{Organization|}}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
+
{{#set:Email={{{Email|}}}}}
{{#set:Model link={{#var:varPaginanaam}}}}
+
{{#set:Phone={{{Phone|}}}}}
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
+
{{#set:Model link={{#var:varFullPaginanaam}}}}
  +
{{#set:Self={{#var:varFullPaginanaam}}}} <!-- for semantic title purposes -->
 
</div>
 
</div>
 
{|
 
{|
 
<!--
 
<!--
| '''Naam'''  
+
| '''Name:'''  
 
| {{#var:varName}}
 
| {{#var:varName}}
 
|-
 
|-
 
-->
 
-->
| '''Organisatie'''  
+
| '''Organization:'''  
 
| {{{Organization|}}}
 
| {{{Organization|}}}
  +
|-
  +
| '''Email:'''
  +
| {{#if: {{{Email|}}}|[mailto:{{{Email|}}} mail me ({{{Email|}}})]}}
  +
|-
  +
| '''Phone:'''
  +
| {{{Phone|}}}
 
|}
 
|}
   
{{#ask: [[CNTR back link::{{#var:varPaginanaam}}]]
+
{{#ask: [[CNTR back link::{{#var:varFullPaginanaam}}]]
 
| ?Project=Project link
 
| ?Project=Project link
 
| ?Project ID=Project
 
| ?Project ID=Project
| ?CNTR Role=Rol
+
| ?CNTR Role=Role
 
| mainlabel=-
 
| mainlabel=-
 
| format=table
 
| format=table
 
}}
 
}}
 
+
<!--
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
'''Paginaoverzicht'''
+
'''Page overview'''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
----
 
----
Regel 47: Regel 60:
 
</div>
 
</div>
 
</div>
 
</div>
  +
-->
 
[[Category:Contributor]]
 
[[Category:Contributor]]
 
</includeonly>
 
</includeonly>

Huidige versie van 29 sep 2017 om 14:58

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

{{Contributor
|Name=
|Organization=
|Email=
|Phone=
}}

Edit the page to see the template text.