Difference between revisions of "Template:Quote"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
<!-- start Documentation --> | <!-- start Documentation --> | ||
− | <nowiki> | + | Code:</br> |
− | + | <nowiki><blockquote style="color: lightgrey; border: solid thin gray;"></nowiki></br> | |
− | + | <nowiki> {{{1}}}</nowiki></br> | |
− | + | <nowiki></blockquote></nowiki></br> | |
− | <blockquote style="color: lightgrey; border: solid thin gray;"> | ||
− | |||
− | {{{1}}} | ||
− | |||
− | </blockquote> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </nowiki> | ||
+ | Usage example:</br> | ||
+ | <nowiki> {{ quote | The text you want to quote }} </nowiki></br> | ||
+ | results:</br> | ||
{{ quote | The text you want to quote }} | {{ quote | The text you want to quote }} | ||
− | + | Explanatory example:</br> | |
− | + | <nowiki>"The quick {{{1}}} fox {{{2}}}."</nowiki></br> | |
− | Explanatory example: | + | Then fill the template as</br> |
− | + | <nowiki>{{quote|brown|jumps}}</nowiki></br> | |
− | "The quick {{{1}}} fox {{{2}}}." | + | results:</br> |
− | + | "The quick brown fox jumps."</br> | |
− | Then fill the template as | + | "Quote" is the name of the template.</br> |
− | + | The #1 in the braces means the first variable of possible several.</br> | |
− | {{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. | ||
− | |||
− | </ | ||
<!-- end Documentation --> | <!-- end Documentation --> |
Revision as of 18:50, 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.