Difference between revisions of "Template:Quote"
From Roll20 Wiki
Andreas J. (Talk | contribs) (attempt at styled blockquote) |
Andreas J. (Talk | contribs) m (show example) |
||
(6 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <blockquote style="white-space: pre-wrap;background: #c6c3c3;border: 2px dashed black;border-radius:5px;padding: | + | <includeonly><blockquote style="white-space: pre-wrap;background: #c6c3c3;border: 2px dashed black;border-radius:5px;padding: 0.5rem;font-style: italic;" class="quote">{{{1|}}}<br> <span style="font-style: normal;">– '''{{{2|}}}'''</span></blockquote></includeonly><noinclude> |
− | <span style="font-style: normal;">– '''{{{2|}}}'''</span> | + | |
− | </blockquote><noinclude> | + | |
Styled block quotation, mainly to highlight official Roll20 comments. 1st parameter is the quoted content(preserves line-breaks), and 2nd parameter is name/source/link to the quote. | Styled block quotation, mainly to highlight official Roll20 comments. 1st parameter is the quoted content(preserves line-breaks), and 2nd parameter is name/source/link to the quote. | ||
− | + | <pre>{{quote|I could totally beat a dragon in a 1vs1 fight. | |
+ | Even with one arm tied to my back.|[https://app.roll20.net/forum/post/10967129/api-name-change-to-mod Bob, May 5th 2022]}} | ||
+ | </pre> | ||
{{quote|I could totally beat a dragon in a 1vs1 fight. | {{quote|I could totally beat a dragon in a 1vs1 fight. | ||
− | Even with one arm tied to my back.|Bob, May 5th | + | Even with one arm tied to my back.|[https://app.roll20.net/forum/post/10967129/api-name-change-to-mod Bob, May 5th 2022]}} |
[[Category:Mbox and messagebox templates]] | [[Category:Mbox and messagebox templates]] | ||
+ | [[Category:Formatting Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 06:27, 29 September 2024
Styled block quotation, mainly to highlight official Roll20 comments. 1st parameter is the quoted content(preserves line-breaks), and 2nd parameter is name/source/link to the quote.
{{quote|I could totally beat a dragon in a 1vs1 fight. Even with one arm tied to my back.|[https://app.roll20.net/forum/post/10967129/api-name-change-to-mod Bob, May 5th 2022]}}
I could totally beat a dragon in a 1vs1 fight. Even with one arm tied to my back.
– Bob, May 5th 2022