Template:ShowEntries: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
No edit summary
 
(66 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{#if: {{{23|}}} | <div class="card event">
<pre>
    <div class="entry-number">[{{{1|}}}]</div><div class="event-link">⤴</div><br>
{{ShowEntries
    <div class="people">{{#arraymap:{{{2|}}}|,|x|[[x]]}}</div>
|Entry number=
    <div class="title">{{{3|}}}</div>
|People=
    <div class="link" style="display:none;">{{{5|}}}</div>
|Title=
    <div class="date">{{#time: d.m.y | {{{23|}}} }}</div>
|Link=
    <div class="type">{{#arraymap:{{{6|}}}|,|x|[[x]]}}</div>
|Type=
    <div class="modification-date" style="display:none;>{{#time: d.m.y | {{{Modification date|}}} }}</div>
|Entity=
</div>
|Discipline=
| <div class="card" onclick="openModal('{{{1|}}}')">
|Subject=
<div class="entry-number">[{{{1|}}}]</div>
|Description=
<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>|}}
|Reflection=
<div class="link" style="display:none;">{{{5|}}}</div>{{#if: {{{23|}}}| <div class="date">{{#time: d.m.y | {{{23|}}} }}</div>|}}
|Quote=
<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|}}} |   
|Image=
|CaptionImage=
|Image2=
|CaptionImage2=
|Image3=
|CaptionImage3=
|Image4=
|CaptionImage4=
|Image5=
|CaptionImage5=
|Modification date=
}}
</pre>
 
</noinclude><includeonly>
<div class="card" onclick="openModal('{{{Entry number|}}}')">
<div class="entry-number">[{{{Entry number|}}}]</div>
<div class="people">{{{People|}}}</div>
<div class="title">{{{Title|}}}</div>
<div class="link" style="display:none;">{{{Link|}}}</div>
<div class="type">{{{Type|}}}</div>
<div class="entity" style="display:none;">{{{Entity|}}}</div>
<div class="discipline" style="display:none;">{{{Discipline|}}}</div>
<div class="subject" style="display:none;">{{{Subject|}}}</div>
{{#if: {{{Image|}}} |   
<div class="images">
<div class="images">
     {{#if: {{{Image|}}} |  <div class="image1" style="">[[File:{{{Image|}}}|400px|link=]]<div class="caption-image1" style="display:none;">{{{CaptionImage|}}}</div></div>| }}
     {{#if: {{{13|}}} |  <div class="image1" style="">[[File:{{{13|}}}|400px|link=]]<div class="caption-image1" style="display:none;">{{{14|}}}</div></div>| }}
     {{#if: {{{Image2|}}} |  <div class="image2" style="">[[File:{{{Image2|}}}|400px|link=]]<div class="caption-image2" style="display:none;">{{{CaptionImage2|}}}</div></div>| }}
     {{#if: {{{15|}}} |  <div class="image2" style="">[[File:{{{15|}}}|400px|link=]]<div class="caption-image2" style="display:none;">{{{16|}}}</div></div>| }}
     {{#if: {{{Image3|}}} |  <div class="image3" style="">[[File:{{{Image3|}}}|400px|link=]]<div class="caption-image3" style="display:none;">{{{CaptionImage3|}}}</div></div>| }}
     {{#if: {{{17|}}} |  <div class="image3" style="">[[File:{{{17|}}}|400px|link=]]<div class="caption-image3" style="display:none;">{{{18|}}}</div></div>| }}
     {{#if: {{{Image4|}}} |  <div class="image4" style="display:none;">[[File:{{{Image4|}}}|400px|link=]]<div class="caption-image4" style="display:none;">{{{CaptionImage4|}}}</div></div>| }}
     {{#if: {{{19|}}} |  <div class="image4" style="">[[File:{{{19|}}}|400px|link=]]<div class="caption-image4" style="display:none;">{{{20|}}}</div></div>| }}
     {{#if: {{{Image5|}}} |  <div class="image5" style="display:none;">[[File:{{{Image5|}}}|400px|link=]]<div class="caption-image5" style="display:none;">{{{CaptionImage5|}}}</div></div>| }}
     {{#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;">{{{Description|}}}</div>
<div class="description" style="display:none;">{{{10|}}}</div>
<div class="reflection" style="display:none;">{{{Reflection|}}}</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="quote" style="display:none;">{{{Quote|}}}</div>
<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;">
{{#if: {{{Subject|}}} | {{#ask: [[Class::Entry]] [[Subject::{{{Subject|}}}]] [[Entry number::!{{{Entry number|}}}]]
{{#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
     |format=plainlist
    |?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
     |template=ShowRelatedArticles
     |limit=4
     |limit=4
Line 64: Line 57:
     |named args=yes
     |named args=yes
     |order=random
     |order=random
}}
}}| }} }}
| }}
</div>
</div>
</div>
</div>
</includeonly>
}}</includeonly>

Latest revision as of 11:10, 27 June 2024