Vorlage:Cquote/Doku: Unterschied zwischen den Versionen

Keine Änderung der Größe ,  vor 14 Jahren
→‎Syntax: To match paramter assignments in next section
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 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 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=Publication
|4=Author
|5=Author}}  
|5=Publication}}  


which is generated by{{!:}}: 
which is generated by{{!:}}: 
<pre>
<pre>
{{cquote|This is one.
{{cquote|This is one.
|4=Publication
|4=Author
|5=Author}}  
|5=Publication}}  
</pre>
</pre>


Anonymer Benutzer