Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Quote: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
includeonly><!--
<includeonly>{{#invoke:Quote|quote_without_category}}</includeonly><noinclude>{{Lua|[[Module:Quote]]}}Template for adding quotes to pages.
-->{{#vardefine:quotationText|{{{1|}}}{{{text|}}}}}<!--
==Usage==
-->{{#vardefine:quotationSource|{{{2|}}}{{{source|}}}}}<!--
<pre><nowiki>{{Quote|Quotation|Speaker|Source}}</nowiki></pre>
-->{{#vardefine:quotationOrigin|{{{3|}}}{{{origin|}}}}}<!--
 
--><div role="figure" class="va-quotation <!--
==See Also==
    -->{{#switch:{{lc:{{{position|}}}}}<!--
* [[Template:QuoteWithCat]] which create categories.
        -->|left=va-quotation-left<!--
* [[Template:Conversation]] which is used when there is more than one speaker.
        -->|right=va-quotation-right<!--
 
        -->|#default=va-quotation-center<!--
[[Category:Formatting]]</noinclude>
    -->}}<!--
-->"><!--
--><span class="va-quotation-body"><!--
--><span class="va-quotation-quote"><!--
--><span class="va-quotation-quot-l">&ldquo;</span><!--
--><span class="va-quotation-text" style="{{#if:{{{style|}}}|{{{style|}}};}}"><!--
-->{{#if:{{#var:quotationText}}|{{#var:quotationText}}|Text of the quote.}}<!--
--></span><!--
--><span class="va-quotation-quot-r">&rdquo;</span><!--
--></span><!--
    -->{{#if:{{#var:quotationSource}}|<!--
    --><span class="va-quotation-source"><!--
                -->&mdash; {{#var:quotationSource}}{{#if:{{#var:quotationOrigin}}|, {{#var:quotationOrigin}}}}<!--
            --></span><!--
    -->}}<!--
--></span><!--
-->{{#if:{{{sound|}}}|<!--
        --><div style="margin-top: 10px;"><!--
            -->[[File:{{{sound|}}}|noicon|135px|center]]<!--
        --></div><!--
    -->}}<!--
--></div><!--
-->{{#vardefine:quotationText|}}<!--
-->{{#vardefine:quotationSource|}}<!--
-->{{#vardefine:quotationOrigin|}}<!--
--></includeonly>

Latest revision as of 16:50, 21 January 2026

File:Lua logo.svg This template uses Lua: Module:Quote
Template for adding quotes to pages.

Usage

{{Quote|Quotation|Speaker|Source}}

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.