Vorlage:Cquote/Doku: Unterschied zwischen den Versionen
clearer example code
(structure cleanup) |
(clearer example code) |
||
Zeile 17: | Zeile 17: | ||
: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 and author as 4= and 5= respectively (using them as named parameters—the preprocessor takes such fine): | :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 and author as 4= and 5= respectively (using them as named parameters—the preprocessor takes such fine): | ||
{{cquote| | {{cquote|This is one. | ||
|4= | |4=This is four | ||
|5=this is five}} | |5=and this is five.}} | ||
which is generated by{{!:}}: | which is generated by{{!:}}: | ||
<pre> | <pre> | ||
{{cquote| | {{cquote|This is one. | ||
|4= | |4=This is four | ||
|5=this is five}} | |5=and this is five.}} | ||
</pre> | </pre> | ||