Editing Template:Cquote/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  
===Usage===
+
'''Usage:'''  <code><nowiki>{{cquote|quote text|quote width in pixels|quote height in pixels|Origin of quote|Cited source}}</nowiki><code>
# <code><nowiki>{{cquote|quote text}}</nowiki></code>
+
* Only the first parameter is required.
# <code><nowiki>{{cquote|quote text|quotewidth=40px|quoteheight=40px}}</nowiki></code> or <code><nowiki>{{cquote|quote text|40px|40px}}</nowiki></code>
 
# <code><nowiki>{{cquote|quote text|quote width in pixels|quote height in pixels|Origin of quote|Cited source}}</nowiki></code>
 
  
Only the first parameter is required.
+
<includeonly>
 
+
<!-- ADD CATEGORIES BELOW THIS LINE -->
===Parameters===
+
[[category:Templates|{{PAGENAME}}]]
* Parameter 1: text of the quote; use <code><nowiki><br /> between paragraphs. </nowiki></code>[REQUIRED]
+
</includeonly>
::'''Note''': if the quote text contains one or more "=" (equal signs), then the template must be called as <nowiki>{{cquote|</nowiki>'''<span style="color:red">1=</span>'''<nowiki>quote text}}</nowiki> (see [http://meta.wikimedia.org/wiki/Help:Templates#Equals_sign_in_parameter_value "Equals sign in parameter value"])
 
 
 
The next two parameters can be used to scale the graphical quotation marks up and down to suit larger or smaller quotes. 
 
* Parameter 2: "quotewidth" - desired width of the quote image; defaults to 20px
 
* Parameter 3: "quoteheight" - desired height of the quote image; defaults to 20px.
 
 
 
The last two parameters can be used to provide attribution for the quote:
 
* Parameter 4: Name of the person that wrote or spoke the text being quoted. Can include links.
 
* Parameter 5: Source of the quote (publication title, speech, etc.).  Can include links.
 
 
 
[[Category:Templates]]
 

Please note that all contributions to Pensapedia, the Pensacola encyclopedia are considered to be released under the GNU Free Documentation License 1.2 (see Pensapedia:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)