Template:Entry: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
No edit summary
 
(40 intermediate revisions by 2 users not shown)
Line 5: Line 5:
{{Entry
{{Entry
|Entry number=
|Entry number=
|Book=
|Web=
|Year=
|People=
|People=
|Entity=
|Entity=
|Title=
|Title=
|Pdf=
|Link=
|Link=
|Type=
|Type=
|Has URL=
|Has PDF=
|Discipline=
|Discipline=
|Subject=
|Subject=
Line 20: Line 16:
|Reflection=
|Reflection=
|Quote=
|Quote=
|Internal reference=
|External reference=
|External reference=
|Image=
|Image=
Line 32: Line 27:
|Image5=
|Image5=
|CaptionImage5=
|CaptionImage5=
|Notes=
|Format of participation=
|Format of participation=
|Setting=
|Setting=
|Date=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOTOC__{{#default_form:Entry}}{{#set: Class=Entry
</noinclude><includeonly>{{Header without filters}}{{#default_form:Entry}}{{#set: Class=Entry
|Entry number={{{Entry number|}}}
|Entry number={{{Entry number|}}}
|Book={{{Book|}}}
|Web={{{Web|}}}
|Year={{{Year|}}}
|People={{{People|}}} |+sep=,
|People={{{People|}}} |+sep=,
|Entity={{{Entity|}}}
|Entity={{{Entity|}}}
|Title={{{Title|}}}
|Title={{{Title|}}}
|Pdf={{{Pdf|}}}
|Link={{{Link|}}}
|Link={{{Link|}}}
|Type={{{Type|}}}
|Type={{{Type|}}}
Line 55: Line 48:
|Reflection={{{Reflection|}}}
|Reflection={{{Reflection|}}}
|Quote={{{Quote|}}}
|Quote={{{Quote|}}}
|Internal reference={{{Internal reference|}}} |+sep=,
|External reference={{{External reference|}}} |+sep=,
|External reference={{{External reference|}}} |+sep=,
|Image={{{Image|}}}
|Image={{{Image|}}}
Line 67: Line 59:
|Image5={{{Image5|}}}
|Image5={{{Image5|}}}
|CaptionImage5={{{CaptionImage5|}}}
|CaptionImage5={{{CaptionImage5|}}}
|Notes={{{Notes|}}}
|Format of participation={{{Format of participation|}}}
|Format of participation={{{Format of participation|}}}
|Setting={{{Setting|}}}
|Setting={{{Setting|}}}
}}{{Header}}
|Date={{{Date|}}}
<div id="show-article-wrapper-entry">
}}{{#ifeq: {{{Type|}}} | Event
    <div id="show-article">
|<div id="show-event-wrapper">
        <div id="article-title">
<div id="show-event">
            <p class="article-entry-number">[{{{Entry number|}}}]</p>
<div id="event-title">
            <p class="article-people">{{#arraymap:{{{People|}}}|,|x|[[x]]}}</p>
<p class="event-entry-number">[{{{Entry number|}}}]</p>
        </div>
<p class="event-people">{{#arraymap:{{{People|}}}|,|x|[[x]]}}</p>
        <div id="article-content">
</div>
            <div class="article-title-link">
<div id="event-content">
                <p class="article-title">{{{Title|}}}</p>
<div class="event-title-link">
                <p class="external-link-icon">[{{{Link|}}} ↪]</p>
<p class="event-title">{{{Title|}}}</p>
            </div>
<div class="event-link">
           
{{#if: {{{Link|}}} |<p class="external-link-icon">[{{{Link|}}} <nowiki>[</nowiki>WEB<nowiki>]</nowiki> ]</p>|}}
            <p class="article-type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</p>
</div>
           
</div>
            <div class="article-metadata">
<p class="article-type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</p>
                <div class="article-metadata-column">
{{#if: {{{Date|}}} |<p class="article-label-external-reference">Date</p><p class="article-external-reference">{{#time: d.m.y | {{{Date|}}} }}</p>| }}
                    <p class="article-metadata-label">Entity</p>
<p class="article-label-modification-date">Added on</p>
                    <p class="article-metadata-value">{{{Entity|}}}</p>
<div class="article-modification-date">{{#time: d.m.y | {{{Modification date|}}} }}</div>
                </div>
</div>
                <div class="article-metadata-column">
</div>
                    <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>
            {{#if: {{{Image|}}} | 
            <div class="article-images">
            <p class="article-label-image"></p>
            {{#if: {{{Image|}}} |   <div class="image-container">[[File:{{{Image|}}}|200px|link=]]<div class="caption-image1" >{{{CaptionImage|}}}</div></div>| }}
            {{#if: {{{Image2|}}} |   <div class="image-container hidden">[[File:{{{Image2|}}}|200px|link=]]<div class="caption-image2" >{{{CaptionImage2|}}}</div></div>| }}
            {{#if: {{{Image3|}}} |   <div class="image-container hidden">[[File:{{{Image3|}}}|200px|link=]]<div class="caption-image3" >{{{CaptionImage3|}}}</div></div>| }}
            {{#if: {{{Image4|}}} |  <div class="image-container hidden">[[File:{{{Image4|}}}|200px|link=]]<div class="caption-image4" >{{{CaptionImage4|}}}</div></div>| }}
            {{#if: {{{Image5|}}} |  <div class="image-container hidden">[[File:{{{Image5|}}}|200px|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>
            {{#if: {{{Quote|}}} |
            <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>
</div>
| <div id="show-article-wrapper-entry">
<div id="show-article">
<div id="show-article-before"></div>
<div id="article-title">
<p class="article-entry-number">[{{{Entry number|}}}]</p>
<p class="article-people">{{#arraymap:{{{People|}}}|,|x|[[x]]}}</p>
</div>
<div id="article-content">
<div class="article-title-link">
<p class="article-title">{{{Title|}}}</p>
<div class="link-pdf">
{{#if: {{{Pdf|}}} |<p class="pdf-link-icon">[{{{Pdf|}}} <nowiki>[</nowiki>PDF<span class="text-symbol">⤴</span><nowiki>]</nowiki> ]</p>|}}
{{#if: {{{Link|}}} |<p class="external-link-icon">[{{{Link|}}} <nowiki>[</nowiki>WEB<span class="text-symbol">⤴</span><nowiki>]</nowiki> ]</p>|}}
</div>
</div>
<p class="article-type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</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">{{#arraymap:{{{Subject|}}}|,|x|[[x]]}}</p>
</div>
</div>
{{#if: {{{Image|}}} | <div class="article-images">
<p class="article-label-image"></p>
{{#if: {{{Image|}}} |  <div class="image-container">[[File:{{{Image|}}}|200px|link=]]<div class="caption-image1" >{{{CaptionImage|}}}</div></div>| }}
{{#if: {{{Image2|}}} |  <div class="image-container hidden">[[File:{{{Image2|}}}|200px|link=]]<div class="caption-image2" >{{{CaptionImage2|}}}</div></div>| }}
{{#if: {{{Image3|}}} |  <div class="image-container hidden">[[File:{{{Image3|}}}|200px|link=]]<div class="caption-image3" >{{{CaptionImage3|}}}</div></div>| }}
{{#if: {{{Image4|}}} |  <div class="image-container hidden">[[File:{{{Image4|}}}|200px|link=]]<div class="caption-image4" >{{{CaptionImage4|}}}</div></div>| }}
{{#if: {{{Image5|}}} |  <div class="image-container hidden">[[File:{{{Image5|}}}|200px|link=]]<div class="caption-image5" >{{{CaptionImage5|}}}</div></div>| }}</div>| }}
{{#if: {{{Description|}}} |
<p class="article-label-description">Description</p>
<div class="article-description">{{{Description|}}}</div>| }}{{#if: {{{Reflection|}}} |<p class="article-label-reflection">Reflection</p><div class="article-reflection">{{{Reflection|}}}</div>| }}{{#if: {{{Quote|}}} |<p class="article-label-quote">Quote</p>
<p class="article-quote">"{{{Quote|}}}"</p>| }}{{#if: {{{External reference|}}} |<p class="article-label-external-reference">External references</p><p class="article-external-reference">{{#arraymap:{{{External reference|}}}|,|x|x}}</p>| }}{{#if: {{{Format of participation|}}} |<p class="article-label-external-reference">Format of participation</p><p class="article-external-reference">{{{Format of participation|}}}</p>| }}{{#if: {{{Setting|}}} |<p class="article-label-external-reference">Setting</p><p class="article-external-reference">{{{Setting|}}}</p>| }}{{#if: {{{Date|}}} |<p class="article-label-external-reference">Date</p><p class="article-external-reference">{{#time: d.m.y | {{{Date|}}} }}</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>
}}


<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>

Latest revision as of 14:51, 27 June 2024

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

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

Edit the page to see the template text.