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|Publishers of English classics for the educational trade, [[Harrap]] was also known for publishing finely illustrated books by Rackham, Gooden, and others, and as the publisher of Winston Churchill.
{{cquote|This is one.
|4=this is four
|4=This is four
|5=this is five}}  
|5=and this is five.}}  


which is generated by{{!:}}: 
which is generated by{{!:}}: 
<pre>
<pre>
{{cquote|Publishers of English classics for the educational trade, [[Harrap]] was also known for publishing finely illustrated books by Rackham, Gooden, and others, and as the publisher of Winston Churchill.
{{cquote|This is one.
|4=this is four
|4=This is four
|5=this is five}}  
|5=and this is five.}}  
</pre>
</pre>


Anonymer Benutzer