Template:Cquote/doc: Difference between revisions

added {{tlx}}s, {{stronggood}}, {{=}}s, {{var}}s, and {{A note}}
(added {{tlx}}s, {{stronggood}}, {{=}}s, {{var}}s, and {{A note}})
Line 8:
 
===Syntax===
* <code><nowiki>{{</nowiki>tlx|{{BASEPAGENAME}}|text2=quote={{var|text of the quotation}}|3=author={{var|person quoted}}|4=source={{var|source of the quotation}}<nowiki>}}</nowiki></code>
 
===Parameters===
; Parameter <code>1</code>, <code>quote</code>: text of the quote; use {{tag|p}} around second or subsequent paragraphs.
: '''''Required'''''
: '''Note''':{{A note}} if the quote text contains a <code>=</code> (equal sign), then the template must be called with a named parameter for the content, e.g. <code><nowiki>For example: {{tlx|Cquote|</nowiki>'''<span style="color:red;">{{stronggood|quote{{=</span>'''<nowiki>}}}}{{var|quote text{{=}}more quoted text}}}}</nowiki></code> {{crossref|1=(see {{section link|Help:Template#Usage hints and workarounds}})}}.
; <code>author</code>: Name of the person that wrote or spoke the text being quoted. Can include wiki syntax.
; <code>source</code>: Source of the quote (publication title, speech, etc.). Can include wiki syntax. Can be used without {{para|author}} (e.g. for a scripture, law, or other source without an author ''per se'')
Anonymous user