Zum Inhalt springen

Vorlage:Cquote/Doku: Unterschied zwischen den Versionen

structure cleanup
(Resolving self-contradictory advice; noting where this CAN be used well. Fixed wretched and in parts completely smartassy documentation.)
(structure cleanup)
Zeile 2: Zeile 2:
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->


==Usage==
'''{{tl|Cquote}}''' (for '''Centered pull-quote''') is a template meant for [[pull-quote]]s, which stand apart from the text of a page.   
'''{{tl|Cquote}}''' (for '''Centered pull-quote''') is a template meant for [[pull-quote]]s, which stand apart from the text of a page.   


Zeile 8: Zeile 9:
* For shorter pull-quotes of 50 words or fewer in a similar style, consider using {{tl|Rquote}} which sets the quote off to either the right or left as in a magazine [[sidebar]].  This can be effective on [[WP:ESSAY|essay]] pages and [[WP:WIKIPROJECT|WikiProject]] homepages.
* For shorter pull-quotes of 50 words or fewer in a similar style, consider using {{tl|Rquote}} which sets the quote off to either the right or left as in a magazine [[sidebar]].  This can be effective on [[WP:ESSAY|essay]] pages and [[WP:WIKIPROJECT|WikiProject]] homepages.


===Usage===
===Syntax===
# <code><nowiki>{{cquote|quote text}}</nowiki></code>
# <code><nowiki>{{cquote|quote text}}</nowiki></code>
# <code><nowiki>{{cquote|quote text|quotewidth=40px}}</nowiki></code> or <code><nowiki>{{cquote|quote text|40px|}}</nowiki></code>
# <code><nowiki>{{cquote|quote text|quotewidth=40px}}</nowiki></code> or <code><nowiki>{{cquote|quote text|40px|}}</nowiki></code>
Zeile 26: Zeile 27:
|5=this is five}}  
|5=this is five}}  
</pre>
</pre>
===Parameters===
===Parameters===
; Parameter 1: text of the quote; use <code><nowiki><br /></nowiki></code> between paragraphs.
; Parameter 1: text of the quote; use <code><nowiki><br /></nowiki></code> between paragraphs.
Zeile 64: Zeile 66:
<references />
<references />


===See also===
==See also==


;Direct variants:
;Direct variants:
Anonymer Benutzer