Template:ShowRelatedArticles: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|Title=
|Title=
|Link=
|Link=
|Pdf=
|Type=
|Type=
|Entity=
|Entity=
Line 23: Line 24:
|Image5=
|Image5=
|CaptionImage5=
|CaptionImage5=
|Date=
|External reference=
|Modification date=
|Modification date=
}}
}}
Line 33: Line 36:
     <div class="related-article-title">{{{Title|}}}</div>
     <div class="related-article-title">{{{Title|}}}</div>
     <div class="related-article-type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</div>
     <div class="related-article-type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</div>
    <div class="related-article-pdf" style="display:none;">{{{Pdf|}}}</div>
     <div class="related-article-link" style="display:none;">{{{Link|}}}</div>
     <div class="related-article-link" style="display:none;">{{{Link|}}}</div>
     <div class="related-article-entity" style="display:none;">{{{Entity|}}}</div>
     <div class="related-article-entity" style="display:none;">{{{Entity|}}}</div>
Line 38: Line 42:
     <div class="related-article-subject" style="display:none;">{{{Subject|}}}</div>
     <div class="related-article-subject" style="display:none;">{{{Subject|}}}</div>
     {{#if: {{{Image|}}} |   
     {{#if: {{{Image|}}} |   
<div class="related-article-images" style="display:none;>
<div class="related-article-images" style="display:none;">
     {{#if: {{{Image|}}} |  <div class="related-article-image1" style="">[[File:{{{Image|}}}|400px|link=]]<div class="related-article-caption-image1" style="display:none;">{{{CaptionImage|}}}</div></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>| }}
     {{#if: {{{Image2|}}} |  <div class="related-article-image2" style="">[[File:{{{Image2|}}}|400px|link=]]<div class="related-article-caption-image2" style="display:none;">{{{CaptionImage2|}}}</div></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>| }}
Line 48: Line 52:
<div class="related-article-description" style="display:none;">{{{Description|}}}</div>
<div class="related-article-description" style="display:none;">{{{Description|}}}</div>
<div class="related-article-reflection" style="display:none;">{{{Reflection|}}}</div>
<div class="related-article-reflection" style="display:none;">{{{Reflection|}}}</div>
<div class="related-article-quote" style="display:none;">{{{Quote|}}}</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 class="related-article-modification-date" style="display:none;>{{#time: d m y | {{{Modification date|}}} }}</div>
<div class="related-article-related-articles" style="display:none;">
{{#if: {{{Subject|}}} | {{#ask: [[Class::Entry]] [[Subject::{{{Subject|}}}]] [[Entry number::!{{{Entry number|}}}]]
    |?Entry number
    |?People
    |?Title
    |?Type
    |?Subject
    |?Link
    |?Entity
    |?Discipline
    |?Description
    |?Reflection
    |?Quote
    |?Image
    |?CaptionImage
    |?Image2
    |?CaptionImage2
    |?Image3
    |?CaptionImage3
    |?Image4
    |?CaptionImage4
    |?Image5
    |?CaptionImage5
    |?Modification date
    |format=plainlist
    |template=ShowRelatedArticles
    |limit=4
    |offset=
    |searchlabel=
    |named args=yes
    |order=random
}}
| }}
</div>
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 16:55, 23 April 2024

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