3,425
个编辑
更改
模板:Paper
,无编辑摘要
<div style="font-size: {{{size|16}}}px; padding: 0.8em; margin: 0.6em; z-index: 0; background: #fff;{{#if: {{{rotate|}}}
|transform: rotate({{{rotate}}}); |}}{{#if: {{{inline-block|}}}|display: inline-block; |}} box-shadow: 0 1.25px 3.75px rgba(0, 0, 0, 0.12), 0 1.25px 2.5px rgba(0, 0, 0, 0.24); padding: 1em;">
{{{text}}}{{#if: {{{author|}}}
|<cite style="font-size: {{{size|16}}}px; display: block; text-align: right">— {{{author}}}</cite>|}}
== Usage ==
<pre>
<nowiki>{{{Paper|text=(|author=)(|size=)(|rotate=)(|inline-block=1)}}}</nowiki>
</pre>
The default font size is 16 (pixels).
Please specify the unit (such as deg, rad) used in the rotate parameter.