Template:Blockquote/doc: Difference between revisions

merged example sections, example fix; fixed wording in templatedata
(merged example sections, example fix; fixed wording in templatedata)
Line 48:
|title="Article Title"
|source=''Book Title'' (date)
}}}}
}}}}<!-- Template:Mra -->
 
;An ample example<!-- no pun intended -->
{{markupv
|rendersmarkup=<syntaxhighlight lang="moin">{{Quote|text=Cry "Havoc" and let slip the dogs of war.|character=Mark Antony|author=[[William Shakespeare]]|title=''[[Julius Caesar (play)|Julius Caesar]]''|source=act III, scene I}}</syntaxhighlight>
|markuprenders=<syntaxhighlight lang="moin">{{Quote|text=Cry "Havoc" and let slip the dogs of war.|character=Mark Antony|author=[[William Shakespeare]]|title=''[[Julius Caesar (play)|Julius Caesar]]''|source=act III, scene |markup=<syntaxhighlight lang="moin">{{Quote|text=Cry "Havoc" and let slip the dogs of war.|character=Mark Antony|author=[[William Shakespeare]]|title=''[[Julius Caesar (play)|Julius Caesar]]''|source=act III, scene I}}</syntaxhighlight>
}}
 
== Parameters ==
Line 100 ⟶ 106:
 
Please do not place the citation in a {{para|author}} or {{para|source}} parameter by itself, as it will produce a nonsensical attribution line that looks like:<br />{{in5}}—&#8239;{{dummy reference}}<br />Please also do not put it just outside the {{tl|Quote}} template, as this will cause a:<br />{{in5}}{{dummy reference}}<br />on a line by itself.
 
== Examples ==
{{markupv
|markup=<syntaxhighlight lang="moin">{{Quote|text=Cry "Havoc" and let slip the dogs of war.|character=Mark Antony|author=[[William Shakespeare]]|title=''[[Julius Caesar (play)|Julius Caesar]]''|source=act III, scene |markup=<syntaxhighlight lang="moin">{{Quote|text=Cry "Havoc" and let slip the dogs of war.|character=Mark Antony|author=[[William Shakespeare]]|title=''[[Julius Caesar (play)|Julius Caesar]]''|source=act III, scene I}}</syntaxhighlight>
|renders={{Quote|text=Cry "Havoc" and let slip the dogs of war.|character=Mark Antony|author=[[William Shakespeare]]|title=''[[Julius Caesar (play)|Julius Caesar]]''|source=act III, scene I}}
}}
 
== Limitations ==
Line 170:
"suggested": true
},
"title": {
"label": "title",
"description": "The sourcework being quoted from",
"type": "content",
"required": false,
Line 192:
"suggested": true
},
"character": {
"label": "character",
"description": "The speaker within the work who is being quoted",
Line 203:
"suggested": false
},
"style": {
"label": "style",
"description": "Additional CSS styles (not classes) to apply",
Line 210:
"suggested": false
},
"notrim": {
"label": "notrim",
"description": "Turns off automatic trimming of quotation marks, to work around a bug that affects bold/italic wikimarkup",
Anonymous user