Jump to content

Template:ReportHeader: Difference between revisions

From ClimateKG
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude><div class="rh-banner">
<onlyinclude>
{{#if: {{{link|}}}
| <a href="{{{link}}}" style="text-decoration: none; color: inherit;">
<div class="rh-banner">
<div class="rh-banner-top">
<div class="rh-banner-top">
<div class="rh-banner-img">[[File:{{{cover}}}|160px]]</div>
<div class="rh-banner-img">[[File:{{{cover}}}|160px|link=]]</div>
<div class="rh-banner-right">
<div class="rh-banner-right">
<div class="rh-banner-titles">
<div class="rh-banner-titles">
Line 21: Line 24:
</div>
</div>
</div>
</div>
</div></onlyinclude>
</div>
</a>
| <div class="rh-banner">
<div class="rh-banner-top">
<div class="rh-banner-img">[[File:{{{cover}}}|160px|link=]]</div>
<div class="rh-banner-right">
<div class="rh-banner-titles">
<div class="rh-banner-tag">{{{type|Report}}}</div>
<div class="rh-banner-title">{{{title}}}</div>
<div class="rh-banner-subtitle">{{{subtitle}}}</div>
<div class="rh-banner-abstract-text">{{{abstract}}}</div>
</div>
<div class="rh-banner-meta">
<div class="rh-banner-field">
<span class="rh-banner-lbl">Published</span>
<span class="rh-banner-val">{{{date}}}</span>
</div>
<div class="rh-banner-field">
<span class="rh-banner-lbl">DOI</span>
<span class="rh-banner-val">[{{{doi}}} {{{doi}}}]</span>
</div>
</div>
</div>
</div>
</div>
}}
</onlyinclude>
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Line 33: Line 62:
| doi      = https://doi.org/10.xxxx/xxxxx
| doi      = https://doi.org/10.xxxx/xxxxx
| abstract = A short summary of the report's contents and findings.
| abstract = A short summary of the report's contents and findings.
| link    = https://example.com/report
}}
}}
</pre>
</pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 08:40, 20 May 2026

[[File:{{{cover}}}|160px|link=]]
Report
{{{title}}}
{{{subtitle}}}
{{{abstract}}}

Published {{{date}}}

DOI [{{{doi}}} {{{doi}}}]


Usage

{{ReportHeader
| cover    = Example.jpg
| title    = My Report Title
| subtitle = My Report Subtitle
| type     = Report
| date     = 1 January 2024
| doi      = https://doi.org/10.xxxx/xxxxx
| abstract = A short summary of the report's contents and findings.
| link     = https://example.com/report
}}