Sjabloon:SKOS Concept: verschil tussen versies

k (1 versie geïmporteerd: Importeren dump EMont-core DeltaExpertise 4 november 2015)
k (1 versie geïmporteerd: Zie JIRA-issue EMT-485.)
 
(12 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>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
<!-- these properties are set in the table below
  +
{{#arraymap:{{{Context|}}}|,|@@@@|{{#set:Context=@@@@}}}}
  +
{{#arraymap:{{{prefLabel|}}}|,|@@@@|{{#set:Skos:prefLabel=@@@@}}}}
  +
{{#arraymap:{{{altLabel|}}}|,|@@@@|{{#set:Skos:altLabel=@@@@}}}}
  +
{{#arraymap:{{{hiddenLabel|}}}|,|@@@@|{{#set:Skos:hiddenLabel=@@@@}}}}
  +
{{#arraymap:{{{inScheme|}}}|,|@@@@|{{#set:Skos:inScheme=@@@@}}}}
  +
{{#arraymap:{{{subject|}}}|,|@@@@|{{#set:Dct:subject=@@@@}}}}
  +
{{#arraymap:{{{broader|}}}|,|@@@@|{{#set:Skosem:broader=@@@@}}}}
  +
{{#arraymap:{{{narrower|}}}|,|@@@@|{{#set:Skosem:narrower=@@@@}}}}
  +
{{#arraymap:{{{partOf|}}}|,|@@@@|{{#set:Skosem:partOf=@@@@}}}}
  +
{{#arraymap:{{{association|}}}|,|@@@@|{{#set:Skosem:association=@@@@}}}}
  +
{{#arraymap:{{{related|}}}|,|@@@@|{{#set:Skos:related=@@@@}}}}
  +
{{#set:Dct:creator={{{creator|}}}}}
  +
-->
  +
{{#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 nl={{{prefLabel|}}}}}
  +
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
  +
{{#set:Pagename={{#var:varPaginanaam}}}}
  +
{{#set:Intentional Element type=SKOS Concept}}
  +
</div>
  +
== Eigenschappen ==
  +
{|
 
|-
 
|-
 
! Context
 
! Context
Regel 36: 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 55: Regel 86:
 
|  [[Dct:creator::{{{creator|}}}]]
 
|  [[Dct:creator::{{{creator|}}}]]
 
|}
 
|}
<div style="display:none;">
+
 
[[Intentional Element type::SKOS Concept]]
+
{{#ask: [[Related back link::{{#var:varPaginanaam}}]]
</div>
+
| 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.