Difference between revisions of "Template:Li-tdd"

From Data JW United
Jump to navigation Jump to search
Line 21: Line 21:
 
| {{#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}}}|}}
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{2}}}|{{{3}}}}}}}</includeonly>
+
| {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{2}}}|{{{3}}}}}}}|- style="background: #80a276;"
 +
| style="padding: 1px" colspan="6" |</includeonly>

Revision as of 09:03, 12 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}}

|- | 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: 1px" colspan="6" |