Ero sivun ”Malline:Sitaatti” versioiden välillä

ApoWikistä
p (rd)
p (vaihdetaan uuhjelleenohjaus lainaus -mallineen sisältöön, koska transcluudaaminen ei toimi artsuissa)
 
(Yhtä välissä olevaa versiota toisen käyttäjän tekemänä ei näytetä)
Rivi 1: Rivi 1:
#OHJAUS [[lainaus]]
<blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px; display:table;"> {{{1<noinclude>|&nbsp;&nbsp;{{Lorem}}</noinclude>}}}
 
{{#if:{{{2|<noinclude>x</noinclude>}}}|<p style="text-align: right;"> &ndash; <cite>{{{2}}}{{#if:{{{3|<noinclude>x</noinclude>}}}|, ''{{{3}}}''}}{{#if:{{{4|<noinclude>x</noinclude>}}}|, {{{4}}}}}</cite></p>}}</blockquote><noinclude>
==Usage==
 
* '''You should not put quotation marks around the quote. This template acts as a [[pull quote]] to separate it from the text instead.'''
* '''NOTE''': This template should '''not be used''' for [[block quote]]s in article text.  For long quotations in the text, the [[Wikipedia:Manual of Style#Quotations|Manual of Style]] recommends using the HTML &lt;[[blockquote]]&gt; element, such as through the use of the {{tl|Quote}} template.
* <code><nowiki>{{Quotation|Clunk mouse colored mauve. Bully other rodents, stealing the cheese rapid. Police mice catch crook squeak video prime time TV show. Juror mouse frown XXXX1.|Whoever said it|Source of the quote}}</nowiki></code>
 
produces:
 
{{Quotation|Clunk mouse colored mauve. Bully other rodents, stealing the cheese rapid. Police mice catch crook squeak video prime time TV show. Juror mouse frown XXXX1.|Whoever said it|Source of the quote}}
 
* <CODE><NOWIKI>{{Quotation|Your text|Author||from "Short Story", in ''Anthology'' (</NOWIKI>{{CURRENTYEAR}}<NOWIKI>)}}</NOWIKI></CODE>
 
produces the following (notice the <NOWIKI>||</NOWIKI> to skip the italicized parameter):
 
{{Quotation|Your text|Author||from "Short Story", in ''Anthology'' ({{CURRENTYEAR}})}}
 
===The equal sign (=)===
If any of the parameters include an equal sign, this will make the template not recognize the parameter properly. To fix this the parameter needs to be prefixed with "1=", "2=", etc. depending on which of the templates parameter's this applies to.
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
[[Luokka:Mallineet]]
</noinclude>

Nykyinen versio 28. kesäkuuta 2010 kello 17.23

  Malline:Lorem

{{{2}}}, {{{3}}}, {{{4}}}

Usage[muokkaa]

  • You should not put quotation marks around the quote. This template acts as a pull quote to separate it from the text instead.
  • NOTE: This template should not be used for block quotes in article text. For long quotations in the text, the Manual of Style recommends using the HTML <blockquote> element, such as through the use of the {{Quote}} template.
  • {{Quotation|Clunk mouse colored mauve. Bully other rodents, stealing the cheese rapid. Police mice catch crook squeak video prime time TV show. Juror mouse frown XXXX1.|Whoever said it|Source of the quote}}

produces:

Clunk mouse colored mauve. Bully other rodents, stealing the cheese rapid. Police mice catch crook squeak video prime time TV show. Juror mouse frown XXXX1.

Whoever said it, Source of the quote

  • {{Quotation|Your text|Author||from "Short Story", in ''Anthology'' (2024)}}

produces the following (notice the || to skip the italicized parameter):

Your text

Author, from "Short Story", in Anthology (2024)

The equal sign (=)[muokkaa]

If any of the parameters include an equal sign, this will make the template not recognize the parameter properly. To fix this the parameter needs to be prefixed with "1=", "2=", etc. depending on which of the templates parameter's this applies to.