http://ml.sayahna.org/index.php?title=Template:Quote/doc&feed=atom&action=historyTemplate:Quote/doc - Revision history2024-03-28T23:54:33ZRevision history for this page on the wikiMediaWiki 1.31.5http://ml.sayahna.org/index.php?title=Template:Quote/doc&diff=4856&oldid=prevAdmin: 1 revision2014-03-23T05:07:29Z<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:Quote/doc&diff=4855&oldid=prevHelder.wiki: Removed 40 sitelinks migrated to an item on Wikidata2014-03-02T19:41:27Z<p>Removed 40 sitelinks migrated to <a href="/index.php?title=D:Q3918978&action=edit&redlink=1" class="new" title="D:Q3918978 (page does not exist)">an item</a> on <a href="/index.php?title=WP:WDATA&action=edit&redlink=1" class="new" title="WP:WDATA (page does not exist)">Wikidata</a></p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<br />
{{For|linking a subject to a collection of quotes on [[Wikiquote]]|Template:Wikiquote}}<br />
<br />
== Usage ==<br />
<br />
{{tlx|Quote}} adds a [[block quotation]] to an article page.<br />
<br />
This is easier to type and more wiki-like than the equivalent [[HTML]] {{tag|blockquote}} tags, and has additional pre-formatted attribution and source parameters. <!-- THIS WORKAROUND FAILED; see talk page and its archives. New workaround provided hereafter. It also contains a workaround for [[Bugzilla:6200]], which means you don't need to type {{tag|p}} tags manually. --><br />
<br />
'''Note:''' Block quotes do not normally contain quotation marks. See [[MOS:Blockquote]].<br />
<br />
=== Synopsis ===<br />
<br />
;Unnamed (positional) parameters<br />
<code><nowiki>{{quote|phrase|person|source}}</nowiki></code><br />
This markup will fail if any parameter contains an equals sign (=).<br />
<br />
;Numbered (positional) parameters<br />
<code><nowiki>{{quote|1=phrase|2=person|3=source}}</nowiki></code><br />
<br />
;Named parameters<br />
<code><nowiki>{{quote|text=phrase|sign=person|source=source}}</nowiki></code><br />
<br />
=== Example ===<br />
<br />
;Wikitext:<br />
<code><nowiki>{{Quote|text=Cry "Havoc" and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', act III, scene I}}</nowiki></code><br />
<br />
;Result:<br />
{{Quote|text=Cry "Havoc" and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', act III, scene I}}<br />
<br />
=== Restrictions ===<br />
<br />
If you do not provide quoted text, the template generates a parser error message, which will appear in red text in the rendered page.<br />
<br />
If any parameter's actual value contains an [[equals sign]] (=), you '''''must''''' use named parameters or a blank-name parameter, as: <nowiki>{{{|text}}}</nowiki>. (The equals sign gets interpreted as a named parameter otherwise.)<br />
<br />
If any parameter's actual value contains characters used for wiki markup syntax (such as [[vertical bar|pipe]], [[brackets]], single quotation marks, etc.), you may need to escape it. See [[Template:!]] and friends.<br />
<br />
Be wary of URLs which contain restricted characters. The equals sign is especially common. Put a break (newline) after the template, or the next blank line might be ignored.<br />
<br />
=== Line breaks ===<br />
<br />
{{Blockquote paragraphs}}<br />
<br />
== TemplateData ==<br />
{{TemplateDataHeader}}<br />
<templatedata>{<br />
"description": "Adds a block quotation.",<br />
"params": {<br />
"text": {<br />
"label": "text",<br />
"description": "The text to quote",<br />
"type": "string",<br />
"required": false,<br />
"aliases": [ "1", "quote" ]<br />
},<br />
"sign": {<br />
"label": "sign",<br />
"description": "The person who quote it is",<br />
"type": "string",<br />
"required": false,<br />
"aliases": [ "2", "cite" ]<br />
},<br />
"source": {<br />
"label": "source",<br />
"description": "A source for the quote",<br />
"type": "string",<br />
"required": false,<br />
"aliases": [ "3" ]<br />
}<br />
}<br />
}</templatedata><br />
<br />
== Known problems ==<br />
This template sets a text style which might ignore one blank line, and so the template must be ended with a break (newline). Otherwise, beware inline, as:<br />
::* text here <nowiki>{{quote|this is quoted}}</nowiki> More text here spans a blank line<br />
Unless a <nowiki>{{quote|xx}}</nowiki> is ended with a line break, then the next blank line might be ignored and two paragraphs joined.<br />
<br />
== See also ==<br />
{{Quotation templates see also}}<br />
<br />
<includeonly><br />
<!-- ADD CATEGORIES AFTER THIS LINE --><br />
[[Category:Quotation templates|Quote]]<br />
<br />
[[la:Formula:Locus]]<br />
[[ro:Format:Cquote]]<br />
</includeonly></div>Helder.wiki