Anonymous user
Template:Blockquote/doc: Difference between revisions
use same parameter name as the cite templates; code cleanup; rm. silly double-emphasis
m (→Line breaks: heading level fix) |
(use same parameter name as the cite templates; code cleanup; rm. silly double-emphasis) |
||
Line 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'''
Line 19:
'''Named parameters'''
<code><nowiki>{{quote|text=phrase|
== Style ==
Line 50:
{{markupv
|markup=<nowiki>{{Quote|text=Cry "Havoc" and let slip the dogs of war.|
|renders=
{{Quote|text=Cry "Havoc" and let slip the dogs of war.|
}}
Line 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
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.
Line 94:
"aliases": [
"2",
"cite",
"author"
],
"example": "[[William Shakespeare]]",
|