Difference between revisions of "Template:Li-d"
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
Stands for `literature item - translation & digitalization`. It should be used only in the content of a table. | Stands for `literature item - translation & digitalization`. It should be used only in the content of a table. | ||
= Parameters = | = Parameters = | ||
− | <code>first</code> - | + | <code>first</code> - digitalized item (Qx)<br> |
<code>second</code> - in which language is translated and what language is the digitalized in (ex. hu)<br> | <code>second</code> - in which language is translated and what language is the digitalized in (ex. hu)<br> | ||
= Usage = | = Usage = | ||
Line 13: | Line 13: | ||
! scope="col"| {{#ifeq: {{{3}}}|ro| Nr. | {{#ifeq: {{{3}}}|hu| Szám |Nr.}}}} | ! scope="col"| {{#ifeq: {{{3}}}|ro| Nr. | {{#ifeq: {{{3}}}|hu| Szám |Nr.}}}} | ||
! scope="col"| {{#ifeq: {{{3}}}|ro| Data | {{#ifeq: {{{3}}}|hu| Kötet |Dátum}}}} | ! scope="col"| {{#ifeq: {{{3}}}|ro| Data | {{#ifeq: {{{3}}}|hu| Kötet |Dátum}}}} | ||
− | {{li- | + | {{li-d|Q7|ro}} |
|} | |} | ||
</nowiki></code> | </nowiki></code> | ||
Line 23: | Line 23: | ||
! scope="col"| {{#ifeq: {{{3}}}|ro| Nr. | {{#ifeq: {{{3}}}|hu| Szám |Nr.}}}} | ! scope="col"| {{#ifeq: {{{3}}}|ro| Nr. | {{#ifeq: {{{3}}}|hu| Szám |Nr.}}}} | ||
! scope="col"| {{#ifeq: {{{3}}}|ro| Data | {{#ifeq: {{{3}}}|hu| Kötet |Dátum}}}} | ! scope="col"| {{#ifeq: {{{3}}}|ro| Data | {{#ifeq: {{{3}}}|hu| Kötet |Dátum}}}} | ||
− | {{li- | + | {{li-d|Q7|ro}} |
+ | |} | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! scope="col"| {{#ifeq: {{{3}}}|ro| Tipul materialului | {{#ifeq: {{{3}}}|hu| Típus |Type}}}} | ||
+ | ! scope="col" colspan="2" | {{#ifeq: {{{3}}}|ro| Titlu | {{#ifeq: {{{3}}}|hu| Cím |Title}}}} | ||
+ | ! scope="col"| {{#ifeq: {{{3}}}|ro| Volum | {{#ifeq: {{{3}}}|hu| Kötet |Volume}}}} | ||
+ | ! scope="col"| {{#ifeq: {{{3}}}|ro| Nr. | {{#ifeq: {{{3}}}|hu| Szám |Nr.}}}} | ||
+ | ! scope="col"| {{#ifeq: {{{3}}}|ro| Data | {{#ifeq: {{{3}}}|hu| Kötet |Dátum}}}} | ||
+ | {{li-d|q67|hu}} | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
<includeonly>|- | <includeonly>|- | ||
− | | {{#ifeq: {{{2}}}|ro| digitalizat | {{#ifeq: {{{2}}}|hu| | + | | {{#ifeq: {{{2}}}|ro| digitalizat | {{#ifeq: {{{2}}}|hu| digitalizalt |Translated & Digitalized}}}} |
| [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{2}}}}}]] | | [[{{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{2}}}}}]] | ||
− | | {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}| | + | | {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{1}}}|{{{2}}}}} |
| {{#invoke: LiteratureData | getVolume |{{{1}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{1}}}|}}}}) | | {{#invoke: LiteratureData | getVolume |{{{1}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{1}}}|}}}}) | ||
| {{#invoke: LiteratureData | getNumber |{{{1}}}|}} | | {{#invoke: LiteratureData | getNumber |{{{1}}}|}} | ||
− | | {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{1}}}| | + | | {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{1}}}|{{{2}}}}}}} |
|- style="background: #80a276;" | |- style="background: #80a276;" | ||
| style="padding: 0.5px" colspan="6" | | | style="padding: 0.5px" colspan="6" | | ||
|-|}</includeonly> | |-|}</includeonly> |
Latest revision as of 13:52, 28 June 2022
Stands for `literature item - translation & digitalization`. It should be used only in the content of a table.
Parameters
first
- 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
{| class="wikitable"
|-
! scope="col"| {{#ifeq: {{{3}}}|ro| Tipul materialului | {{#ifeq: {{{3}}}|hu| Típus |Type}}}}
! scope="col" colspan="2" | {{#ifeq: {{{3}}}|ro| Titlu | {{#ifeq: {{{3}}}|hu| Cím |Title}}}}
! scope="col"| {{#ifeq: {{{3}}}|ro| Volum | {{#ifeq: {{{3}}}|hu| Kötet |Volume}}}}
! scope="col"| {{#ifeq: {{{3}}}|ro| Nr. | {{#ifeq: {{{3}}}|hu| Szám |Nr.}}}}
! scope="col"| {{#ifeq: {{{3}}}|ro| Data | {{#ifeq: {{{3}}}|hu| Kötet |Dátum}}}}
{{li-d|Q7|ro}}
|}
Type | Title | Volume | Nr. | Dátum | |
---|---|---|---|---|---|
digitalizat | Organizație (partea 1) | Organizație (partea 1) | 25 (XXV) | 19 | Error: Invalid time. |
Type | Title | Volume | Nr. | Dátum | |
---|---|---|---|---|---|
digitalizalt | Jehova gondviselése (1. rész) | Jehova gondviselése (1. rész) | 24 (XXIV) | 10 | 01.06.1937 |