Vorlage:Cquote/Doku: Unterschied zwischen den Versionen
K (→Syntax: Punctuation) |
(→Syntax: To match paramter assignments in next section) |
||
Zeile 15: | Zeile 15: | ||
;Only the first parameter is required. | ;Only the first parameter is required. | ||
:But since sizes are slotted into the second parameter place by default, to cite a source one must deliberately define dummy parameters for those (abusing the template logic, which expects numbers), or explicitly define the source publication | :But since sizes are slotted into the second parameter place by default, to cite a source one must deliberately define dummy parameters for those (abusing the template logic, which expects numbers), or explicitly define the source author and publication as 4= and 5= respectively (using them as named parameters—the preprocessor takes such fine): | ||
{{cquote|This is one. | {{cquote|This is one. | ||
|4= | |4=Author | ||
|5= | |5=Publication}} | ||
which is generated by{{!:}}: | which is generated by{{!:}}: | ||
<pre> | <pre> | ||
{{cquote|This is one. | {{cquote|This is one. | ||
|4= | |4=Author | ||
|5= | |5=Publication}} | ||
</pre> | </pre> | ||