Template:ShowEntries: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 2: Line 2:
<pre>
<pre>
{{ShowEntries
{{ShowEntries
|Entry number=
|Entry number=1
|People=
|People=2
|Title=
|Title=3
|Link=
|Link=4
|Type=
|Type=5
|Entity=
|Entity=6
|Discipline=
|Discipline=7
|Subject=
|Subject=8
|Description=
|Description=9
|Reflection=
|Reflection=10
|Quote=
|Quote=11
|Image=
|Image=12
|CaptionImage=
|CaptionImage=13
|Image2=
|Image2=14
|CaptionImage2=
|CaptionImage2=15
|Image3=
|Image3=16
|CaptionImage3=
|CaptionImage3=17
|Image4=
|Image4=18
|CaptionImage4=
|CaptionImage4=19
|Image5=
|Image5=20
|CaptionImage5=
|CaptionImage5=21
|Modification date=
|Modification date=22
}}
}}
</pre>
</pre>


</noinclude><includeonly>
</noinclude><includeonly>
<div class="card" onclick="openModal('{{{Entry number|}}}')">
<div class="card" onclick="openModal('{{{1|}}}')">
<div class="entry-number">[{{{Entry number|}}}]</div>
<div class="entry-number">[{{{1|}}}]</div>
<div class="people">{{#arraymap:{{{People|}}}|,|x|[[x]]}}</div>
<div class="people">{{#arraymap:{{{2|}}}|,|x|[[x]]}}</div>
<div class="title">{{{Title|}}}</div>
<div class="title">{{{3|}}}</div>
<div class="link" style="display:none;">{{{Link|}}}</div>
<div class="link" style="display:none;">{{{4|}}}</div>
<div class="type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</div>
<div class="type">{{#arraymap:{{{5|}}}|,|x|[[x]]}}</div>
<div class="entity" style="display:none;">{{{Entity|}}}</div>
<div class="entity" style="display:none;">{{{6|}}}</div>
<div class="discipline" style="display:none;">{{{Discipline|}}}</div>
<div class="discipline" style="display:none;">{{{7|}}}</div>
<div class="subject" style="display:none;">{{{Subject|}}}</div>
<div class="subject" style="display:none;">{{{8|}}}</div>
{{#if: {{{Image|}}} |   
{{#if: {{{12|}}} |   
<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: {{{12|}}} |  <div class="image1" style="">[[File:{{{12|}}}|400px|link=]]<div class="caption-image1" style="display:none;">{{{13|}}}</div></div>| }}
     {{#if: {{{Image2|}}} |  <div class="image2" style="">[[File:{{{Image2|}}}|400px|link=]]<div class="caption-image2" style="display:none;">{{{CaptionImage2|}}}</div></div>| }}
     {{#if: {{{14|}}} |  <div class="image2" style="">[[File:{{{14|}}}|400px|link=]]<div class="caption-image2" style="display:none;">{{{15|}}}</div></div>| }}
     {{#if: {{{Image3|}}} |  <div class="image3" style="">[[File:{{{Image3|}}}|400px|link=]]<div class="caption-image3" style="display:none;">{{{CaptionImage3|}}}</div></div>| }}
     {{#if: {{{16|}}} |  <div class="image3" style="">[[File:{{{16|}}}|400px|link=]]<div class="caption-image3" style="display:none;">{{{17|}}}</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: {{{18|}}} |  <div class="image4" style="display:none;">[[File:{{{18|}}}|400px|link=]]<div class="caption-image4" style="display:none;">{{{19|}}}</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: {{{20|}}} |  <div class="image5" style="display:none;">[[File:{{{20|}}}|400px|link=]]<div class="caption-image5" style="display:none;">{{{21|}}}</div></div>| }}
</div>
</div>
| }}
| }}
<div class="description" style="display:none;">{{{Description|}}}</div>
<div class="description" style="display:none;">{{{9|}}}</div>
<div class="reflection" style="display:none;">{{{Reflection|}}}</div>
<div class="reflection" style="display:none;">{{{10|}}}</div>
<div class="quote" style="display:none;">{{{Quote|}}}</div>
<div class="quote" style="display:none;">{{{11|}}}</div>
<div class="modification-date" style="display:none;>{{#time: d m y | {{{Modification date|}}} }}</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|}}}]]
{{#if: {{{8|}}} | {{#ask: [[Class::Entry]] [[Subject::{{{8|}}}]] [[Entry number::!{{{1|}}}]]
     |?Entry number
     |?Entry number
     |?People
     |?People

Revision as of 12:25, 20 January 2024

{{ShowEntries
|Entry number=1
|People=2
|Title=3
|Link=4
|Type=5
|Entity=6
|Discipline=7
|Subject=8
|Description=9
|Reflection=10
|Quote=11
|Image=12
|CaptionImage=13
|Image2=14
|CaptionImage2=15
|Image3=16
|CaptionImage3=17
|Image4=18
|CaptionImage4=19
|Image5=20
|CaptionImage5=21
|Modification date=22
}}