Predloga:Citatni blok/dok
To je dokumentacijska podstran za glavno stran Predloga:Citatni blok. Namenjena je shranjevanju navodil, kategorizaciji in drugi vsebini, ki ni del glavne strani. Predloga ima preizkušanju namenjen peskovnik in testneprimere. |
Ta predloga uporablja TemplateStyles: |
Predloga se uporablja na številnih straneh. Z urejanjem te predloge lahko zelo obremenite strežnike, zato pred uvedbo vse spremembe, ki jih želite uvesti, preizkusite na njenih podstraneh (/peskovnik oziroma /testniprimeri) ali na svojih lastnih podstraneh. Preizkusite jih lahko tudi v posebnem peskovniku za predloge. Preizkušene spremembe se lahko v predlogo dodajo z enim samim urejanjem. Preden predlogo spremenite, se o spremembah rajši pogovorite na njeni pogovorni strani. |
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]TemplateData za Citatni blok
Adds a block quotation.
Parameter | Opis | Vrsta | Stanje | |
---|---|---|---|---|
text | text 1 quote | The text to quote
| Vsebina | zahtevano |
author | author 2 cite sign | The writer of the source
| Vsebina | predlagano |
title | title 3 | The work being quoted from
| Vsebina | predlagano |
source | source 4 | A source for the quote
| Vsebina | predlagano |
character | character 5 | The speaker within the work who is being quoted
| Vsebina | neobvezno |
multiline | multiline | Keeps forced linebreaks in output
| Niz | neobvezno |
style | style | Additional CSS styles (not classes) to apply
| Niz | neobvezno |
class | class | Additional HTML classes to apply
| Niz | neobvezno |
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