http://ml.sayahna.org/index.php?title=Template:Centered_pull_quote/doc&feed=atom&action=historyTemplate:Centered pull quote/doc - Revision history2024-03-29T14:47:49ZRevision history for this page on the wikiMediaWiki 1.31.5http://ml.sayahna.org/index.php?title=Template:Centered_pull_quote/doc&diff=5010&oldid=prevAdmin: 1 revision2014-03-23T05:07:50Z<p>1 revision</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 05:07, 23 March 2014</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Adminhttp://ml.sayahna.org/index.php?title=Template:Centered_pull_quote/doc&diff=5009&oldid=prevWhatamIdoing: Emphasizing "repetition"2014-02-12T00:08:22Z<p>Emphasizing "repetition"</p>
<p><b>New page</b></p><div>{{Documentation subpage}}{{TOC right}}<br />
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --><br />
<br />
==Usage==<br />
'''{{tl|Centered pull quote}}''' is a template meant for [[pull quote]]s, the visually distinctive ''repetition'' of text that is ''already present'' in the same article. In most cases, this is not appropriate for use in encyclopedia articles.<br />
<br />
* <font color="red">'''NOTE''': This template should '''not be used''' for quotations</font> if they are not repeated elsewhere in the main text. The [[Wikipedia:Manual of Style#Quotations|Manual of Style]] recommendation is:<br />
** For visually distinctive quotation, use {{tl|Quotation}} template.<br />
** For long quotations, use the HTML &lt;[[blockquote]]&gt; element, such as through the use of the {{tl|Quote}} or {{tl|quote box}} template.<br />
* Pull quotes work best when used with short sentences, and at the start or end of a section, as a hint of the section's content.<br />
* 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 (publishing)|sidebar]]. This can be effective on [[WP:ESSAY|essay]] pages and [[WP:WIKIPROJECT|WikiProject]] homepages.<br />
<br />
===Syntax===<br />
# <code><nowiki>{{centered pull quote|quote text}}</nowiki></code><br />
# <code><nowiki>{{centered pull quote|quote text|author=author or speaker}}</nowiki></code><br />
# <code><nowiki>{{centered pull quote|quote text|author=author or speaker|source=title of article, speech, book, etc.}}</nowiki></code><br />
<br />
===Parameters===<br />
; Parameter 1: text of the quote; use <code><nowiki><br /></nowiki></code> between paragraphs.<br />
: '''''Required'''''<br />
: '''Note''': if the quote text contains one or more "=" (equal signs), then the template must be called as <nowiki>{{centered pull quote|</nowiki>'''<span style="color:red;">1=</span>'''<nowiki>quote text}}</nowiki> (see [[m:Help:Templates#Equals sign in parameter value|"Equals sign in parameter value"]])<br />
; author: Name of the person that wrote or spoke the text being quoted. Can include wiki syntax.<br />
; source: Source of the quote (publication title, speech, etc.). Can include wiki syntax.<br />
; bgcolor: The color of the background.<br />
; wide: When set to "yes", the quote expands to the entire width of the page. Useful for small quotes, but may clash with other floating objects, such as infoboxes.<br />
<br />
===Simple example===<br />
<pre>{{centered pull quote|quote text}}</pre><br />
{{centered pull quote|To be, or not to be.}}<br />
<br />
===Sourced example===<br />
<pre>{{<br />
centered pull quote|Life is like riding a bicycle. To keep your balance you must keep moving.<br />
|author=[[Albert Einstein]]<br />
|source=in a letter to his son<ref>[[Walter Isaacson]], ''Einstein: His Life and Universe'' (2007), p. 367.</ref><br />
}}</pre><br />
<br />
{{centered pull quote|Life is like riding a bicycle. To keep your balance you must keep moving.<br />
|author=[[Albert Einstein]]<br />
|source=in a letter to his son<ref>[[Walter Isaacson]], ''Einstein: His Life and Universe'' (2007), p. 367.</ref><br />
}}<br />
<br />
{{Reflist}}<br />
<br />
===Other examples===<br />
<pre>{{centered pull quote|1=F=ma|author=[[Isaac Newton]]}}</pre><br />
(the ''1='' is necessary as quote text contains an equal sign)<br />
{{cquote|1=F=ma|author=[[Isaac Newton]]}}<br />
<br />
<pre>{{centered pull quote|1=Thus:<br />
:<math>E=mc^2</math>|author=[[Albert Einstein]]}}</pre><br />
(quote text contains an equal sign and math syntax)<br />
{{centered pull quote|1=Thus:<br />
:<math>E=mc^2</math>|author=[[Albert Einstein]]}}<br />
<br />
==See also==<br />
{{Quotation templates see also}}<br />
<br />
<includeonly><br />
<!-- ADD CATEGORIES BELOW THIS LINE --><br />
[[Category:Quotation templates|{{PAGENAME}}]]<br />
</includeonly></div>WhatamIdoing