Pojdi na vsebino

Predloga:Citatni blok/dok

Iz Wikipedije, proste enciklopedije


The Manual of Style guidelines for block quotations recommend formatting block quotations using the {{Blockquote}} template or the HTML <blockquote> element, for which that template provides a wrapper.

  • Quotes work best when used with short sentences, and at the start or end of a section, as a hint of or to help emphasize the section's content.
  • For typical quotes, especially those longer than the rest of the paragraph in which they are quoted, {{Cquote}} (for use outside of article space only) provides a borderless quote with decorative quotation marks, and {{Quote frame}} provides a bordered quote. Both span the page width.
  • For very short quotes, {{Rquote}} (with decorative quotation marks, for use outside of article space only) or {{Quote box}} (framed) can be used to set the quote off to either the right or left as in a magazine sidebar. This can be effective on essay pages and WikiProject homepages.

Uporaba

[uredi kodo]
  • Okrog navedka ne piši narekovajev. Predloga deluje kot citatni blok, pri čemer je navedek ločen od besedila.
  • {{Citatni blok|besedilo citata|Avtor|Vir navedbe}}

besedilo citata

— Avtor, Vir navedbe
  • {{Citatni blok|besedilo citata}}

besedilo citata

Enačaj (=)

[uredi kodo]

Če katerikoli parameter vsebuje enačaj, ga predloga ne bo pravilno prepoznala. Za odstranitev tega problema moraš v predlogi uporabiti "1=", "2=", itd., glede na to na kateri parameter se nanaša.

Primer

[uredi kodo]

{{Navedba|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.|Kdor je to rekel|Vir navedbe}}

prikaz:

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.

— Kdor je to rekel, Vir navedbe

Napake

[uredi kodo]

Pages where this template is not used correctly populate Kategorija:Strani z nepravilno uporabo predloge za citate. The category tracks tranclusions of Predloga:Citatni blok that have no text given for quotation or use an equals sign in the argument of an unnamed parameter. It also tracks usage of |class=, |id=, |diff=, |4=, or |5=.

Sledilna kategorija

[uredi kodo]

Articles that use unsupported parameters are placed in Kategorija:Strani, ki uporabljajo predlogo Citatni blok z neznanimi parametri (7).

TemplateData

[uredi kodo]
To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Citatni blok

Adds a block quotation.

Parametri predloge[Urejanje podatkov predloge]

ParameterOpisVrstaStanje
texttext 1 quote

The text to quote

Zgled
Cry "Havoc" and let slip the dogs of war.
Vsebinazahtevano
authorauthor 2 cite sign

The writer of the source

Zgled
William Shakespeare
Vsebinapredlagano
titletitle 3

The work being quoted from

Zgled
Julius Caesar
Vsebinapredlagano
sourcesource 4

A source for the quote

Zgled
act III, scene I
Vsebinapredlagano
charactercharacter 5

The speaker within the work who is being quoted

Zgled
Mark Antony
Vsebinaneobvezno
multilinemultiline

Keeps forced linebreaks in output

Zgled
true
Nizneobvezno
stylestyle

Additional CSS styles (not classes) to apply

Zgled
font-size:inherit;
Nizneobvezno
classclass

Additional HTML classes to apply

Zgled
pullquote
Nizneobvezno

Glej tudi

[uredi kodo]
Podobne predloge
  • Predloga:Cquote – pull-quote between graphic quotation marks, page-wide
  • Predloga:Epigraph – quote without border, page-wide, normal-sized attribution
  • Predloga:Quote box – quote with border, in a reduced floating box
  • Predloga:Rquote – pull-quote between graphic quotation marks, in a reduced floating area
  • – more templates