Sjabloon:Student: verschil tussen versies

 
(27 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}}
  +
{{#set:Semantic title|{{#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: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}}}}
</div><div style="display:none;">
+
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
{{#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
+
| '''Naam'''
| ?Project ID=Project(en)
+
| {{#var:varName}}
| ?Supercontext=Links naar project(en)
+
|-
| mainlabel=-
 
| format=table
 
}}
 
 
-->
 
-->
'''Naam:''' {{#var:varName}}
+
| '''Student ID'''
  +
| {{{Student ID|}}}
  +
|-
  +
| '''Opleiding'''
  +
| {{{Opleiding|}}}
  +
|}
   
 
{{#ask: [[STD back link::{{#var:varPaginanaam}}]]
 
{{#ask: [[STD back link::{{#var:varPaginanaam}}]]
Regel 44: Regel 47:
 
| format=table
 
| format=table
 
}}
 
}}
<!-- voegt op dit moment niet veel toe
+
 
  +
{{#formlink: form=Reflection
  +
| Reflection[Supercontext]={{#var:varPaginanaam}}
  +
| Reflection[Topcontext]={{#var:varPaginanaam}}
  +
| link text=Nieuwe reflectie
  +
| link type=button
  +
| preload={{#var:varReflectionPreload}} <!-- gezet in een config template -->
  +
}}
  +
 
  +
{{#ask: [[Category:Reflection]] [[Supercontext::{{PAGENAME}}]]
  +
| ?Self=Reflectie
  +
| mainlabel=-
  +
| limit=500
  +
| format=table
  +
}}
  +
<!--
  +
{{#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.