mNo edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
Opening citation: | Opening citation: | ||
<pre>{{quote|A piece of wisdom.|style={{opencite}}}}</pre> | <pre>{{quote|text=A piece of wisdom.|style={{opencite}}}}</pre> | ||
Inline citation with <tt><nowiki>{{inlinecite|...}}</nowiki></tt>: | Inline citation with <tt><nowiki>{{inlinecite|...}}</nowiki></tt>: | ||
| Line 21: | Line 21: | ||
This also reminds of the comte de Lasalle's famous declamation to Napoleon: {{inlinequote|«Tout hussard qui n’est pas mort à trente ans est un jean-foutre»}} (he would himself die at 34). | This also reminds of the comte de Lasalle's famous declamation to Napoleon: {{inlinequote|«Tout hussard qui n’est pas mort à trente ans est un jean-foutre»}} (he would himself die at 34). | ||
If there is an equal sign in the quoted text, either escape those as {{=}} or add text= before the citation, e.g.: | |||
<syntaxhighlight lang="mediawiki"> | |||
{{quote|text=These excitons decay by | |||
acoustic phonon emission to populate the k = 0 exci- | |||
tonic mode, where a population buildup occurs. The | |||
output from the exciton boser (coherent state of k = | |||
0 excitons) is light generated by radiative recombi- | |||
nation.}} | |||
</syntaxhighlight> | |||
General appearance: | General appearance: | ||
</noinclude> | </noinclude> | ||
<blockquote style="font-size: 1em; font-family: Avantgarde, TeX Gyre Adventor, URW Gothic L, sans-serif; {{{style}}}"><div>{{{text|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation | <blockquote style="font-size: 1em; font-family: Avantgarde, TeX Gyre Adventor, URW Gothic L, sans-serif; {{{style}}}"><div>{{#if:{{{text|}}}|{{#invoke:Quote|processLineBreaks|text={{{text}}}}}|{{#if:{{{1|}}}|{{#invoke:Quote|processLineBreaks|text={{#replace:{{{1}}}|=|__EQUALS__}}}}|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation}}</includeonly>}}}}</div><span style="font-family:times; font-style:normal;">{{#if:{{{author|{{{2|<noinclude>TRUE</noinclude>}}}}}}|<div class="templatequotecite">—{{{author|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}|, <cite style="font-style:italic;">{{{source|{{{3|<noinclude>''Source''</noinclude>}}}}}}</cite>}}</div>}}</span></blockquote> | ||
Unnamed (positional) parameters
{{quote|phrase|person|source|style}}
Named parameters
{{quote|text=phrase|author=person|source=source|style=style}}
Example
{{quote|text=Cry “Havoc,” and let slip the dogs of war.|author=[[William Shakespeare]]
|source=[[Julius Caesar (play)|''Julius Caesar'']], Act III, Scene I}}
Script error: The function "processLineBreaks" does not exist.—William Shakespeare, Julius Caesar, Act III, Scene I
Opening citation:
{{quote|text=A piece of wisdom.|style={{opencite}}}}
Inline citation with {{inlinecite|...}}:
This also reminds of the comte de Lasalle's famous declamation to Napoleon:
{{inlinequote|«Tout hussard qui n’est pas mort à trente ans est un jean-
foutre»}} (he would himself die at 34).
This also reminds of the comte de Lasalle's famous declamation to Napoleon: ««Tout hussard qui n’est pas mort à trente ans est un jean-foutre»» (he would himself die at 34).
If there is an equal sign in the quoted text, either escape those as = or add text= before the citation, e.g.:
{{quote|text=These excitons decay by
acoustic phonon emission to populate the k = 0 exci-
tonic mode, where a population buildup occurs. The
output from the exciton boser (coherent state of k =
0 excitons) is light generated by radiative recombi-
nation.}}
General appearance:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.—Someone, Source