k (1 versie geïmporteerd: Zie JIRA-issue EMT-485.)
|
|||
(11 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 10: | Regel 10: | ||
|hiddenLabel= |
|hiddenLabel= |
||
|inScheme= |
|inScheme= |
||
+ | |subject= |
||
|broader= |
|broader= |
||
|narrower= |
|narrower= |
||
Regel 19: | Regel 20: | ||
</pre> |
</pre> |
||
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;"> |
||
+ | <!-- these properties are set in the table below |
||
{{#arraymap:{{{Context|}}}|,|@@@@|{{#set:Context=@@@@}}}} |
{{#arraymap:{{{Context|}}}|,|@@@@|{{#set:Context=@@@@}}}} |
||
{{#arraymap:{{{prefLabel|}}}|,|@@@@|{{#set:Skos:prefLabel=@@@@}}}} |
{{#arraymap:{{{prefLabel|}}}|,|@@@@|{{#set:Skos:prefLabel=@@@@}}}} |
||
{{#arraymap:{{{altLabel|}}}|,|@@@@|{{#set:Skos:altLabel=@@@@}}}} |
{{#arraymap:{{{altLabel|}}}|,|@@@@|{{#set:Skos:altLabel=@@@@}}}} |
||
{{#arraymap:{{{hiddenLabel|}}}|,|@@@@|{{#set:Skos:hiddenLabel=@@@@}}}} |
{{#arraymap:{{{hiddenLabel|}}}|,|@@@@|{{#set:Skos:hiddenLabel=@@@@}}}} |
||
− | |||
{{#arraymap:{{{inScheme|}}}|,|@@@@|{{#set:Skos:inScheme=@@@@}}}} |
{{#arraymap:{{{inScheme|}}}|,|@@@@|{{#set:Skos:inScheme=@@@@}}}} |
||
{{#arraymap:{{{subject|}}}|,|@@@@|{{#set:Dct:subject=@@@@}}}} |
{{#arraymap:{{{subject|}}}|,|@@@@|{{#set:Dct:subject=@@@@}}}} |
||
Regel 34: | Regel 34: | ||
{{#arraymap:{{{related|}}}|,|@@@@|{{#set:Skos:related=@@@@}}}} |
{{#arraymap:{{{related|}}}|,|@@@@|{{#set:Skos:related=@@@@}}}} |
||
{{#set:Dct:creator={{{creator|}}}}} |
{{#set:Dct:creator={{{creator|}}}}} |
||
− | {{#set:Semantic title|{{{prefLabel|}}}}} |
+ | --> |
+ | {{#vardefine:varPaginanaam|{{PAGENAME}}}} |
||
+ | |||
+ | <!-- make sure that the Skos:related property is bidirectional --> |
||
+ | {{#set:Skos:related={{#ask: [[Category:SKOS Concept]] [[Skos:related::{{#var:varPaginanaam}}]] | link=none}}|+sep=,}} |
||
+ | |||
+ | {{#set:Semantic title|{{ucfirst:{{{prefLabel|}}}}}}} |
||
{{#set:Heading={{{prefLabel|}}}}} |
{{#set:Heading={{{prefLabel|}}}}} |
||
{{#set:Heading nl={{{prefLabel|}}}}} |
{{#set:Heading nl={{{prefLabel|}}}}} |
||
− | |||
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes --> |
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes --> |
||
{{#set:Pagename={{#var:varPaginanaam}}}} |
{{#set:Pagename={{#var:varPaginanaam}}}} |
||
{{#set:Intentional Element type=SKOS Concept}} |
{{#set:Intentional Element type=SKOS Concept}} |
||
</div> |
</div> |
||
+ | == Eigenschappen == |
||
{| |
{| |
||
+ | |- |
||
! Context |
! Context |
||
− | | {{{Context|}}} |
+ | | {{#arraymap:{{{Context|}}}|,|y|[[Context::y]]}} |
|- |
|- |
||
! prefLabel |
! prefLabel |
||
− | | {{{prefLabel|}}} |
+ | | {{#arraymap:{{{prefLabel|}}}|,|x|[[Skos:prefLabel::x]]}} |
|- |
|- |
||
! altLabel |
! altLabel |
||
− | | {{{altLabel|}}} |
+ | | {{#arraymap:{{{altLabel|}}}|,|x|[[Skos:altLabel::x]]}} |
|- |
|- |
||
! hiddenLabel |
! hiddenLabel |
||
− | | {{{hiddenLabel|}}} |
+ | | {{#arraymap:{{{hiddenLabel|}}}|,|x|[[Skos:hiddenLabel::x]]}} |
|- |
|- |
||
! inScheme |
! inScheme |
||
− | | {{{inScheme|}}} |
+ | | {{#arraymap:{{{inScheme|}}}|,|x|[[Skos:inScheme::x]]}}
|
+ | |- |
||
+ | ! subject |
||
+ |
| {{#arraymap:{{{subject|}}}|,|x|[[Dct:subject::x]]}} |
||
|- |
|- |
||
! broader |
! broader |
||
− | | {{{broader|}}} |
+ | | {{#arraymap:{{{broader|}}}|,|x|[[Skosem:broader::x]]}} |
|- |
|- |
||
! narrower |
! narrower |
||
− | | {{{narrower|}}} |
+ | | {{#arraymap:{{{narrower|}}}|,|x|[[Skosem:narrower::x]]}} |
|- |
|- |
||
! partOf |
! partOf |
||
− | | {{{partOf|}}} |
+ | | {{#arraymap:{{{partOf|}}}|,|x|[[Skosem:partOf::x]]}} |
|- |
|- |
||
! association |
! association |
||
− | | {{{association|}}} |
+ | | {{#arraymap:{{{association|}}}|,|x|[[Skosem:association::x]]}} |
|- |
|- |
||
! related |
! related |
||
− | | {{{related|}}} |
+ | | {{#arraymap:{{{related|}}}|,|x|[[Skos:related::x]]}} |
|- |
|- |
||
! creator |
! creator |
||
− | | {{{creator|}}} |
+ | | [[Dct:creator::{{{creator|}}}]]
|
|} |
|} |
||
+ | |||
+ | {{#ask: [[Related back link::{{#var:varPaginanaam}}]] |
||
+ | | mainlabel=- |
||
+ | | ?Skos:related=related |
||
+ | | ?Name=name |
||
+ | | format=table |
||
+ | }} |
||
+ | {{SKOS Concept VN query}} |
||
+ | |||
[[Category:SKOS Concept]] |
[[Category:SKOS Concept]] |
||
</includeonly> |
</includeonly> |
This is the "SKOS Concept" template. It should be called in the following format:
{{SKOS Concept |Context= |prefLabel= |altLabel= |hiddenLabel= |inScheme= |subject= |broader= |narrower= |partOf= |association= |related= |creator= }}
Edit the page to see the template text.