“模板:Quote”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
(创建页面,内容为“<blockquote style="font-size: {{{size}}}px"> {{{2}}} <cite style="font-size: {{{size}}}px; display: block; text-align: right">— {{{1}}}</cite> </blockquote><noincl…”)
2个标签移动版编辑移动网页编辑
 
2个标签移动版编辑移动网页编辑
第1行: 第1行:
<blockquote style="font-size: {{{size}}}px">
+
<blockquote style="font-size: {{{size|16}}}px">
 
{{{2}}}
 
{{{2}}}
<cite style="font-size: {{{size}}}px; display: block; text-align: right">— {{{1}}}</cite>
+
<cite style="font-size: {{{size|16}}}px; display: block; text-align: right">— {{{1}}}</cite>
 
</blockquote><noinclude>
 
</blockquote><noinclude>
  
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
<nowiki>{{{Quote|author|content|size=}}}</nowiki>
+
<nowiki>{{{Quote|author|content(|size=)}}}</nowiki>
 
</pre>
 
</pre>
The recommended font size is 16 (pixels).
+
The default font size is 16 (pixels).
  
 
== Notes ==
 
== Notes ==
 
If a quote with no demand of marking out the author is needed, please use <code><nowiki><blockquote> Content ... </blockquote></nowiki></code> instead.
 
If a quote with no demand of marking out the author is needed, please use <code><nowiki><blockquote> Content ... </blockquote></nowiki></code> instead.
 
</noinclude>
 
</noinclude>

2019年7月4日 (四) 19:18的版本

{{{2}}} — {{{1}}}

Usage

{{{Quote|author|content(|size=)}}}

The default font size is 16 (pixels).

Notes

If a quote with no demand of marking out the author is needed, please use <blockquote> Content ... </blockquote> instead.