|
|
(15 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
| | This is the "Home" template. |
| | It should be called in the following format: |
| <pre> | | <pre> |
| {{ShowEntries | | {{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> |
| | {{#ask: [[Class::Entry]] [[Subject::Aesthetics]] |
| | |?=Entry number |
| | |?People |
| | |?Title |
| | |?Pdf |
| | |?Link |
| | |?Type |
| | |?Entity |
| | |?Discipline |
| | |?Subject |
| | |?Description |
| | |?Reflection |
| | |?Quote |
| | |?Image |
| | |?CaptionImage |
| | |?Image2 |
| | |?CaptionImage2 |
| | |?Image3 |
| | |?CaptionImage3 |
| | |?Image4 |
| | |?CaptionImage4 |
| | |?Image5 |
| | |?CaptionImage5 |
| | |?Date |
| | |?External reference |
| | |?Modification date |
| | |format=list |
|
| |
|
| </noinclude><includeonly>
| |
| <div class="card" onclick="openModal('{{{Entry number|}}}')">
| |
| <div class="entry-number">[{{{Entry number|}}}]</div>
| |
| <div class="people">{{#arraymap:{{{People|}}}|,|x|[[x]]}}</div>
| |
| <div class="title">{{{Title|}}}</div>
| |
| <div class="link" style="display:none;">{{{Link|}}}</div>
| |
| <div class="type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</div>
| |
| <div class="entity" style="display:none;">{{{Entity|}}}</div>
| |
| <div class="discipline" style="display:none;">{{{Discipline|}}}</div>
| |
| <div class="subject" style="display:none;">{{{Subject|}}}</div>
| |
| {{#if: {{{Image|}}} |
| |
| <div class="images">
| |
| {{#if: {{{Image|}}} | <div class="image1" style="">[[File:{{{Image|}}}|400px|link=]]<div class="caption-image1" style="display:none;">{{{CaptionImage|}}}</div></div>| }}
| |
| {{#if: {{{Image2|}}} | <div class="image2" style="">[[File:{{{Image2|}}}|400px|link=]]<div class="caption-image2" style="display:none;">{{{CaptionImage2|}}}</div></div>| }}
| |
| {{#if: {{{Image3|}}} | <div class="image3" style="">[[File:{{{Image3|}}}|400px|link=]]<div class="caption-image3" style="display:none;">{{{CaptionImage3|}}}</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: {{{Image5|}}} | <div class="image5" style="display:none;">[[File:{{{Image5|}}}|400px|link=]]<div class="caption-image5" style="display:none;">{{{CaptionImage5|}}}</div></div>| }}
| |
| </div>
| |
| | }}
| |
| <div class="description" style="display:none;">{{{Description|}}}</div>
| |
| <div class="reflection" style="display:none;">{{{Reflection|}}}</div>
| |
| <div class="quote" style="display:none;">{{{Quote|}}}</div>
| |
| <div class="modification-date" style="display:none;>{{#time: d m y | {{{Modification date|}}} }}</div>
| |
| <div class="related-articles" style="display:none;">
| |
| {{#if: {{{Subject|}}} | {{#ask: [[Class::Entry]] [[Subject::{{{Subject|}}}]] [[Entry number::!{{{Entry number|}}}]]
| |
| |?Entry number
| |
| |?People
| |
| |?Title
| |
| |?Type
| |
| |?Subject
| |
| |format=plainlist
| |
| |template=ShowRelatedArticles
| |
| |limit=4
| |
| |offset=
| |
| |searchlabel=
| |
| |named args=yes
| |
| |order=random
| |
| }} | | }} |
| | }}
| | |
| </div>
| | |
| </div>
| |
| </includeonly> | | </includeonly> |