Sjabloon:Student: verschil tussen versies

 
(20 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 "Student" template.
 
This is the "Student" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
 
{{Student
 
{{Student
  +
|Supercontext=
 
|Name=
 
|Name=
 
|Student ID=
 
|Student ID=
  +
|Opleiding=
 
}}
 
}}
 
</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;">
  +
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
 
{{#vardefine:varName|{{{Name|}}}}}
 
{{#vardefine:varName|{{{Name|}}}}}
 
{{#set:Context type=Role}}
 
{{#set:Context type=Role}}
Regel 18: Regel 22:
 
{{#set:Name={{#var:varName}}}}
 
{{#set:Name={{#var:varName}}}}
 
{{#set:Student ID={{{Student ID|}}}}}
 
{{#set:Student ID={{{Student ID|}}}}}
  +
{{#set:Opleiding={{{Opleiding|}}}}}
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
 
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
 
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
</div><div style="display:none;">
 
{{#vardefine:varContexts|{{#ask: [[Category:Context]] [[Supercontext::{{#var:varPaginanaam}}]] | link=none}} }}
 
{{#vardefine:varSupercontexts|{{#show: {{#var:varPaginanaam}} | ?Supercontext | link=none }}}}
 
{{#vardefine:varParts|{{#ask: [[Category:Intentional Element]] [[Part of::{{#var:varPaginanaam}}]] | link=none}} }}
 
{{#vardefine:varParent|{{#show: {{#var:varPaginanaam}} | ?Part of | link=none }}}}
 
{{#vardefine:varReferredBy|{{#ask: [[Element link::{{#var:varPaginanaam}}]] [[Element link type::Refers]] | link=none}} }}
 
 
</div>
 
</div>
<!-- obsolete
 
{{#ask: [[{{PAGENAME}}]] [[category:Student]]
 
| ?Name=Naam
 
| ?Project ID=Project(en)
 
| ?Supercontext=Links naar project(en)
 
| mainlabel=-
 
| format=table
 
}}
 
-->
 
 
{|
 
{|
 
<!--
 
<!--
Regel 45: Regel 35:
 
| '''Student ID'''
 
| '''Student ID'''
 
| {{{Student ID|}}}
 
| {{{Student ID|}}}
  +
|-
  +
| '''Opleiding'''
  +
| {{{Opleiding|}}}
 
|}
 
|}
   
Regel 57: Regel 50:
 
{{#formlink: form=Reflection
 
{{#formlink: form=Reflection
 
| Reflection[Supercontext]={{#var:varPaginanaam}}
 
| Reflection[Supercontext]={{#var:varPaginanaam}}
| Reflection[Topcontext]={{{Topcontext|}}}
+
| Reflection[Topcontext]={{#var:varPaginanaam}}
| link text=Creëer een reflectie
+
| link text=Nieuwe reflectie
 
| link type=button
 
| link type=button
  +
| preload={{#var:varReflectionPreload}} <!-- gezet in een config template -->
 
}}
 
}}
   
Regel 68: Regel 62:
 
| format=table
 
| format=table
 
}}
 
}}
<!-- voegt op dit moment niet veel toe
+
<!--
  +
{{#ask: [[Element back link::<q>[[Category:Reflection]] [[Supercontext::{{PAGENAME}}]]</q>]] [[Element link type::Refers]]
  +
| ?Element back link=Reflectie pagina
  +
| ?Element link=Refereert naar
  +
| mainlabel=-
  +
| limit=500
  +
| format=table
  +
}}
  +
-->
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
== Paginaoverzicht ==
+
'''Paginaoverzicht'''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
{{#if:{{#var:varContexts}}|Afgeleide processen, situaties en rollen: <br/>
+
----
{{#arraymap: {{#var:varContexts}}|,|@@@@| [[@@@@ | {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
+
{{Related pages show}}
}}{{#if:{{#var:varSupercontexts}}|Onderdeel van: <br/>
 
{{#arraymap: {{#var:varSupercontexts}}|,|@@@@| [[ @@@@ | {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
 
}}{{#if:{{#var:varParts}}|Bestaat uit: <br/>
 
{{#arraymap: {{#var:varParts}}|,|@@@@| [[@@@@ | {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
 
}}{{#if:{{#var:varReferredBy}}|Gerefereerd door: <br/>
 
{{#arraymap: {{#var:varReferredBy}}|,|@@@@| [[{{#show: @@@@ | ?Element back link | link=none}} | {{#show: {{#show: {{#show: @@@@ | ?Element back link | link=none}} | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
 
}}
 
{{#if:{{#var:varParent}}|Onderdeel van: <br/>
 
{{#arraymap: {{#var:varParent}}|,|@@@@| [[@@@@ | {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
 
}}
 
 
</div>
 
</div>
 
</div>
 
</div>
-->
 
 
[[Category:Student]]
 
[[Category:Student]]
 
</includeonly>
 
</includeonly>

Huidige versie van 12 jan 2017 om 15:06

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

{{Student
|Supercontext=
|Name=
|Student ID=
|Opleiding=
}}

Edit the page to see the template text.