Template: Publication-card: Difference between revisions
From Dreams Knowledge Platform
(Created page with "<noinclude> This template renders a single publication card. Used by Template:semorg-publication-overview. </noinclude><includeonly><div style="border:1px solid #dde;border-radius:6px;padding:1em 1.2em;background:#f9f9fc;width:280px;min-height:120px;display:flex;flex-direction:column;gap:0.4em;"> <div style="font-weight:bold;font-size:1em;line-height:1.3em;"> {{#if: {{{link|}}} | [{{{link|}}} {{{title|{{{1|}}}}}}] | {{#if: {{{file|}}} | {{{file|}}}|{{{title|...") |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div style="border:1px solid #dde;border-radius:6px;padding:1em 1.2em;background:#f9f9fc;width:280px;display:flex;flex-direction:column;gap:0.4em;box-sizing:border-box;"> | |||
<div style="font-weight:bold;font-size:1em;line-height:1.4;">[[{{{1|}}}|{{{2|{{{1|}}}}}}]]</div> | |||
{{#if:{{{7|}}}|<div style="font-size:0.85em;color:#444;line-height:1.4;">{{{7|}}}</div>}} | |||
<div style="font-weight:bold;font-size:1em;line-height:1. | {{#if:{{{3|}}}|<div style="font-size:0.8em;color:#666;font-style:italic;">{{#ifeq:{{#explode:{{{3|}}}|;|3}}||{{{3|}}}|{{#explode:{{{3|}}}|;|0}}; {{#explode:{{{3|}}}|;|1}}; {{#explode:{{{3|}}}|;|2}} ''et al.''}}</div>}} | ||
{{ | {{#if:{{{4|}}}|<div style="font-size:0.78em;color:#888;">{{{4|}}}</div>}} | ||
<div style="margin-top:auto;padding-top:0.6em;display:flex;gap:0.8em;font-size:0.85em;">{{#if:{{{5|}}}|<span><i class="fas fa-download"></i> [[{{{5|}}}|Download the file]]</span>}}{{#if:{{{6|}}}|<span>[{{{6|}}} <i class="fas fa-external-link-alt"></i> To the resource]</span>}}</div> | |||
}} | |||
{{# | |||
{{#if: {{{ | |||
<div style="margin-top:auto;padding-top:0. | |||
{{#if: {{{ | |||
{{#if: {{{ | |||
</div> | |||
</div></includeonly> | </div></includeonly> | ||