The forum pages are fully operational! See this link for the latest forum topics, where users can collaborate or discuss certain topics in one place!
Difference between revisions of "Template:Boxquote"
From Arthur Wiki
Jump to navigationJump to search
m |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{| style="border: 1px solid #CCCCFF; margin: 4px 0px; background:#F8F8FF; border-radius:5px;" " class="boxquote" | {| style="border: 1px solid #CCCCFF; margin: 4px 0px; background:#F8F8FF; border-radius:5px;" " class="boxquote" | ||
| width="15" valign="top" style="color:#B2B7F2; font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:10px 10px;" | “ | | width="15" valign="top" style="color:#B2B7F2; font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:10px 10px;" | “ | ||
| valign="top" style="font-family: | | valign="top" style="font-family: candara; padding:4px 2px; font-size:10px;" | | ||
{{{text|text.}}} | {{{text|text.}}} | ||
| width="15" valign="bottom" style="color:#B2B7F2;font-size:36px;font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding:10px 10px;" | ” | | width="15" valign="bottom" style="color:#B2B7F2;font-size:36px;font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding:10px 10px;" | ” | ||
|- | |- | ||
{{#if:{{{saidby|}}}{{{reference|}}}| {{!}} colspan="3" style="padding-top: 0.1em" {{!}} <span style="font-family: | {{#if:{{{saidby|}}}{{{reference|}}}| {{!}} colspan="3" style="padding-top: 0.1em" {{!}} <span style="font-family:candara;font-size:9px;text-align: right"><font style="font-style:normal;">—{{{saidby}}}{{#if:{{{reference|}}}|, {{{reference}}}}}</font></span> | ||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
==Example usage== | ==Example usage== | ||
'''Quoted text only:'''< | '''Quoted text only:'''<br> | ||
<nowiki>{{Boxquote</nowiki>< | <nowiki>{{Boxquote</nowiki><br> | ||
<nowiki>|text = Test 123}}</nowiki> | <nowiki>|text = Test 123}}</nowiki> | ||
Line 19: | Line 19: | ||
|text = Test 123}} | |text = Test 123}} | ||
'''Quoted text with | '''Quoted text with person's name:'''<br> | ||
<nowiki>{{Boxquote</nowiki>< | <nowiki>{{Boxquote</nowiki><br> | ||
<nowiki>|text = Test 123</nowiki>< | <nowiki>|text = Test 123</nowiki><br> | ||
<nowiki>| | <nowiki>|saidby = This template}}</nowiki> | ||
result: | result: | ||
{{Boxquote | {{Boxquote | ||
|text = Test 123 | |text = Test 123 | ||
| | |saidby = This template}} | ||
'''Quoted text with person's name and reference:'''<br> | |||
<nowiki>{{Boxquote</nowiki><br> | |||
<nowiki>|text = Test 123</nowiki><br> | |||
<nowiki>|saidby = This template</nowiki><br> | |||
<nowiki>|reference = This template}}</nowiki> | |||
result: | |||
{{Boxquote | |||
|text = Test 123 | |||
| saidby = This template | |||
| reference = This template}} | |||
[[Category:Quote templates]] | [[Category:Quote templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 02:23, 13 August 2022
Example usage[edit]
Quoted text only:
{{Boxquote
|text = Test 123}}
result:
“ |
Test 123 |
” |
Quoted text with person's name:
{{Boxquote
|text = Test 123
|saidby = This template}}
result:
“ |
Test 123 |
” |
—This template |
Quoted text with person's name and reference:
{{Boxquote
|text = Test 123
|saidby = This template
|reference = This template}}
result:
“ |
Test 123 |
” |
—This template, This template |