Difference between revisions of "Template:Li-td"

From Data JW United
Jump to navigation Jump to search
Line 8: Line 8:
 
{{li-td|Q7|ro}}
 
{{li-td|Q7|ro}}
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{| class="wikitable"
{| class="wikitable"
 
 
|-
 
|-
 
! scope="col"| {{#ifeq: {{{2}}}|ro| Tip | {{#ifeq: {{{2}}}|hu| Típus |Type}}}}
 
! scope="col"| {{#ifeq: {{{2}}}|ro| Tip | {{#ifeq: {{{2}}}|hu| Típus |Type}}}}
Line 26: Line 25:
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
 
| {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|en}}
 
| [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{2}}}}}]]
 
| [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{2}}}}}]]
|}
+
|}</includeonly>
</includeonly>
 

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

Tip Titlu Volum Nr. Data
Tradus și digitalizat Titlul original Titlul tradus 25 (XXV) 19 01.06.1938
Organization (Part 1) Organizație (partea 1)