|
|||
(5 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 51: | Regel 51: | ||
It works when rendered in a template, as in the follwing query |
It works when rendered in a template, as in the follwing query |
||
--> |
--> |
||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#ask: [[{{#var:varModel}}]] |
{{#ask: [[{{#var:varModel}}]] |
||
| ?Skos:definition= |
| ?Skos:definition= |
||
Regel 63: | Regel 58: | ||
}} |
}} |
||
{{#widget:EM3DNavigator}} |
{{#widget:EM3DNavigator}} |
||
+ | <br> |
||
<!-- use this construct to create links without the " VN" part |
<!-- use this construct to create links without the " VN" part |
||
{{#arraymap: ''query (met link=none)'' |,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
{{#arraymap: ''query (met link=none)'' |,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
||
Regel 83: | Regel 79: | ||
'''Context:''' {{#show: {{#var:varPageName}} | ?Context}} |
'''Context:''' {{#show: {{#var:varPageName}} | ?Context}} |
||
{{#vardefine:varBroader|{{#show: {{#var:varPageName}} | ?Skosem:broader}}}}{{#if: {{#var:varBroader}} | <br />'''Overkoepelend:''' {{#var:varBroader}} }}{{#vardefine:varNarrower|{{#show: {{#var:varPageName}} | ?Skosem:narrower}}}}{{#if: {{#var:varNarrower}} | <br />'''Specifiek:''' {{#var:varNarrower}} }}{{#vardefine:varPartOf|{{#show: {{#var:varPageName}} | ?Skosem:partOf}}}}{{#if: {{#var:varPartOf}} | <br />'''Onderdeel van:''' {{#var:varPartOf}} }}{{#vardefine:varHasPart|{{#ask: [[Category:SKOS Concept VN]][[Skosem:partOf::{{#var:varPageName}}]]}}}}{{#if: {{#var:varHasPart}} | <br />'''Onderdelen:''' {{#var:varHasPart}} }}{{#vardefine:varRelated|{{#show: {{#var:varPageName}} | ?Skos:related}}}}{{#if: {{#var:varRelated}} | <br />'''Verwant:''' {{#var:varRelated}} }} |
{{#vardefine:varBroader|{{#show: {{#var:varPageName}} | ?Skosem:broader}}}}{{#if: {{#var:varBroader}} | <br />'''Overkoepelend:''' {{#var:varBroader}} }}{{#vardefine:varNarrower|{{#show: {{#var:varPageName}} | ?Skosem:narrower}}}}{{#if: {{#var:varNarrower}} | <br />'''Specifiek:''' {{#var:varNarrower}} }}{{#vardefine:varPartOf|{{#show: {{#var:varPageName}} | ?Skosem:partOf}}}}{{#if: {{#var:varPartOf}} | <br />'''Onderdeel van:''' {{#var:varPartOf}} }}{{#vardefine:varHasPart|{{#ask: [[Category:SKOS Concept VN]][[Skosem:partOf::{{#var:varPageName}}]]}}}}{{#if: {{#var:varHasPart}} | <br />'''Onderdelen:''' {{#var:varHasPart}} }}{{#vardefine:varRelated|{{#show: {{#var:varPageName}} | ?Skos:related}}}}{{#if: {{#var:varRelated}} | <br />'''Verwant:''' {{#var:varRelated}} }} |
||
+ | |||
+ | {{#ifeq: {{#ask: [[Category:Context VN]] [[Concerns::{{#var:varPageName}} | format=count]]}} |0|| |
||
+ | '''Betreft:''' <br /> |
||
+ | {{#ask: [[Category:Context VN]] [[Concerns::{{#var:varPageName}}]] |
||
+ | | format=datatables |
||
+ | }} |
||
+ | }} <!-- end ifeq --> |
||
<!-- |
<!-- |
||
{{Beeldmateriaal show|Page name={{#var:varModel}}}} |
{{Beeldmateriaal show|Page name={{#var:varModel}}}} |
||
Regel 97: | Regel 100: | ||
}} |
}} |
||
}} |
}} |
||
+ | <br> |
||
</includeonly> |
</includeonly> |
This is the "SKOS Concept show" template. It should be called in the following format:
{{SKOS Concept VN show |Page name= |Heading= }}
Edit the page to see the template text.