Difference between revisions of "Template:Translation"

From Multilingual Bookbinding Dictionary
Jump to: navigation, search
(Created page with "<noinclude> This is the "Translation" template. It should be called in the following format: <pre> {{Translation |Language= |Term= |Source= |Scope note= |Example= |Definition=...")
 
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Translation
 
{{Translation
|Language=
+
|Preferred label=
|Term=
+
|Alternative label=
|Source=
 
|Scope note=
 
|Example=
 
 
|Definition=
 
|Definition=
 +
|Note=
 +
|From published source=
 +
|From other source=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>{| class="wikitable"
 
</noinclude><includeonly>{| class="wikitable"
! Language
+
! Preferred label
| [[Dc:language::{{{Language|}}}]]
+
| [[Label::{{{Preferred label|}}}]]
 
|-
 
|-
! Term
+
! Alternative label
| [[Skos:Label::{{{Term|}}}]]
+
| [[AltLabel::{{{Alternative label|}}}]]
 
|-
 
|-
! Source
+
! Definition
| [[Source::{{{Source|}}}]]
+
| [[Definition::{{{Definition|}}}]]
 
|-
 
|-
! Scope note
+
! Note
| [[Skos:scopeNote::{{{Scope note|}}}]]
+
| [[Note::{{{Note|}}}]]
 
|-
 
|-
! Example of use
+
! From published source
| [[Skos:example::{{{Example|}}}]]
+
| {{#arraymap:{{{From published source|}}}|,|x|[[TranslationSource::x]]}}
|-
+
 
! Definition
 
| [[Skos:definition::{{{Definition|}}}]]
 
 
|-
 
|-
!  
+
! From other source
| {{#ask:[[Translation::{{SUBJECTPAGENAME}}]]|format=list}}
+
| [[OtherSource::{{{From other source|}}}]]
 
|}
 
|}
 +
 +
[[Category:Translated terms]]
 
</includeonly>
 
</includeonly>

Revision as of 11:04, 21 November 2019

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

{{Translation
|Preferred label=
|Alternative label=
|Definition=
|Note=
|From published source=
|From other source=
}}

Edit the page to see the template text.