Template:Test: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Home" template.
It should be called in the following format:
<pre>
<pre>
{{Test
{{Test}}
|Entry number=
|People=
|Title=
|Link=
|Type=
|Entity=
|Discipline=
|Subject=
|Description=
|Reflection=
|Quote=
|Image=
|CaptionImage=
|Image2=
|CaptionImage2=
|Image3=
|CaptionImage3=
|Image4=
|CaptionImage4=
|Image5=
|CaptionImage5=
|Modification date=
}}
</pre>
</pre>
 
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<div class="list-card" onclick="openModal('{{{1|}}}')">
{{#ask: [[Class::Entry]] [[Subject::Aesthetics]]
<div class="entry-number">[{{{1|}}}]</div>
|?=Entry number
<div class="people">{{#arraymap:{{{2|}}}|,|x|[[x]]}}</div>
|?People
<div class="title-images">{{#if: {{{12|}}} |<div class="images">
|?Title
            {{#if: {{{12|}}} | <div class="image1">[[File:{{{12|}}}|400px|link=]]<div class="caption-image1" style="display:none;">{{{13|}}}</div></div>|}}
|?Pdf
            {{#if: {{{14|}}} | <div class="image2">[[File:{{{14|}}}|400px|link=]]<div class="caption-image2" style="display:none;">{{{15|}}}</div></div>|}}
|?Link
            {{#if: {{{16|}}} | <div class="image3">[[File:{{{16|}}}|400px|link=]]<div class="caption-image3" style="display:none;">{{{17|}}}</div></div>|}}
|?Type
            {{#if: {{{18|}}} | <div class="image4" style="display:none;">[[File:{{{18|}}}|400px|link=]]<div class="caption-image4" style="display:none;">{{{19|}}}</div></div>|}}
|?Entity
            {{#if: {{{20|}}} | <div class="image5" style="display:none;">[[File:{{{20|}}}|400px|link=]]<div class="caption-image5" style="display:none;">{{{21|}}}</div></div>|}}</div>|}}<div class="title">{{{3|}}}</div>
|?Discipline
</div> 
|?Subject
|?Description
|?Reflection
|?Quote
|?Image
|?CaptionImage
|?Image2
|?CaptionImage2
|?Image3
|?CaptionImage3
|?Image4
|?CaptionImage4
|?Image5
|?CaptionImage5
|?Date
|?External reference
|?Modification date
|format=list


<div class="link" style="display:none;">{{{4|}}}</div>
<div class="type">{{#arraymap:{{{5|}}}|,|x|[[x]]}}</div>
<div class="entity" style="display:none;">{{{6|}}}</div>
<div class="discipline" style="display:none;">{{{7|}}}</div>
<div class="subject" style="display:none;">{{{8|}}}</div>
<div class="description" style="display:none;">{{{9|}}}</div>
<div class="reflection" style="display:none;">{{{10|}}}</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="related-articles" style="display:none;">
{{#if: {{{8|}}} | {{#ask: [[Class::Entry]] [[Subject::{{{8|}}}]] [[Entry number::!{{{1|}}}]]
    |?Entry number
    |?People
    |?Title
    |?Type
    |?Subject
    |format=plainlist
    |template=ShowRelatedArticles
    |limit=4
    |offset=
    |searchlabel=
    |named args=yes
    |order=random
}}
}}
| }}
 
</div>
 
</div>
</includeonly>
</includeonly>

Latest revision as of 16:49, 19 March 2024

This is the "Home" template. It should be called in the following format:

{{Test}}

Edit the page to see the template text.