Sjabloon:SKOS Concept: verschil tussen versies

k (1 versie geïmporteerd: Zie JIRA-issue EMT-485.)
 
(6 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 10: Regel 10:
 
|hiddenLabel=
 
|hiddenLabel=
 
|inScheme=
 
|inScheme=
  +
|subject=
 
|broader=
 
|broader=
 
|narrower=
 
|narrower=
Regel 25: Regel 26:
 
{{#arraymap:{{{altLabel|}}}|,|@@@@|{{#set:Skos:altLabel=@@@@}}}}
 
{{#arraymap:{{{altLabel|}}}|,|@@@@|{{#set:Skos:altLabel=@@@@}}}}
 
{{#arraymap:{{{hiddenLabel|}}}|,|@@@@|{{#set:Skos:hiddenLabel=@@@@}}}}
 
{{#arraymap:{{{hiddenLabel|}}}|,|@@@@|{{#set:Skos:hiddenLabel=@@@@}}}}
{{#set:Skos:definition={{{definition|}}}}}
 
 
{{#arraymap:{{{inScheme|}}}|,|@@@@|{{#set:Skos:inScheme=@@@@}}}}
 
{{#arraymap:{{{inScheme|}}}|,|@@@@|{{#set:Skos:inScheme=@@@@}}}}
 
{{#arraymap:{{{subject|}}}|,|@@@@|{{#set:Dct:subject=@@@@}}}}
 
{{#arraymap:{{{subject|}}}|,|@@@@|{{#set:Dct:subject=@@@@}}}}
Regel 35: Regel 35:
 
{{#set:Dct:creator={{{creator|}}}}}
 
{{#set:Dct:creator={{{creator|}}}}}
 
-->
 
-->
{{#set:Semantic title|{{{{{ucfirst: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|}}}}}
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
 
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
 
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
 
{{#set:Pagename={{#var:varPaginanaam}}}}
 
{{#set:Pagename={{#var:varPaginanaam}}}}
Regel 60: Regel 64:
 
! inScheme
 
! inScheme
 
| {{#arraymap:{{{inScheme|}}}|,|x|[[Skos:inScheme::x]]}}
 
| {{#arraymap:{{{inScheme|}}}|,|x|[[Skos:inScheme::x]]}}
  +
|-
  +
! subject
  +
| {{#arraymap:{{{subject|}}}|,|x|[[Dct:subject::x]]}}
 
|-
 
|-
 
! broader
 
! broader
Regel 79: Regel 86:
 
|  [[Dct: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>

Huidige versie van 10 mrt 2016 om 09:52

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.