Difference between revisions of "Template:Li-tdd"

From Data JW United
Jump to navigation Jump to search
Line 9: Line 9:
 
{{li-tdd|Q1|Q5|ro}}
 
{{li-tdd|Q1|Q5|ro}}
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{| class="wikitable"
{| class="wikitable"
 
 
|-
 
|-
 
! scope="col"| {{#ifeq: {{{3}}}|ro| Tip | {{#ifeq: {{{3}}}|hu| Típus |Type}}}}
 
! scope="col"| {{#ifeq: {{{3}}}|ro| Tip | {{#ifeq: {{{3}}}|hu| Típus |Type}}}}
Line 33: Line 32:
 
| {{#invoke: LiteratureData | getNumber |{{{2}}}|}}
 
| {{#invoke: LiteratureData | getNumber |{{{2}}}|}}
 
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{2}}}|{{{3}}}}}}}
 
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{2}}}|{{{3}}}}}}}
|}
+
|}</includeonly>
</includeonly>
 

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