Template:ReportCitation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 22: | Line 22: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 04:34, 10 April 2026
Cite this report
{{{citation}}}
<button class="rcit-btn" onclick="
var el = this.previousElementSibling;
navigator.clipboard.writeText(el.innerText).then(function() {
var btn = el.nextElementSibling;
btn.textContent = 'Copied!';
btn.classList.add('rcit-copied');
setTimeout(function() {
btn.textContent = 'Copy to clipboard';
btn.classList.remove('rcit-copied');
}, 2000);
});
">Copy to clipboard</button>
Usage
{{ReportCitation
| citation = Kovač, Maria, Thomas Berg, and Sun Li. ''Annual Climate Assessment 2023''. Berlin: Institute for Climate Research, 2023. https://doi.org/10.1234/example.
}}