Template:Quote: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
redo entirely
(Created page with ";Description :This template displays text within enlarged quotes, and centers it on the page. ;Syntax :Type <code>{{t|quote|speaker|source}}</code> somewhere. The first parame...")
 
(redo entirely)
 
(6 intermediate revisions by 3 users not shown)
Line 1:
:<span style="{{#if:{{{nostyle|}}}||font-family:Times New Roman;font-size:11pt;}}font-style:italic;">&ldquo;{{{1}}}&rdquo;</span>
;Description
:<span style="{{#if:{{{nostyle|}}}||font-family:Times New Roman;font-size:11pt;}}padding-left:15px;">&ndash; <span style="font-weight:bold;">[[{{{2}}}|{{#switch:{{{4}}}|{{{4}}}|#default={{{2}}}}}]]</span>{{#if:{{{3|}}}|, <span style="font-style:italic;">[[{{{3}}}]]</span>}}</span><noinclude>
:This template displays text within enlarged quotes, and centers it on the page.
==Usage==
;Syntax
Original template from [[mariowiki:Template:Quote|Super Mario Wiki]].
:Type <code>{{t|quote|speaker|source}}</code> somewhere. The first parameter enlarges the size of the quotes, the second parameter defines the width of the quote, the third displays who said the quote, and the fourth is for where the quote came from.
;Sample output
:<code><nowiki>{{quote|Lorem ipsum}}</nowiki></code> gives...
 
For quoting. For a similar template without automatic linking, see {{t|quote2}}.
{{quote|Lorem ipsum}}
 
==Code==
:<code><nowiki>{{quote|Lorem ipsum|Julius Caesar}}</nowiki></code> gives...
<pre><nowiki>{{quote|The quote.|Who said the quote|Game, year, subject, etc.}}</nowiki></pre>
 
[[Category:Formatting templates]]</noinclude>
{{quote|Lorem ipsum|Julius Caesar}}
 
:<code><nowiki>{{quote|Lorem ipsum|Julius Caesar|Rome}}</nowiki></code> gives...
 
{{quote|Lorem ipsum|Julius Caesar|Rome}}
 
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu