Template:Quote: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><blockquote style="font-size:130%; font-family:Georgia;">''{{{1}}}''</blockquote></includeonly>
<includeonly><blockquote class="bg3wiki.bquote" style="font-size:{{#if:{{{size|}}}|{{{size}}}|130%}}; font-family:Georgia;">{{{1|}}}</blockquote></includeonly><noinclude>
Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC.
{{documentation|content=Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC.


== Usage Examples ==


Example usage:
Default usage:


<code>&#123;&#123;DescriptionQuote{{!}}Your quote goes here.&#125;&#125;</code>
<pre>{{Quote|Your quote goes here.}}</pre>


Yields:
Result:
<blockquote style="font-size:130%; font-family:Georgia;">''Your quote goes here.''</blockquote>
{{quote|Your quote goes here.}}
 
----
 
Optional {{C|size}} parameter for different quote sizes:
 
<pre>{{Quote|size=90%|Here is a smaller quote.}}</pre>
 
Result:
{{Quote|size=90%|Here is a smaller quote.}}
 
[[Category: Templates]]
[[Category: Quotation templates]]
<templatedata>
{
"params": {
"1": {
"label": "Quote",
"required": true
},
"size": {}
}
}
</templatedata>}}
</noinclude>
8,856
edits

Navigation menu