Difference between revisions of "Template:Quote"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
Code: | Code: | ||
+ | |||
<blockquote style="color: lightgrey; border: solid thin gray;"> | <blockquote style="color: lightgrey; border: solid thin gray;"> | ||
+ | |||
{{{1}}} | {{{1}}} | ||
+ | |||
</blockquote> | </blockquote> | ||
Usage example: | Usage example: | ||
+ | |||
{{ quote | The text you want to quote }} | {{ quote | The text you want to quote }} | ||
+ | |||
results: | results: | ||
+ | |||
</nowiki> | </nowiki> | ||
+ | |||
{{ quote | The text you want to quote }} | {{ quote | The text you want to quote }} | ||
<nowiki> | <nowiki> | ||
+ | |||
Explanatory example: | Explanatory example: | ||
+ | |||
"The quick {{{1}}} fox {{{2}}}." | "The quick {{{1}}} fox {{{2}}}." | ||
+ | |||
Then fill the template as | Then fill the template as | ||
+ | |||
{{quote|brown|jumps}} | {{quote|brown|jumps}} | ||
+ | |||
results: | results: | ||
+ | |||
"The quick brown fox jumps." | "The quick brown fox jumps." | ||
Revision as of 18:48, 8 July 2024
Code:
<blockquote style="color: lightgrey; border: solid thin gray;">
{{{1}}}
</blockquote>
Usage example:
{{ quote | The text you want to quote }}
results:
The text you want to quote
Explanatory example: "The quick {{{1}}} fox {{{2}}}." Then fill the template as {{quote|brown|jumps}} results: "The quick brown fox jumps." "Quote" is the name of the template. The #1 in the braces means the first variable of possible several.