Template:ShowEntries: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
 
(34 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|}}} | {{#ask: [[Class::Entry]] [[Subject::{{{9|}}}]] [[Entry number::!{{{1|}}}]]
{{#arraymap: {{{9|}}}|,|x|{{#if: x|{{#ask: [[Class::Entry]] [[Subject::x]] [[Entry number::!{{{1|}}}]] [[Type::!Event]]
     |?Entry number
     |?Entry number
     |?People
     |?People
Line 82: Line 50:
     |?External reference
     |?External reference
     |?Modification date
     |?Modification date
     |format=plainlist
     |format=template
     |template=ShowRelatedArticles
     |template=ShowRelatedArticles
     |limit=4
     |limit=4
Line 89: 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