Template:Quote: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (test)
Line 1: Line 1:
:<span class="quote" style="font-family:Times New Roman;font-size:11pt;font-style:italic">{{{text|&ldquo;{{{1}}}&rdquo;}}}</span>
:<span class="quote" style="font-family:Times New Roman;font-size:11pt;font-style:italic">{{{text|&ldquo;{{{1}}}&rdquo;}}}</span>
:<span class="quote" style="font-family:Times New Roman;font-size:11pt;padding-left:15px">&mdash;{{{author|<span style="font-weight:bold">{{#ifexist:{{{2}}}|[[:{{{2}}}]]|{{{2}}}}}</span>}}}{{#if:{{{source|{{{3|}}}}}}|, {{{source|<span style="font-style:italic">{{#ifexist:{{{3}}}|[[:{{{3}}}]]|{{{3}}}}}</span>}}}}}</span><noinclude>
:<span class="quote" style="font-family:Times New Roman;font-size:11pt;padding-left:15px">&mdash;{{{author|{{#rmatch:{{{2}}}|'''|{{{2}}}|'''{{#ifexist:{{{2}}}|[[:{{{2}}}]]|{{{2}}}}}'''}}}}}{{#if:{{{source|{{{3|}}}}}}|, {{{source|{{#rmatch:{{{3}}}|''|{{{3}}}|''{{#ifexist:{{{3}}}|[[:{{{3}}}]]|{{{3}}}}}''}}}}}}}</span><noinclude>
==Usage==
==Usage==
<pre>{{quote|The quote text.|Quote author|Quote source}}</pre>
<pre>{{quote|The quote text.|Quote author|Quote source}}</pre>
===Customization===
To bypass automatic linking and formatting, the <code>author</code> and <code>source</code> parameters can be used instead:
<pre>{{quote|What a pest!|author='''[[Wario]]''', CEO of Nintendo}}</pre>
<pre>{{quote|What a pest!|Wario|source=''[[Wario Land 4]]'' instruction booklet}}</pre>
<pre>{{quote|What a pest!|author='''[[Wario]]''', CEO of Nintendo|source=''[[Wario Land 4]]'' instruction booklet}}</pre>


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 15:24, May 18, 2024

“{{{1}}}”
{{{2}}}

Usage

{{quote|The quote text.|Quote author|Quote source}}