Template:ShowEntries: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(48 intermediate revisions by the same user 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>
|Pdf=
    <div class="type">{{#arraymap:{{{6|}}}|,|x|[[x]]}}</div>
|Link=
    <div class="modification-date" style="display:none;>{{#time: d.m.y | {{{Modification date|}}} }}</div>
|Type=
|Entity=
|Discipline=
|Subject=
|Description=
|Reflection=
|Quote=
|Image=
|CaptionImage=
|Image2=
|CaptionImage2=
|Image3=
|CaptionImage3=
|Image4=
|CaptionImage4=
|Image5=
|CaptionImage5=
|Date=
|External reference=
|Modification date=
}}
</pre>
 
</noinclude><includeonly>{{#if: {{{23|}}}  
| <div class="card event">
<div class="entry-number">[{{{1|}}}]</div>
<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>
| <div class="card" onclick="openModal('{{{1|}}}')">
| <div class="card" onclick="openModal('{{{1|}}}')">
Line 56: Line 24:
<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="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;">
<div class="related-articles" style="display:none;">
{{#if: {{{9|}}}
{{#arraymap: {{{9|}}}|,|x|{{#if: x|{{#ask: [[Class::Entry]] [[Subject::x]] [[Entry number::!{{{1|}}}]] [[Type::!Event]]
| {{#arraymap: {{{9|}}}
     |?Entry number
  |,|x|
     |?People
    {{#ask: [[Class::Entry]] [[Subject::x]] [[Entry number::!{{{1|}}}]]
     |?Title
     | ?Entry number
     |?Type
     | ?People
     |?Subject
     | ?Title
     |?Pdf
     | ?Type
     |?Link
     | ?Subject
     |?Entity
     | ?Pdf
     |?Discipline
     | ?Link
     |?Description
     | ?Entity
     |?Reflection
     | ?Discipline
     |?Quote
     | ?Description
     |?Image
     | ?Reflection
     |?CaptionImage
     | ?Quote
     |?Image2
     | ?Image
     |?CaptionImage2
     | ?CaptionImage
     |?Image3
     | ?Image2
     |?CaptionImage3
     | ?CaptionImage2
     |?Image4
     | ?Image3
     |?CaptionImage4
     | ?CaptionImage3
     |?Image5
     | ?Image4
     |?CaptionImage5
     | ?CaptionImage4
     |?Date
     | ?Image5
     |?External reference
     | ?CaptionImage5
     |?Modification date
     | ?Date
     |format=template
     | ?External reference
     |template=ShowRelatedArticles
     | ?Modification date
     |limit=4
     | format=plainlist
     |offset=
     | template=ShowRelatedArticles
     |searchlabel=
     | limit=4
     |named args=yes
     | offset=
     |order=random
     | searchlabel=
}}| }} }}
     | named args=yes
     | order=random
    }}
}}
| }}
</div>
</div>
</div>
</div>
}}
}}</includeonly>
</includeonly>

Latest revision as of 11:10, 27 June 2024