“模板:Quote”的版本间的差异
跳到导航
跳到搜索
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
<blockquote class="templatequote"> | <blockquote class="templatequote"> | ||
− | {{{text|{{{quote|{{{1|<noinclude>Lorem ipsum dolor sit amet</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}} | + | {{{text|{{{quote|{{{1|<noinclude>Lorem ipsum dolor sit amet</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}{{#if:{{{sign|{{{cite|{{{2|<noinclude>TRUE</noinclude>}}}}}}}}} |
− | {{#if:{{{sign|{{{cite|{{{2|<noinclude>TRUE</noinclude>}}}}}}}}} | ||
|<div class="templatequotecite">—{{{sign|{{{cite|{{{2|<noinclude>Someone</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}} | |<div class="templatequotecite">—{{{sign|{{{cite|{{{2|<noinclude>Someone</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}} | ||
|, <cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite> | |, <cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite> | ||
}}</div> | }}</div> | ||
− | }} | + | }}</blockquote><noinclude> |
− | </blockquote><noinclude> | ||
== 用法 == | == 用法 == | ||
2021年6月3日 (四) 20:53的最新版本
Lorem ipsum dolor sit amet
—Someone, Source
用法
- Unnamed (positional) parameters
{{quote|phrase|person|source}}
This markup will fail if any parameter contains an equals sign (=).
- Numbered (positional) parameters
{{quote|1=phrase|2=person|3=source}}
- Named parameters
{{quote|text=phrase|sign=person|source=source}}