Difference between revisions of "Template:Li-tdd"

From Data JW United
Jump to navigation Jump to search
(Created page with "<noinclude> Stands for `literature item - translation & digitalization`. {{li-tdd|0|Organization (Part 1)|Organizație (Partea 1)|59 (LIX)|11|1|June|1938}} </noinclude> <inclu...")
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Stands for `literature item - translation & digitalization`.
+
Stands for `literature item - translation & digitalization`.<br>
{{li-tdd|0|Organization (Part 1)|Organizație (Partea 1)|59 (LIX)|11|1|June|1938}}
+
= 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 <code><nowiki>{{li-tdd|Q1|Q5|ro}}</nowiki></code>
 +
{{li-tdd|Q1|Q5|ro}}
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
Line 10: Line 16:
 
! scope="col"| Volume
 
! scope="col"| Volume
 
! scope="col"| Nr.
 
! scope="col"| Nr.
! scope="col"| Day
+
! scope="col"| Date
! scope="col"| Month
 
! scope="col"| Year
 
 
|-
 
|-
 
! rowspan="2"| Translated & Digitalized
 
! rowspan="2"| Translated & Digitalized
 
! Original Title
 
! Original Title
 
! Title
 
! Title
| rowspan="2" | {{{4}}}
+
| rowspan="2" | {{#invoke: LiteratureData | getVolume |{{{1}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{1}}}|}}}})
| rowspan="2" | {{{5}}}
+
| rowspan="2" | {{#invoke: LiteratureData | getNumber |{{{1}}}|}}
| rowspan="2" | {{{6}}}
+
| rowspan="2" | {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{1}}}|en}}}}
| rowspan="2" | {{{7}}}
 
| rowspan="2" | {{{8}}}
 
 
|-
 
|-
| {{{2}}}
+
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
| {{{3}}}
+
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{3}}}}}
 
|-
 
|-
 
! Digitalized
 
! Digitalized
| colspan="2" | {{{3}}}
+
| colspan="2" | {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{2}}}|{{{3}}}}}
| {{{4}}}
+
| {{#invoke: LiteratureData | getVolume |{{{2}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{2}}}|}}}})
| {{{5}}}
+
| {{#invoke: LiteratureData | getNumber |{{{2}}}|}}
| {{{6}}}
+
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{2}}}|{{{3}}}}}}}
| {{{7}}}
 
| {{{8}}}
 
 
|}
 
|}
 
</includeonly>
 
</includeonly>

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


Type Title Volume Nr. Date
Translated & Digitalized Original Title Title 50 (L) 14 01.06.1929
The Higher Powers Autoritățile superioare
Digitalized Autoritățile superioare (partea 2) 50 (L) 12 01.05.1930