Difference between revisions of "Template:Concept translation"

From Multilingual Bookbinding Dictionary
Jump to navigation Jump to search
Line 11: Line 11:
 
-->{{#if: {{{subsource|}}}| {{#set: Has referenced translation={{{label|}}}@{{{language|?language-code?}}};{{{subsubsource|}}} }}|}}<!--
 
-->{{#if: {{{subsource|}}}| {{#set: Has referenced translation={{{label|}}}@{{{language|?language-code?}}};{{{subsubsource|}}} }}|}}<!--
 
-->
 
-->
 +
{{#ifeq: {{{status|}}}|alternate|
 
{{#subobject:  
 
{{#subobject:  
 
  |Language code={{{language|}}}|+sep=;
 
  |Language code={{{language|}}}|+sep=;
 
  |Citation key={{{source|}}};{{{subsource|}}}|+sep=;
 
  |Citation key={{{source|}}};{{{subsource|}}}|+sep=;
 
  |Citation reference={{{source|}}};{{{subsource|}}}|+sep=;
 
  |Citation reference={{{source|}}};{{{subsource|}}}|+sep=;
  |skos:altLabel={{#ifeq: {{{status|}}}|alternate|{{#set: skos:altLabel={{{label|}}}@{{{language|?language-code?}}} }}|}}
+
  |skos:altLabel={{{label|}}}@{{{language|?language-code?}}}
|skos:prefLabel={{#ifeq: {{{status|}}}|preferred|{{#set: skos:prefLabel={{{label|}}}@{{{language|?language-code?}}} }}|}}
 
 
  |Sense={{{definition|}}}|+sep=;
 
  |Sense={{{definition|}}}|+sep=;
 
  |skos:scopeNote={{{notes|}}}
 
  |skos:scopeNote={{{notes|}}}
}}
+
}}|
 +
{{#subobject:
 +
|Language code={{{language|}}}|+sep=;
 +
|Citation key={{{source|}}};{{{subsource|}}}|+sep=;
 +
|Citation reference={{{source|}}};{{{subsource|}}}|+sep=;
 +
|skos:prefLabel={{{label|}}}@{{{language|?language-code?}}}
 +
|Sense={{{definition|}}}|+sep=;
 +
|skos:scopeNote={{{notes|}}}
 +
}} }}
 
</includeonly>
 
</includeonly>

Revision as of 18:37, 1 September 2020