Difference between revisions of "Template:Concept translation"

From Multilingual Bookbinding Dictionary
Jump to navigation Jump to search
Line 6: Line 6:
 
{{#ifeq: {{{status}}}|alternate|{{#set: skos:altLabel={{{label|}}}@{{{language|?language-code?}}} }}|{{#set: skos:prefLabel={{{label|}}}@{{{language|?language-code?}}} }}}}</includeonly>
 
{{#ifeq: {{{status}}}|alternate|{{#set: skos:altLabel={{{label|}}}@{{{language|?language-code?}}} }}|{{#set: skos:prefLabel={{{label|}}}@{{{language|?language-code?}}} }}}}</includeonly>
 
{{#set:
 
{{#set:
  |Has referenced translation={{#if skos:prefLabel|skos:prefLabel[[Citation reference::{{source}}]]|}}
+
  |Has referenced translation={{#if skos:prefLabel|skos:prefLabel[[Citation reference::{{{source}}}]]|}}
 
  |template=SetParserForValueInclusion
 
  |template=SetParserForValueInclusion
 
}}
 
}}

Revision as of 15:58, 29 August 2020

For the "Skos:prefLabel" annotation, the parser was unable to determine a language code (i.e. "foo@en").