Template:Quote/small/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{Documentation subpage}} ==Usage== {{tlx|Quote}} adds a block quotation to an article page. This is easier to type and more wiki-like than the equivalent HTML {{tag|...")
 
No edit summary
 
Line 5: Line 5:
==Usage==
==Usage==


{{tlx|Quote}} adds a [[block quotation]] to an article page.
{{tlx|Quote/small}} adds a [[block quotation]] to an article page.


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. -->
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. -->
Line 18: Line 18:


;Numbered (positional) parameters
;Numbered (positional) parameters
<code><nowiki>{{quote|1=phrase|2=person|3=source}}</nowiki></code>
<code><nowiki>{{quote/small|1=phrase|2=person|3=source}}</nowiki></code>


;Named parameters
;Named parameters
<code><nowiki>{{quote|text=phrase|sign=person|source=source}}</nowiki></code>
<code><nowiki>{{quote/small|text=phrase|sign=person|source=source}}</nowiki></code>


=== Example ===
=== Example ===


;Wikitext:
;Wikitext:
<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>
<code><nowiki>{{Quote/small|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>


;Result:
;Result:
{{Quote|text=Cry “Havoc” and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I}}
{{Quote/small|text=Cry “Havoc” and let slip the dogs of war.|sign=[[William Shakespeare]]|source=''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I}}


=== Restrictions ===
=== Restrictions ===

Navigation menu