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

ApoWikistä
Erkkimon (keskustelu | muokkaukset)
Mallineen pohja on tuotu Wikipediasta (http://fi.wikipedia.org/w/index.php?title=Malline:Sitaatti&oldid=4559712)
 
Darter (keskustelu | muokkaukset)
p vaihdetaan uuhjelleenohjaus lainaus -mallineen sisältöön, koska transcluudaaminen ei toimi artsuissa
 
(2 välissä olevaa versiota toisen käyttäjän tekemänä ei näytetä)
Rivi 1: Rivi 1:
<blockquote style="width: auto; background: transparent; margin-bottom: .5em; font-size: 100%; color: #404040; text-align:left;">
<blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px; display:table;"> {{{1<noinclude>|&nbsp;&nbsp;{{Lorem}}</noinclude>}}}
»{{{1}}}» {{ #if: {{{2|}}} | <br/><cite>({{{2}}})</cite> | }}
 
</blockquote><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>
* Malline pitkien sitaattien esittämiseen artikkelissa.
==Usage==
* Käyttöohje: <code><nowiki>{{sitaatti|sitaatin teksti|sitaatin tekijä ja lähde}}</nowiki></code>
 
* Viimeinen parametri ei ole välttämätön
* '''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>
</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'' (2026)}}

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

Your text

– Author, from "Short Story", in Anthology (2026)

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.