k (1 versie geïmporteerd: Zie JIRA-issues EMT-389 en EMT-521)
Geen bewerkingssamenvatting
Regel 13: Regel 13:
{{#vardefine:varPageName|{{#if: {{{Page name|}}}| {{{Page name}}} | {{PAGENAME}} }} }}
{{#vardefine:varPageName|{{#if: {{{Page name|}}}| {{{Page name}}} | {{PAGENAME}} }} }}
{{#vardefine:varModel|{{#show: {{#var:varPageName}} | ?Model link | link=none | default={{#var:varPageName}} }} }}
{{#vardefine:varModel|{{#show: {{#var:varPageName}} | ?Model link | link=none | default={{#var:varPageName}} }} }}
{{#vardefine:varPrefLabel|{{ucfirst:{{#show: {{#var:varModel}} | ?prefLabel}} }} }}
{{#vardefine:varHeadingNL|{{#show: {{#var:varModel}} | ?Heading nl}} }}
{{#vardefine:varHeading|{{#show: {{#var:varModel}} | ?Heading}} }}
{{#vardefine:varSemanticTitle|{{#show: {{#var:varModel}} | ?Semantic title}} }}
{{#vardefine:varHeading|{{#if: {{#var:varHeading}} | {{#var:varHeading}} | {{{Heading|}}} }} }}
{{#set:Semantic title|{{#var:varSemanticTitle}}}}
{{#set:prefLabel|{{#var:varPrefLabel}}}}
{{#set:Heading nl|{{#var:varHeadingNL}}}}
{{#set:Self={{PAGENAME}}}}
{{DISPLAYTITLE:{{#var:varHeading}}}}
{{#set:Heading={{#show:{{#var:varHeading}}}}}}
<!-- make sure that the Skos:properties narrower and hasPart are bidirectional -->
{{#set:Skosem:narrower={{#ask: [[Category:SKOS Concept VN]] [[Skos:broader::{{#var:varPageName}}]] | link=none}}|+sep=,}}
{{#set:Skosem:hasPart={{#ask: [[Category:SKOS Concept VN]] [[Skosem:partOf::{{#var:varPageName}}]] | link=none}}|+sep=,}}
{{#set:Heading={{{Heading|}}}}}
{{#set:Heading={{{Heading|}}}}}
</div>
</div>

Versie van 13 jan 2017 12:33

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

{{SKOS Concept VN show
|Page name=
|Heading=
}}

Edit the page to see the template text.