Template:Quote: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with '<blockquote class="templatequote"><div>{{{text|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actu…') |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<blockquote class="templatequote"><div>{{{text|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}} | <blockquote class="templatequote"><div>{{{text|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}} | ||
</div>{{#if:{{{sign|{{{2|<noinclude>TRUE</noinclude>}}}}}}|<div class="templatequotecite">—{{{sign|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}|, <cite>{{{source|{{{3|<noinclude>''Source''</noinclude>}}}}}}</cite>}}</div >}}</blockquote><noinclude> | </div>{{#if:{{{sign|{{{2|<noinclude>TRUE</noinclude>}}}}}}|<div class="templatequotecite">—{{{sign|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}|, <cite>{{{source|{{{3|<noinclude>''Source''</noinclude>}}}}}}</cite>}}</div >}}</blockquote><noinclude> | ||
[[Category: | |||
=== Usage === | |||
;Unnamed parameters | |||
<code><nowiki>{{quote|phrase|person|source}}</nowiki></code> | |||
; Named parameters | |||
<code><nowiki>{{quote|text=phrase|sign=person|source=source}}</nowiki></code> | |||
=== Example === | |||
; Wikitext: | |||
<code><nowiki>{{quote|Cry “Havoc,” and let slip the dogs of war.|[[William Shakespeare]]|[[Julius Caesar (play)|''Julius Caesar'']], Act III, Scene I}}</nowiki></code> | |||
:or | |||
<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> | |||
; 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}} | |||
[[Category:Formatting templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 14:52, 14 January 2020
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.—Someone, Source
Usage
- Unnamed parameters
{{quote|phrase|person|source}}
- Named parameters
{{quote|text=phrase|sign=person|source=source}}
Example
- Wikitext
{{quote|Cry “Havoc,” and let slip the dogs of war.|[[William Shakespeare]]|[[Julius Caesar (play)|''Julius Caesar'']], Act III, Scene I}}
- or
{{quote|text=Cry “Havoc,” and let slip the dogs of war.|sign=[[William Shakespeare]]|source=[[Julius Caesar (play)|''Julius Caesar'']], Act III, Scene I}}
- Result
Cry “Havoc,” and let slip the dogs of war.—William Shakespeare, Julius Caesar, Act III, Scene I