Template:ShowEntries: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(91 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 class="card | |||
<div class="entry-number">[{{{ | |||
<div class=" | |||
<div class=" | |||
<div class=" | |||
<div class=" | |||
<div class=" | |||
<div class=" | |||
<div class="modification-date" style="display:none;>{{#time: d m y | {{{Modification date|}}} }}</div> | |||
</div> | </div> | ||
</includeonly> | | <div class="card" onclick="openModal('{{{1|}}}')"> | ||
<div class="entry-number">[{{{1|}}}]</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="link" style="display:none;">{{{5|}}}</div>{{#if: {{{23|}}}| <div class="date">{{#time: d.m.y | {{{23|}}} }}</div>|}} | |||
<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="images"> | |||
{{#if: {{{13|}}} | <div class="image1" style="">[[File:{{{13|}}}|400px|link=]]<div class="caption-image1" style="display:none;">{{{14|}}}</div></div>| }} | |||
{{#if: {{{15|}}} | <div class="image2" style="">[[File:{{{15|}}}|400px|link=]]<div class="caption-image2" style="display:none;">{{{16|}}}</div></div>| }} | |||
{{#if: {{{17|}}} | <div class="image3" style="">[[File:{{{17|}}}|400px|link=]]<div class="caption-image3" style="display:none;">{{{18|}}}</div></div>| }} | |||
{{#if: {{{19|}}} | <div class="image4" style="">[[File:{{{19|}}}|400px|link=]]<div class="caption-image4" style="display:none;">{{{20|}}}</div></div>| }} | |||
{{#if: {{{21|}}} | <div class="image5" style="">[[File:{{{21|}}}|400px|link=]]<div class="caption-image5" style="display:none;">{{{22|}}}</div></div>| }} | |||
</div> | |||
| }} | |||
<div class="description" style="display:none;">{{{10|}}}</div> | |||
<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> | |||
<div class="related-articles" style="display:none;"> | |||
{{#arraymap: {{{9|}}}|,|x|{{#if: x|{{#ask: [[Class::Entry]] [[Subject::x]] [[Entry number::!{{{1|}}}]] [[Type::!Event]] | |||
|?Entry number | |||
|?People | |||
|?Title | |||
|?Type | |||
|?Subject | |||
|?Pdf | |||
|?Link | |||
|?Entity | |||
|?Discipline | |||
|?Description | |||
|?Reflection | |||
|?Quote | |||
|?Image | |||
|?CaptionImage | |||
|?Image2 | |||
|?CaptionImage2 | |||
|?Image3 | |||
|?CaptionImage3 | |||
|?Image4 | |||
|?CaptionImage4 | |||
|?Image5 | |||
|?CaptionImage5 | |||
|?Date | |||
|?External reference | |||
|?Modification date | |||
|format=template | |||
|template=ShowRelatedArticles | |||
|limit=4 | |||
|offset= | |||
|searchlabel= | |||
|named args=yes | |||
|order=random | |||
}}| }} }} | |||
</div> | |||
</div> | |||
}}</includeonly> |