Template:Quote: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (add optional parameter for smaller or larger quotes) |
||
Line 1: | Line 1: | ||
<includeonly><blockquote style="font-size:140%; font-family:Georgia;">''{{{1}}}''</blockquote></includeonly><noinclude> | <includeonly><blockquote style="font-size:{{#if:{{{size|}}}|{{{size}}}|140%}}; 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. | Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC. | ||
== Usage Examples == | |||
Default usage: | |||
{{code|<nowiki>{{Quote|Your quote goes here.}}</nowiki>}} | {{code|<nowiki>{{Quote|Your quote goes here.}}</nowiki>}} | ||
Result: | |||
{{quote|Your quote goes here.}}</noinclude> | {{quote|Your quote goes here.}} | ||
Optional {{C|size}} parameter for different quote sizes: | |||
{{code|<nowiki>{{Quote|size=90%|Here is a smaller quote.}}</nowiki>}} | |||
Result: | |||
{{Quote|size=90%|Here is a smaller quote.}}</noinclude> |
Revision as of 02:11, 1 February 2023
Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC.
Usage Examples
Default usage:
{{Quote|Your quote goes here.}}
Result:
Your quote goes here.
Optional size
parameter for different quote sizes:
{{Quote|size=90%|Here is a smaller quote.}}
Result:
Here is a smaller quote.