Difference between revisions of "Template:Li-tdd"

From Data JW United
Jump to navigation Jump to search
Line 11: Line 11:
 
<includeonly>{| class="wikitable"
 
<includeonly>{| class="wikitable"
 
|-
 
|-
! scope="col"| {{#ifeq: {{{3}}}|ro| Tip | {{#ifeq: {{{3}}}|hu| Típus |Type}}}}
+
! scope="col"| {{#ifeq: {{{3}}}|ro| Tipul materialului | {{#ifeq: {{{3}}}|hu| Típus |Type}}}}
 
! scope="col" colspan="2" | {{#ifeq: {{{3}}}|ro| Titlu | {{#ifeq: {{{3}}}|hu| Cím |Title}}}}
 
! scope="col" colspan="2" | {{#ifeq: {{{3}}}|ro| Titlu | {{#ifeq: {{{3}}}|hu| Cím |Title}}}}
 
! scope="col"| {{#ifeq: {{{3}}}|ro| Volum | {{#ifeq: {{{3}}}|hu| Kötet |Volume}}}}
 
! scope="col"| {{#ifeq: {{{3}}}|ro| Volum | {{#ifeq: {{{3}}}|hu| Kötet |Volume}}}}
Line 17: Line 17:
 
! scope="col"| {{#ifeq: {{{3}}}|ro| Data | {{#ifeq: {{{3}}}|hu| Kötet |Dátum}}}}
 
! scope="col"| {{#ifeq: {{{3}}}|ro| Data | {{#ifeq: {{{3}}}|hu| Kötet |Dátum}}}}
 
|-
 
|-
! rowspan="2"| {{#ifeq: {{{3}}}|ro| Tradus și digitalizat | {{#ifeq: {{{3}}}|hu| Fordítás és digitalizálás |Translated & Digitalized}}}}
+
! {{#ifeq: {{{3}}}|ro| Tradus și digitalizat | {{#ifeq: {{{3}}}|hu| Fordítás és digitalizálás |Translated & Digitalized}}}}
! {{#ifeq: {{{3}}}|ro| Titlul original | {{#ifeq: {{{3}}}|hu| Eredeti cím |Original 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 | getNumber |{{{1}}}|}}
 
| rowspan="2" | {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{1}}}|en}}}}
 
|-
 
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
 
| [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{3}}}}}]]
 
| [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{3}}}}}]]
 +
| {{#invoke: LiteratureData | getVolume |{{{1}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{1}}}|}}}})
 +
| {{#invoke: LiteratureData | getNumber |{{{1}}}|}}
 +
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{1}}}|en}}}}
 
|-
 
|-
 
! {{#ifeq: {{{3}}}|ro| Digitalizat | {{#ifeq: {{{3}}}|hu| Digitalizált |Digitalized}}}}
 
! {{#ifeq: {{{3}}}|ro| Digitalizat | {{#ifeq: {{{3}}}|hu| Digitalizált |Digitalized}}}}

Revision as of 06:42, 11 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}}

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