Sjabloon:Reflection: verschil tussen versies

Regel 23: Regel 23:
 
{{#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>
 
<!--
 
<!--
Regel 33: Regel 39:
 
|}
 
|}
 
-->
 
-->
  +
{{#if:{{#var:varContexts}}|Afgeleide processen, situaties en rollen: <br/>
  +
{{#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/>
  +
}}
 
[[Category:Reflection]]
 
[[Category:Reflection]]
 
</includeonly>
 
</includeonly>

Versie van 14 nov 2015 om 11:25

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

{{Reflection
|Supercontext=
|Topcontext=
|Title=
}}

Edit the page to see the template text.