Sjabloon:Student: verschil tussen versies

Regel 21: Regel 21:
 
{{#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 72: Regel 57:
 
== Paginaoverzicht ==
 
== Paginaoverzicht ==
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
{{#if:{{#var:varContexts}}|Afgeleide processen, situaties en rollen: <br/>
+
{{Related pages show}}
{{#arraymap: {{#var:varContexts}}|,|@@@@| [[@@@@ | {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}]] | <br/> }}<br/>
 
}}{{#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>

Versie van 14 nov 2015 om 15:39

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

{{Student
|Name=
|Student ID=
}}

Edit the page to see the template text.