Template:Entry: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
Line 38: | Line 38: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly>__NOTOC__ | ||
{{#default_form:Entry}} | {{#default_form:Entry}} | ||
{{#set: Class=Entry | {{#set: Class=Entry | ||
Line 73: | Line 73: | ||
|Setting={{{Setting|}}} | |Setting={{{Setting|}}} | ||
}} | }} | ||
{ | {{Header}} | ||
<div id="show-article-wrapper"> | |||
<div id="show-article"> | |||
<div id="show-article-before"></div> | |||
<div id="close-button">[close]</div> | |||
<div id="article-title"> | |||
<p class="article-entry-number">{{{Entry number|}}}</p> | |||
<p class="article-people">{{{People|}}}</p> | |||
</div> | |||
<div id="article-content"> | |||
<div class="article-title-link"> | |||
<p class="article-title">{{{Title|}}}</p> | |||
<span class="external-link-icon">[{{{External reference|}}} ↪]</span> | |||
</div> | |||
<p class="article-type">{{{Type|}}}</p> | |||
<div class="article-metadata"> | |||
<div class="article-metadata-column"> | |||
<p class="article-metadata-label">Entity</p> | |||
<p class="article-metadata-value">{{{Entity|}}}</p> | |||
</div> | |||
<div class="article-metadata-column"> | |||
<p class="article-metadata-label">Discipline</p> | |||
<p class="article-metadata-value">{{{Discipline|}}}</p> | |||
</div> | |||
<div class="article-metadata-column"> | |||
<p class="article-metadata-label">Subject(s)</p> | |||
<p class="article-metadata-value">{{{Subject|}}}</p> | |||
</div> | |||
</div> | |||
<div class="article-images"> | |||
{{#if: {{{Image|}}} | <div class="image1">[[File:{{{Image|}}}|400px|link=]]<div class="caption-image1" >{{{CaptionImage|}}}</div></div>| }} | |||
{{#if: {{{Image2|}}} | <div class="image2">[[File:{{{Image2|}}}|400px|link=]]<div class="caption-image2" >{{{CaptionImage2|}}}</div></div>| }} | |||
{{#if: {{{Image3|}}} | <div class="image3">[[File:{{{Image3|}}}|400px|link=]]<div class="caption-image3" >{{{CaptionImage3|}}}</div></div>| }} | |||
{{#if: {{{Image4|}}} | <div class="image4">[[File:{{{Image4|}}}|400px|link=]]<div class="caption-image4" >{{{CaptionImage4|}}}</div></div>| }} | |||
{{#if: {{{Image5|}}} | <div class="image5">[[File:{{{Image5|}}}|400px|link=]]<div class="caption-image5" >{{{CaptionImage5|}}}</div></div>| }} | |||
</div> | |||
<p class="article-label-description">Description</p> | |||
<div class="article-description">{{{Description|}}}</div> | |||
<p class="article-label-reflection">Reflection</p> | |||
<div class="article-reflection">{{{Reflection|}}}</div> | |||
<p class="article-label-quote">Quote</p> | |||
<p class="article-quote">"{{{Quote|}}}"</p> | |||
<p class="article-label-modification-date">Added on</p> | |||
<div class="article-modification-date">{{#time: d m y | {{{Modification date|}}} }}</div> | |||
</div> | |||
</div> | |||
<div id="related-articles"> | |||
<div class="related-articles-label">Related Articles</div> | |||
<div class="related-articles-container"> | |||
{{#show: [[Class::Entry]] [[Subject::{{{Subject|}}}]] [[Entry number::!{{{Entry number|}}}]] | |||
|?Entry number | |||
|?People | |||
|?Title | |||
|?Link | |||
|?Type | |||
|?Entity | |||
|?Discipline | |||
|?Subject | |||
|?Description | |||
|?Reflection | |||
|?Quote | |||
|?Image | |||
|?CaptionImage | |||
|?Image2 | |||
|?CaptionImage2 | |||
|?Image3 | |||
|?CaptionImage3 | |||
|?Image4 | |||
|?CaptionImage4 | |||
|?Image5 | |||
|?CaptionImage5 | |||
|?Modification date | |||
|format=plainlist | |||
|template=ShowEntries | |||
|limit=4 | |||
|offset= | |||
|searchlabel= | |||
|named args=yes | |||
|order=random | |||
}} | |||
</div> | |||
</div> | |||
</div> | |||
}} | |||
<div class="footer"> | |||
<div class="simpleSearch">{{#widget:Searchbar}}</div> | |||
<div class="nrs"><div class="button-open-nrs">{{#widget: Button link|buttontext=[ Nr.s ]}}</div></div> | |||
</div> | |||
[[Category:Entries]] | [[Category:Entries]] | ||
</includeonly> | </includeonly> |
Revision as of 15:23, 28 January 2024
This is the "Entry" template. It should be called in the following format:
{{Entry |Entry number= |Book= |Web= |Year= |People= |Entity= |Title= |Link= |Type= |Has URL= |Has PDF= |Discipline= |Subject= |Description= |Reflection= |Quote= |Internal reference= |External reference= |Image= |CaptionImage= |Image2= |CaptionImage2= |Image3= |CaptionImage3= |Image4= |CaptionImage4= |Image5= |CaptionImage5= |Notes= |Format of participation= |Setting= }}
Edit the page to see the template text.