Difference between revisions of "Template:Li-td"

From Data JW United
Jump to navigation Jump to search
Line 10: Line 10:
 
<includeonly>|-
 
<includeonly>|-
 
! {{#ifeq: {{{2}}}|ro| Tradus și digitalizat | {{#ifeq: {{{2}}}|hu| Fordítás és digitalizálás |Translated & Digitalized}}}}
 
! {{#ifeq: {{{2}}}|ro| Tradus și digitalizat | {{#ifeq: {{{2}}}|hu| Fordítás és digitalizálás |Translated & Digitalized}}}}
 +
| [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{2}}}}}]]
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
| [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{2}}}}}]]
 
 
| {{#invoke: LiteratureData | getVolume |{{{1}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{1}}}|}}}})
 
| {{#invoke: LiteratureData | getVolume |{{{1}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{1}}}|}}}})
 
| {{#invoke: LiteratureData | getNumber |{{{1}}}|}}
 
| {{#invoke: LiteratureData | getNumber |{{{1}}}|}}
 
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{1}}}|en}}}}
 
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{1}}}|en}}}}
 
|-|}</includeonly>
 
|-|}</includeonly>

Revision as of 07:09, 11 November 2020

Stands for `literature item - translation & digitalization`.

Parameters

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

Usage

The following code would generate the bellow table {{li-td|Q7|ro}}

|- ! Tradus și digitalizat | Organizație (partea 1) | Organization (Part 1) | 25 (XXV) | 19 | 01.06.1938 |-|}