Regel 20: | Regel 20: | ||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;"> |
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;"> |
||
+ | {{#vardefine:varPaginanaam|{{PAGENAME}}}} |
||
{{#arraymap:{{{Context|}}}|,|@@@@|{{#set:Context=@@@@}}}} |
{{#arraymap:{{{Context|}}}|,|@@@@|{{#set:Context=@@@@}}}} |
||
{{#arraymap:{{{prefLabel|}}}|,|@@@@|{{#set:Skos:prefLabel=@@@@}}}} |
{{#arraymap:{{{prefLabel|}}}|,|@@@@|{{#set:Skos:prefLabel=@@@@}}}} |
||
Regel 30: | Regel 31: | ||
{{#arraymap:{{{narrower|}}}|,|@@@@|{{#set:Skosem:narrower=@@@@}}}} |
{{#arraymap:{{{narrower|}}}|,|@@@@|{{#set:Skosem:narrower=@@@@}}}} |
||
{{#arraymap:{{{related|}}}|,|@@@@|{{#set:Skos:related=@@@@}}}} |
{{#arraymap:{{{related|}}}|,|@@@@|{{#set:Skos:related=@@@@}}}} |
||
+ | <!-- make sure that the Skos:related property is bidirectional --> |
||
+ | {{#set:Skos:related={{#ask: [[Category:SKOS Concept]] [[Skos:related::{{#var:varPaginanaam}}]] | link=none}}|+sep=,}} |
||
{{#set:Dct:creator={{{creator|}}}}} |
{{#set:Dct:creator={{{creator|}}}}} |
||
{{#set:Semantic title|{{{prefLabel|}}}}} |
{{#set:Semantic title|{{{prefLabel|}}}}} |
||
{{#set:Heading={{{prefLabel|}}}}} |
{{#set:Heading={{{prefLabel|}}}}} |
||
{{#set:Heading nl={{{prefLabel|}}}}} |
{{#set:Heading nl={{{prefLabel|}}}}} |
||
− | |||
{{#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 --> |
This is the "SocKrt Concept" template. It should be called in the following format:
{{SocKrt Concept |Context= |prefLabel= |altLabel= |hiddenLabel= |definition= |inScheme= |subject= |broader= |narrower= |related= |creator= }}
Edit the page to see the template text.