Template:ShowEntries: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
<noinclude>
<noinclude>
<pre>
<pre>
{{ShowRelatedArticles
{{ShowEntries
|Entry number=
|Entry number=
|People=
|People=
|Title=
|Title=
|Pdf=
|Link=
|Link=
|Pdf=
|Type=
|Type=
|Entity=
|Entity=
Line 30: Line 30:
</pre>
</pre>


</noinclude><includeonly>
</noinclude><includeonly>{{#if: {{{23|}}}
<div class="related-article">
| <div class="card event">
    <div class="related-article-entry-number">[{{{Entry number|}}}]</div>
<div class="entry-number">[{{{1|}}}]</div>
    <div class="related-article-people">{{#arraymap:{{{People|}}}|,|x|[[x]]}}</div>
<div class="people">{{#arraymap:{{{2|}}}|,|x|[[x]]}}</div>
    <div class="related-article-title">{{{Title|}}}</div>
<div class="title">{{{3|}}}</div>
    <div class="related-article-type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</div>
<div class="link" style="display:none;">{{{5|}}}</div>
    <div class="related-article-pdf" style="display:none;">{{{Pdf|}}}</div>
<div class="date">{{#time: d.m.y | {{{23|}}} }}</div>
    <div class="related-article-link" style="display:none;">{{{Link|}}}</div>
<div class="type">{{#arraymap:{{{6|}}}|,|x|[[x]]}}</div>
    <div class="related-article-entity" style="display:none;">{{{Entity|}}}</div>
<div class="modification-date" style="display:none;>{{#time: d.m.y | {{{Modification date|}}} }}</div>
    <div class="related-article-discipline" style="display:none;">{{{Discipline|}}}</div>
</div>
    <div class="related-article-subject" style="display:none;">{{{Subject|}}}</div>
| <div class="card" onclick="openModal('{{{1|}}}')">
    {{#if: {{{Image|}}} |  
<div class="entry-number">[{{{1|}}}]</div>
    <div class="related-article-images" style="display:none;">
<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>|}}
        {{#if: {{{Image|}}} | <div class="related-article-image1" style="">[[File:{{{Image|}}}|400px|link=]]<div class="related-article-caption-image1" style="display:none;">{{{CaptionImage|}}}</div></div>| }}
<div class="link" style="display:none;">{{{5|}}}</div>{{#if: {{{23|}}}| <div class="date">{{#time: d.m.y | {{{23|}}} }}</div>|}}
        {{#if: {{{Image2|}}} | <div class="related-article-image2" style="">[[File:{{{Image2|}}}|400px|link=]]<div class="related-article-caption-image2" style="display:none;">{{{CaptionImage2|}}}</div></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|}}} | 
        {{#if: {{{Image3|}}} |  <div class="related-article-image3" style="">[[File:{{{Image3|}}}|400px|link=]]<div class="related-article-caption-image3" style="display:none;">{{{CaptionImage3|}}}</div></div>| }}
<div class="images">
        {{#if: {{{Image4|}}} |  <div class="related-article-image4" style="display:none;">[[File:{{{Image4|}}}|400px|link=]]<div class="related-article-caption-image4" style="display:none;">{{{CaptionImage4|}}}</div></div>| }}
    {{#if: {{{13|}}} |  <div class="image1" style="">[[File:{{{13|}}}|400px|link=]]<div class="caption-image1" style="display:none;">{{{14|}}}</div></div>| }}
        {{#if: {{{Image5|}}} |  <div class="related-article-image5" style="display:none;">[[File:{{{Image5|}}}|400px|link=]]<div class="related-article-caption-image5" style="display:none;">{{{CaptionImage5|}}}</div></div>| }}
    {{#if: {{{15|}}} |  <div class="image2" style="">[[File:{{{15|}}}|400px|link=]]<div class="caption-image2" style="display:none;">{{{16|}}}</div></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>| }}
    <div class="related-article-description" style="display:none;">{{{Description|}}}</div>
     {{#if: {{{21|}}} | <div class="image5" style="">[[File:{{{21|}}}|400px|link=]]<div class="caption-image5" style="display:none;">{{{22|}}}</div></div>| }}
    <div class="related-article-reflection" style="display:none;">{{{Reflection|}}}</div>
    {{#if: {{{Quote|}}} | <div class="related-article-quote" style="display:none;">{{{Quote|}}}</div> | }}
     {{#if: {{{External reference|}}} | <div class="related-article-external-reference" style="display:none;">{{#arraymap:{{{External reference|}}}|,|x|[[x]]}}</div> | }}
    <div class="related-article-modification-date" style="display:none;">{{#time: d m y | {{{Modification date|}}} }}</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;">
{{#if: {{{9|}}} | {{#ask: [[Class::Entry]] [[Subject::{{{9|}}}]] [[Entry number::!{{{1|}}}]]
    |?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=plainlist
    |template=ShowRelatedArticles
    |limit=4
    |offset=
    |searchlabel=
    |named args=yes
    |order=random
}}
| }}
</div>
</div>
}}
</includeonly>
</includeonly>

Revision as of 16:47, 23 April 2024

{{ShowEntries
|Entry number=
|People=
|Title=
|Pdf=
|Link=
|Type=
|Entity=
|Discipline=
|Subject=
|Description=
|Reflection=
|Quote=
|Image=
|CaptionImage=
|Image2=
|CaptionImage2=
|Image3=
|CaptionImage3=
|Image4=
|CaptionImage4=
|Image5=
|CaptionImage5=
|Date=
|External reference=
|Modification date=
}}