Difference between revisions of "Template:Quote"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
<includeonly> | <includeonly> | ||
− | <blockquote style="color: | + | <blockquote style=" |
+ | color: black; | ||
+ | border: solid thin gray; | ||
+ | padding-top: 10px; | ||
+ | padding-right: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | padding-left: 10px; | ||
+ | "> | ||
{{{1}}} | {{{1}}} | ||
</blockquote> | </blockquote> | ||
Line 18: | Line 25: | ||
Code:</br> | Code:</br> | ||
− | <nowiki><blockquote style="color: | + | <nowiki><blockquote style=" |
+ | color: black; | ||
+ | border: solid thin gray; | ||
+ | padding-top: 10px; | ||
+ | padding-right: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | padding-left: 10px; | ||
+ | "></nowiki></br> | ||
<nowiki> {{{1}}}</nowiki></br> | <nowiki> {{{1}}}</nowiki></br> | ||
<nowiki></blockquote></nowiki></br> | <nowiki></blockquote></nowiki></br> |
Revision as of 18:54, 8 July 2024
Code:
<blockquote style="
color: black;
border: solid thin gray;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
">
{{{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.