Vorlage:Cquote/Doku: Unterschied zwischen den Versionen
(→Syntax: Document named parameters) |
(→Parameters: + names) |
||
Zeile 39: | Zeile 39: | ||
;Parameter 2: "size", "quotewidth", or "width" can also be used. - desired size of the quotation marks; defaults to 20px (anything larger than 48px is not recommended). This can be used to scale the graphical [[quotation mark]]s up and down to suit larger or smaller quotes. | ;Parameter 2: "size", "quotewidth", or "width" can also be used. - desired size of the quotation marks; defaults to 20px (anything larger than 48px is not recommended). This can be used to scale the graphical [[quotation mark]]s up and down to suit larger or smaller quotes. | ||
;<del>Parameter 3</del>:<del>"quoteheight"</del> - it was used for desired height of the quotation marks, but no longer. | ;<del>Parameter 3</del>:<del>"quoteheight"</del> - it was used for desired height of the quotation marks, but no longer. | ||
; Parameter 4: Name of the person that wrote or spoke the text being quoted. Can include links. | ; author / Parameter 4: Name of the person that wrote or spoke the text being quoted. Can include links. | ||
: '''Note''': if the text contains one or more "=" (equal signs), then the template must be called as <nowiki>{{cquote|</nowiki>'''<span style="color:red;">4=</span>'''<nowiki>text}}</nowiki> | : '''Note''': if the text contains one or more "=" (equal signs), then the template must be called as <nowiki>{{cquote|</nowiki>'''<span style="color:red;">4=</span>'''<nowiki>text}}</nowiki> | ||
; Parameter 5: Source of the quote (publication title, speech, etc.). Can include links. | ; source / publication / Parameter 5: Source of the quote (publication title, speech, etc.). Can include links. | ||
: '''Note''': if the text contains one or more "=" (equal signs), then the template must be called as <nowiki>{{cquote|</nowiki>'''<span style="color:red;">5=</span>'''<nowiki>text}}</nowiki> | : '''Note''': if the text contains one or more "=" (equal signs), then the template must be called as <nowiki>{{cquote|</nowiki>'''<span style="color:red;">5=</span>'''<nowiki>text}}</nowiki> | ||
; bgcolor: The color of the background. | ; bgcolor: The color of the background. |