Difference between revisions of "Template:Li-tdd"

From Data JW United
Jump to navigation Jump to search
Line 26: Line 26:
 
|-
 
|-
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{3}}}}}
+
| [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{3}}}}}]]
 
|-
 
|-
 
! {{#ifeq: {{{3}}}|ro| Digitalizat | {{#ifeq: {{{3}}}|hu| Digitalizált |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}}}|}}}})
 
| {{#invoke: LiteratureData | getNumber |{{{2}}}|}}
 
| {{#invoke: LiteratureData | getNumber |{{{2}}}|}}

Revision as of 05:28, 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}}


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