Template:Quote: Difference between revisions

From BetaArchive Wiki
mediawiki.org>Down10
m (fixes)
No edit summary
 
(69 intermediate revisions by 35 users not shown)
Line 1: Line 1:
<noinclude>{{For|linking a subject to a collection of quotations on [[Wikiquote]]|Template:Wikiquote}}
<blockquote class="templatequote"><div class="Bug6200">{{{text|{{{quote|{{{1|<noinclude>Some text</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|{{{cite|{{{2|<noinclude>TRUE</noinclude>}}}}}}}}}
{{-}}
|<div class="templatequotecite">&#8212;{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}
{{{{FULLPAGENAME}}|{{lorem ipsum}}|Someone|Someone's full name|''Source''}}
  |,&nbsp;<cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite>
</noinclude>
}}</div>
<includeonly><blockquote class="templatequote">“{{{1|Insert the text of the quote here, without quotation marks. {{lorem ipsum}}}}}
}}</blockquote>
{{#if:{{{2}}}|<p style="font-size:smaller;line-height:1em;text-align:left;padding-left:2em;">&#8212;&#8202;<cite style="font-style:normal;">{{#if:{{{3}}}|[[{{{3|<nowiki>Wikilink Someone</nowiki>}}}{{!}}}}}}{{{2|<noinclude>Someone</noinclude>}}}{{#if:{{{3}}}|]]}}{{#if:{{{4}}}|,&nbsp;{{{4|<noinclude>Source</noinclude>}}}}}</cite></p>}}</blockquote><!-- {{subst:FULLPAGENAME}} --></includeonly><noinclude>{{-}}
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
{{esoteric}}
==Usage==
<code><nowiki>{{Quote|Phrase|Somebody}}</nowiki></code> produces:
 
{{Quote|Phrase|Somebody}}
 
<code><nowiki>{{Quote|Phrase|Somebody|Somebody's full name}}</nowiki></code> produces:
 
{{Quote|Phrase|Somebody|Somebody's full name}}
 
<code><nowiki>{{Quote|Phrase|Somebody|Somebody's full name|topic}}</nowiki></code> produces:
 
{{Quote|Phrase|Somebody|Somebody's full name|topic}}
 
[[fr:modèle:citation]]
[[Category:Quotation templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 18:26, 27 April 2019

Some text
SomeoneSource