टेम्पलेट:Quote/doc: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>SMcCandlish
छो →‎Line breaks: heading level fix
imported>SMcCandlish
use same parameter name as the cite templates; code cleanup; rm. silly double-emphasis
लाइन 13:
'''Unnamed (positional) parameters'''
<code><nowiki>{{quote|phrase|person|source}}</nowiki></code>
This markup will fail if any parameter contains an equals sign (<code>=</code>).
 
'''Numbered (positional) parameters'''
लाइन 19:
 
'''Named parameters'''
<code><nowiki>{{quote|text=phrase|signauthor=person|source=source}}</nowiki></code>
 
== Style ==
लाइन 50:
 
{{markupv
|markup=<nowiki>{{Quote|text=Cry "Havoc" and let slip the dogs of war.|signauthor=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', act III, scene I}}</nowiki>
|renders=
{{Quote|text=Cry "Havoc" and let slip the dogs of war.|signauthor=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', act III, scene I}}
}}
 
लाइन 58:
If you do not provide text, the template generates a parser error message, which will appear in red text in the rendered page.
 
If any parameter's actual value contains an [[equals sign]] (<code>=</code>), you '''''must''''' use named parameters or a blank-name parameter, as: <nowiki>{{{|text}}}</nowiki>. (The text before the equals sign gets interpreted as a named parameter otherwise.)
 
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.
लाइन 94:
"aliases": [
"2",
"cite",
"author"
],
"example": "[[William Shakespeare]]",