“模板:Paper”的版本间的差异
BallanceBug(讨论 | 贡献) 小 |
BallanceBug(讨论 | 贡献) 小 |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
− | <div style="font-size: {{{size|16}}}px; padding: 0.8em; margin: 0.6em; z-index: | + | <div style="font-size: {{{size|16}}}px; padding: 0.8em; margin: 0.6em; z-index: 0; background: #fff;{{#if: {{{rotate|}}} |
− | |transform: rotate({{{rotate}}}); |}} box-shadow: 0 1.25px 3.75px rgba(0, 0, 0, 0.12), 0 1.25px 2.5px rgba(0, 0, 0, 0.24); | + | |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|}}} | {{{text}}}{{#if: {{{author|}}} | ||
|<cite style="font-size: {{{size|16}}}px; display: block; text-align: right">— {{{author}}}</cite>|}} | |<cite style="font-size: {{{size|16}}}px; display: block; text-align: right">— {{{author}}}</cite>|}} | ||
第8行: | 第8行: | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
− | <nowiki>{{{Paper|text=(|author=)(|size=)(|rotate)}}}</nowiki> | + | <nowiki>{{{Paper|text=(|author=)(|size=)(|rotate=)(|inline-block=1)}}}</nowiki> |
</pre> | </pre> | ||
The default font size is 16 (pixels). | The default font size is 16 (pixels). | ||
Please specify the unit (such as deg, rad) used in the rotate parameter. | Please specify the unit (such as deg, rad) used in the rotate parameter. |
2019年7月5日 (五) 18:33的最新版本
{{{text}}}
Usage
{{{Paper|text=(|author=)(|size=)(|rotate=)(|inline-block=1)}}}
The default font size is 16 (pixels).
Please specify the unit (such as deg, rad) used in the rotate parameter.