Sjabloon:SKOS Concept: verschil tussen versies

k (1 versie geïmporteerd: Importeren dump EMont-core DeltaExpertise 4 november 2015)
Regel 19: Regel 19:
 
</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>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
|-
+
{{#arraymap:{{{Context|}}}|,|@@@@|{{#set:Context=@@@@}}}}
  +
{{#arraymap:{{{prefLabel|}}}|,|@@@@|{{#set:Skos:prefLabel=@@@@}}}}
  +
{{#arraymap:{{{altLabel|}}}|,|@@@@|{{#set:Skos:altLabel=@@@@}}}}
  +
{{#arraymap:{{{hiddenLabel|}}}|,|@@@@|{{#set:Skos:hiddenLabel=@@@@}}}}
  +
{{#set:Skos:definition={{{definition|}}}}}
  +
{{#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|}}}}}
  +
{{#set:Semantic title|{{{prefLabel|}}}}}
  +
{{#set:Heading={{{prefLabel|}}}}}
  +
{{#set:Heading nl={{{prefLabel|}}}}}
  +
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
  +
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
  +
{{#set:Pagename={{#var:varPaginanaam}}}}
  +
{{#set:Intentional Element type=SKOS Concept}}
  +
</div>
  +
{|
 
! Context
 
! Context
| {{#arraymap:{{{Context|}}}|,|y|[[Context::y]]}}
+
| {{{Context|}}}
 
|-
 
|-
 
! prefLabel
 
! prefLabel
| {{#arraymap:{{{prefLabel|}}}|,|x|[[Skos:prefLabel::x]]}}
+
| {{{prefLabel|}}}
 
|-
 
|-
 
! altLabel
 
! altLabel
| {{#arraymap:{{{altLabel|}}}|,|x|[[Skos:altLabel::x]]}}
+
| {{{altLabel|}}}
 
|-
 
|-
 
! hiddenLabel
 
! hiddenLabel
| {{#arraymap:{{{hiddenLabel|}}}|,|x|[[Skos:hiddenLabel::x]]}}
+
| {{{hiddenLabel|}}}
 
|-
 
|-
 
! inScheme
 
! inScheme
| {{#arraymap:{{{inScheme|}}}|,|x|[[Skos:inScheme::x]]}}
+
| {{{inScheme|}}}
 
|-
 
|-
 
! broader
 
! broader
| {{#arraymap:{{{broader|}}}|,|x|[[Skosem:broader::x]]}}
+
| {{{broader|}}}
 
|-
 
|-
 
! narrower
 
! narrower
| {{#arraymap:{{{narrower|}}}|,|x|[[Skosem:narrower::x]]}}
+
| {{{narrower|}}}
 
|-
 
|-
 
! partOf
 
! partOf
| {{#arraymap:{{{partOf|}}}|,|x|[[Skosem:partOf::x]]}}
+
| {{{partOf|}}}
 
|-
 
|-
 
! association
 
! association
| {{#arraymap:{{{association|}}}|,|x|[[Skosem:association::x]]}}
+
| {{{association|}}}
 
|-
 
|-
 
! related
 
! related
| {{#arraymap:{{{related|}}}|,|x|[[Skos:related::x]]}}
+
| {{{related|}}}
 
|-
 
|-
 
! creator
 
! creator
[[Dct:creator::{{{creator|}}}]]
+
|  {{{creator|}}}
 
|}
 
|}
<div style="display:none;">
 
[[Intentional Element type::SKOS Concept]]
 
</div>
 
 
[[Category:SKOS Concept]]
 
[[Category:SKOS Concept]]
 
</includeonly>
 
</includeonly>

Versie van 29 nov 2015 om 01:04

This is the "SKOS Concept" template. It should be called in the following format:

{{SKOS Concept
|Context=
|prefLabel=
|altLabel=
|hiddenLabel=
|inScheme=
|broader=
|narrower=
|partOf=
|association=
|related=
|creator=
}}

Edit the page to see the template text.