Template:Quoter/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
| {{code|align}} || Float position || Text || Optional || Defaults to {{code|right}}. Other options: {{code|left}}, {{code|center}}, {{code|none}} | | {{code|align}} || Float position || Text || Optional || Defaults to {{code|right}}. Other options: {{code|left}}, {{code|center}}, {{code|none}} | ||
|- | |- | ||
| {{code|width}} || Box width || String || Optional || | | {{code|width}} || Box width || String || Optional || Defaults to full page unless a value is set | ||
|- | |- | ||
| {{code|border}} || Box border || String || Optional || Defaults to {{code|1px}} | | {{code|border}} || Box border || String || Optional || Defaults to {{code|1px}} | ||
Line 38: | Line 38: | ||
| {{code|salign}} || Signature alignment || String || Optional || Defaults to <code>{{{qalign}}}</code> | | {{code|salign}} || Signature alignment || String || Optional || Defaults to <code>{{{qalign}}}</code> | ||
|- | |- | ||
| {{code| | | {{code|sstyle}} || Signature style || String || Optional || | ||
|- | |- | ||
| {{code|source}}<br />{{code|2}} || Source/author || String || Optional || | | {{code|source}}<br />{{code|2}} || Source/author || String || Optional || | ||
|}{{clr}} | |}{{clr}}<!-- | ||
--> | |||
==Example== | ==Example== |
Revision as of 19:37, 27 February 2025
![]() |
This is a documentation subpage for Template:Quoter. It may contain usage information, categories and other content that is not part of the original template page. |
The {{quoter}} template places a box with a quotation in an article with article text floating around it. It is not intended for blockquotes which should use <blockquote>...</blockquote>
tags.
Usage
Parameters
Parameter | Description | Type | Status | Notes |
---|---|---|---|---|
align |
Float position | Text | Optional | Defaults to right . Other options: left , center , none
|
width |
Box width | String | Optional | Defaults to full page unless a value is set |
border |
Box border | String | Optional | Defaults to 1px
|
fontsize |
Font size | String | Optional | Defaults to 88%
|
bgcolor |
Box background color | String | Optional | Defaults to #F9F9F9 ()
|
style |
Box style | String | Optional | |
title |
Quote title | String | Optional | |
title_bg |
Title background | String | Optional | Defaults to {{{bgcolor}}}
|
title_fnt |
Title font color | String | Optional | Defaults to black ()
|
tstyle |
Title style | String | Optional | |
qalign |
Quote alignment | String | Optional | Defaults to {{{halign|left}}}
|
qstyle |
Quote style | String | Optional | |
quoted |
String | Optional | ||
quote 1 |
Quote text | String | Optional | |
salign |
Signature alignment | String | Optional | Defaults to {{{qalign}}}
|
sstyle |
Signature style | String | Optional | |
source 2 |
Source/author | String | Optional |