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...")
 
 
(15 intermediate revisions by the same user not shown)
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 =
 +
<code>first</code> - translated and digitalized item (Qx)<br>
 +
<code>second</code> - digitalized item (Qx)<br>
 +
<code>third</code> - 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>|-
{| class="wikitable"
+
| {{#ifeq: {{{3}}}|ro| Tradus și digitalizat | {{#ifeq: {{{3}}}|hu| Forditott es digitalizalt |Translated & Digitalized}}}}
 +
| [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{3}}}}}]]
 +
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
 +
| {{#invoke: LiteratureData | getVolume |{{{1}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{1}}}|}}}})
 +
| {{#invoke: LiteratureData | getNumber |{{{1}}}|}}
 +
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{1}}}|en}}}}
 
|-
 
|-
! scope="col"| Type
+
| {{#ifeq: {{{3}}}|ro| Digitalizat | {{#ifeq: {{{3}}}|hu| Digitalizalt |Digitalized}}}}
! scope="col" colspan="2" | Title
+
| colspan="2" | [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{2}}}|{{{3}}}}}]]
! scope="col"| Volume
+
| {{#invoke: LiteratureData | getVolume |{{{2}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{2}}}|}}}})
! scope="col"| Nr.
+
| {{#invoke: LiteratureData | getNumber |{{{2}}}|}}
! scope="col"| Day
+
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{2}}}|{{{3}}}}}}}
! scope="col"| Month
+
|- style="background: #80a276;"
! scope="col"| Year
+
| style="padding: 0.5px" colspan="6" |</includeonly>
|-
 
! rowspan="2"| Translated & Digitalized
 
! Original Title
 
! Title
 
| rowspan="2" | {{{4}}}
 
| rowspan="2" | {{{5}}}
 
| rowspan="2" | {{{6}}}
 
| rowspan="2" | {{{7}}}
 
| rowspan="2" | {{{8}}}
 
|-
 
| {{{2}}}
 
| {{{3}}}
 
|-
 
! Digitalized
 
| colspan="2" | {{{3}}}
 
| {{{4}}}
 
| {{{5}}}
 
| {{{6}}}
 
| {{{7}}}
 
| {{{8}}}
 
|}
 
</includeonly>
 

Latest revision as of 13:31, 28 June 2022

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}}

|- | Tradus și digitalizat | Autoritățile superioare | The Higher Powers | 50 (L) | 14 | 01.06.1929 |- | Digitalizat | colspan="2" | Autoritățile superioare (partea 2) | 50 (L) | 12 | 01.05.1930 |- style="background: #80a276;" | style="padding: 0.5px" colspan="6" |