Template:Entry: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
No edit summary
Line 83: Line 83:
             </div>
             </div>
             <p class="article-type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</p>
             <p class="article-type">{{#arraymap:{{{Type|}}}|,|x|[[x]]}}</p>
            {{#ifeq: {{{Book|}}} | Yes  | <p class="article-metadata-label">Book</p>| }}
            {{#ifeq: {{{Web|}}} | Yes  | <p class="article-web">Web</p>  | }}
            {{#if: {{{Year|}}} |<p class="article-metadata-label">Year</p>
            <p class="article-year">{{{Year|}}}</p>| }}
            {{#ifeq: {{{Has URL|}}} | Yes  | <p class="article-has-url">Has URL ✔</p> | }}
            {{#ifeq: {{{Has PDF|}}} | Yes  | <p class="article-has-pdf">Has PDF ✔</p> | }}
            {{#if: {{{Internal reference|}}} |<p class="article-metadata-label">Internal reference</p><p class="article-internal-ref">[[{{{Internal reference|}}}]]</p>| }}
            {{#if: {{{External reference|}}} |<p class="article-metadata-label">External reference</p><p class="article-external-ref">[{{{External reference|}}} {{{External reference|}}}]</p>| }}
            {{#if: {{{Format of participation|}}} |<p class="article-metadata-label">Format of participation</p><p class="article-format-participation">{{{Format of participation|}}}</p>| }}
            {{#if: {{{Setting|}}} |<p class="article-metadata-label">Setting</p><p class="article-setting">{{{Setting|}}}</p>| }}
             <div class="article-metadata">
             <div class="article-metadata">
                 <div class="article-metadata-column">
                 <div class="article-metadata-column">
Line 124: Line 114:
             {{#if: {{{Notes|}}} |<p class="article-label-quote">Notes</p>
             {{#if: {{{Notes|}}} |<p class="article-label-quote">Notes</p>
             <p class="article-notes">{{{Notes|}}}</p>| }}
             <p class="article-notes">{{{Notes|}}}</p>| }}
            {{#ifeq: {{{Book|}}} | Yes  | <p class="article-metadata-label">Book</p>| }}
            {{#ifeq: {{{Web|}}} | Yes  | <p class="article-web">Web</p>  | }}
            {{#if: {{{Year|}}} |<p class="article-metadata-label">Year</p>
            <p class="article-year">{{{Year|}}}</p>| }}
            {{#ifeq: {{{Has URL|}}} | Yes  | <p class="article-has-url">Has URL ✔</p> | }}
            {{#ifeq: {{{Has PDF|}}} | Yes  | <p class="article-has-pdf">Has PDF ✔</p> | }}
            {{#if: {{{Internal reference|}}} |<p class="article-metadata-label">Internal reference</p><p class="article-internal-ref">[[{{{Internal reference|}}}]]</p>| }}
            {{#if: {{{External reference|}}} |<p class="article-metadata-label">External reference</p><p class="article-external-ref">[{{{External reference|}}} {{{External reference|}}}]</p>| }}
            {{#if: {{{Format of participation|}}} |<p class="article-metadata-label">Format of participation</p><p class="article-format-participation">{{{Format of participation|}}}</p>| }}
            {{#if: {{{Setting|}}} |<p class="article-metadata-label">Setting</p><p class="article-setting">{{{Setting|}}}</p>| }}
             <p class="article-label-modification-date">Added on</p>
             <p class="article-label-modification-date">Added on</p>
             <div class="article-modification-date">{{#time: d m y | {{{Modification date|}}} }}</div>
             <div class="article-modification-date">{{#time: d m y | {{{Modification date|}}} }}</div>

Revision as of 11:28, 29 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.