Geen bewerkingssamenvatting |
k (1 versie geïmporteerd: Zie Jira-task KP-222.) |
||
(10 tussenliggende versies door 3 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 83: | Regel 78: | ||
'''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 99: | ||
}} | }} | ||
}} | }} | ||
<br> | |||
</includeonly> | </includeonly> |
Huidige versie van 15 okt 2024 om 16:11
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.