Difference between revisions of "Template:Li-tdd"

From Data JW United
Jump to navigation Jump to search
Line 12: Line 12:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! scope="col"| Type
+
! scope="col"| {{#ifeq: {{{3}}}|ro| Tip | {{#ifeq: {{{3}}}|hu| Típus |Type}}}}
! scope="col" colspan="2" | Title
+
! scope="col" colspan="2" | {{#ifeq: {{{3}}}|ro| Titlu | {{#ifeq: {{{3}}}|hu| Cím |Title}}}}
! scope="col"| Volume
+
! scope="col"| {{#ifeq: {{{3}}}|ro| Volum | {{#ifeq: {{{3}}}|hu| Kötet |Volume}}}}
! scope="col"| Nr.
+
! scope="col"| {{#ifeq: {{{3}}}|ro| Nr. | {{#ifeq: {{{3}}}|hu| Szám |Nr.}}}}
! scope="col"| Date
+
! scope="col"| {{#ifeq: {{{3}}}|ro| Data | {{#ifeq: {{{3}}}|hu| Kötet |Dátum}}}}
 
|-
 
|-
! rowspan="2"| Translated & Digitalized
+
! rowspan="2"| {{#ifeq: {{{3}}}|ro| Tradus și digitalizat | {{#ifeq: {{{3}}}|hu| Fordítás és digitalizálás |Translated & Digitalized}}}}
! Original Title
+
! {{#ifeq: {{{3}}}|ro| Titlul original | {{#ifeq: {{{3}}}|hu| Eredeti cím |Original title}}}}
! Title
+
! {{#ifeq: {{{3}}}|ro| Titlul tradus | {{#ifeq: {{{3}}}|hu| Lefordított cím |Translated title}}}}
 
| rowspan="2" | {{#invoke: LiteratureData | getVolume |{{{1}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{1}}}|}}}})
 
| rowspan="2" | {{#invoke: LiteratureData | getVolume |{{{1}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{1}}}|}}}})
 
| rowspan="2" | {{#invoke: LiteratureData | getNumber |{{{1}}}|}}
 
| rowspan="2" | {{#invoke: LiteratureData | getNumber |{{{1}}}|}}
Line 28: Line 28:
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{3}}}}}
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{3}}}}}
 
|-
 
|-
! Digitalized
+
! {{#ifeq: {{{3}}}|ro| Digitalizat | {{#ifeq: {{{3}}}|hu| Digitalizált |Digitalized}}}}
 
| colspan="2" | {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{2}}}|{{{3}}}}}
 
| colspan="2" | {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{2}}}|{{{3}}}}}
 
| {{#invoke: LiteratureData | getVolume |{{{2}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{2}}}|}}}})
 
| {{#invoke: LiteratureData | getVolume |{{{2}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{2}}}|}}}})

Revision as of 06:38, 10 November 2020

Stands for `literature item - translation & digitalization`.

Parameters

first - translated and digitalized item (Qx)
second - digitalized item (Qx)
third - in which language is translated and what language is the digitalized in (ex. hu)

Usage

The following code would generate the bellow table {{li-tdd|Q1|Q5|ro}}


Tip Titlu Volum Nr. Data
Tradus și digitalizat Titlul original Titlul tradus 50 (L) 14 01.06.1929
The Higher Powers Autoritățile superioare
Digitalizat Autoritățile superioare (partea 2) 50 (L) 12 01.05.1930