Template:ShowEntries: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(56 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly>{{#if: {{{23|}}} | <div class="card event"> | ||
< | <div class="entry-number">[{{{1|}}}]</div><div class="event-link">⤴</div><br> | ||
{{ | <div class="people">{{#arraymap:{{{2|}}}|,|x|[[x]]}}</div> | ||
| | <div class="title">{{{3|}}}</div> | ||
<div class="link" style="display:none;">{{{5|}}}</div> | |||
| | <div class="date">{{#time: d.m.y | {{{23|}}} }}</div> | ||
| | <div class="type">{{#arraymap:{{{6|}}}|,|x|[[x]]}}</div> | ||
| | <div class="modification-date" style="display:none;>{{#time: d.m.y | {{{Modification date|}}} }}</div> | ||
| | </div> | ||
| <div class="card" onclick="openModal('{{{1|}}}')"> | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|Modification date | |||
}} | |||
</ | |||
</ | |||
<div class="card" onclick="openModal('{{{1|}}}')"> | |||
<div class="entry-number">[{{{1|}}}]</div> | <div class="entry-number">[{{{1|}}}]</div> | ||
<div class="people">{{#arraymap:{{{2|}}}|,|x|[[x]]}}</div> | <div class="people">{{#arraymap:{{{2|}}}|,|x|[[x]]}}</div>{{#if: {{{3|}}}|<div class="title">{{{3|}}}</div>|}}{{#if: {{{4|}}}|<div class="pdf" style="display:none;">{{{4|}}}</div>|}} | ||
<div class="title">{{{3|}}}</div> | <div class="link" style="display:none;">{{{5|}}}</div>{{#if: {{{23|}}}| <div class="date">{{#time: d.m.y | {{{23|}}} }}</div>|}} | ||
<div class="link" style="display:none;">{{{ | <div class="type">{{#arraymap:{{{6|}}}|,|x|[[x]]}}</div>{{#if: {{{7|}}}|<div class="entity" style="display:none;">{{{7|}}}</div>|}}{{#if: {{{8|}}}|<div class="discipline" style="display:none;">{{{8|}}}</div>|}}{{#if: {{{9|}}}|<div class="subject" style="display:none;">{{#arraymap:{{{9|}}}|,|x|[[x]]}}</div>|}}{{#if: {{{13|}}} | | ||
<div class="type">{{#arraymap:{{{ | |||
<div class="entity" style="display:none;">{{{ | |||
<div class="discipline" style="display:none;">{{{ | |||
<div class="subject" style="display:none;">{{{ | |||
{{#if: {{{ | |||
<div class="images"> | <div class="images"> | ||
{{#if: {{{ | {{#if: {{{13|}}} | <div class="image1" style="">[[File:{{{13|}}}|400px|link=]]<div class="caption-image1" style="display:none;">{{{14|}}}</div></div>| }} | ||
{{#if: {{{ | {{#if: {{{15|}}} | <div class="image2" style="">[[File:{{{15|}}}|400px|link=]]<div class="caption-image2" style="display:none;">{{{16|}}}</div></div>| }} | ||
{{#if: {{{ | {{#if: {{{17|}}} | <div class="image3" style="">[[File:{{{17|}}}|400px|link=]]<div class="caption-image3" style="display:none;">{{{18|}}}</div></div>| }} | ||
{{#if: {{{ | {{#if: {{{19|}}} | <div class="image4" style="">[[File:{{{19|}}}|400px|link=]]<div class="caption-image4" style="display:none;">{{{20|}}}</div></div>| }} | ||
{{#if: {{{ | {{#if: {{{21|}}} | <div class="image5" style="">[[File:{{{21|}}}|400px|link=]]<div class="caption-image5" style="display:none;">{{{22|}}}</div></div>| }} | ||
</div> | </div> | ||
| }} | | }} | ||
<div class="description" style="display:none;">{{{ | <div class="description" style="display:none;">{{{10|}}}</div> | ||
<div class="reflection" style="display:none;">{{{ | <div class="reflection" style="display:none;">{{{11|}}}</div>{{#if: {{{12|}}} | <div class="quote" style="display:none;">“{{{12|}}}”</div> | }}{{#if: {{{24|}}} | <div class="external-reference" style="display:none;">{{#arraymap:{{{24|}}}|,|x|x}}</div> | }}<div class="modification-date" style="display:none;>{{#time: d.m.y | {{{Modification date|}}} }}</div> | ||
{{#if: {{{ | |||
<div class="modification-date" style="display:none;>{{#time: d m y | {{{Modification date|}}} }}</div> | |||
<div class="related-articles" style="display:none;"> | <div class="related-articles" style="display:none;"> | ||
{{# | {{#arraymap: {{{9|}}}|,|x|{{#if: x|{{#ask: [[Class::Entry]] [[Subject::x]] [[Entry number::!{{{1|}}}]] [[Type::!Event]] | ||
|?Entry number | |?Entry number | ||
|?People | |?People | ||
Line 57: | Line 30: | ||
|?Type | |?Type | ||
|?Subject | |?Subject | ||
|?Pdf | |||
|?Link | |?Link | ||
|?Entity | |?Entity | ||
Line 73: | Line 47: | ||
|?Image5 | |?Image5 | ||
|?CaptionImage5 | |?CaptionImage5 | ||
|?Date | |||
|?External reference | |||
|?Modification date | |?Modification date | ||
|format= | |format=template | ||
|template=ShowRelatedArticles | |template=ShowRelatedArticles | ||
|limit=4 | |limit=4 | ||
Line 81: | Line 57: | ||
|named args=yes | |named args=yes | ||
|order=random | |order=random | ||
}} | }}| }} }} | ||
| }} | |||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | }}</includeonly> |