Vikipedija isvwiki https://isv.wikipedia.org/wiki/Glavna_stranica MediaWiki 1.47.0-wmf.13 first-letter Media Special Besěda Koristnik Besěda s koristnikom Vikipedija Besěda Vikipedije Fajl Besěda o fajlu MediaWiki Besěda o MediaWiki Šablon Besěda o šablonu Pomoč Besěda o pomoči Kategorija Besěda o kategoriji TimedText TimedText talk Modul Besěda modula Event Event talk Šablon:Jedinice časa 10 202 44797 44679 2026-07-30T13:03:36Z IJzeren Jan 9 44797 wikitext text/x-wiki {{Navigacija | name = Jedinice časa | title = Jedinice časa | group1 = [[Denj]] | list1 = * [[časina]] * [[minuta]] * [[sekunda]] | group2 = [[Sedmica]] | list2 = * [[ponedělok]] * [[vtorok]] * [[srěda]] * [[četvrtok]] * [[petok]] * [[subota]] * [[nedělja]] | group3 = [[Měsec (period)|Měsec]] | list3 = * [[januar]] * [[fevruar]] * [[marec]] * [[aprilj]] * [[maj]] * [[junij]] * [[julij]] * [[avgust (měsec)]] * [[septembr]] * [[oktobr]] * [[novembr]] * [[dekembr]] | group4 = [[God]] | list4 = * [[desetilětje]] * [[Věk|stolětje (věk)]] * [[tysečlětje]] }}<noinclude> {{Dokumentacija|Template:Navigacija/Dokumentacija šablonov}} [[Kategorija:Šablony:Navigacija|Jedinice časa]] </noinclude> tvexl6o7gs1w0w2skdpj1xfkmyg36i5 44798 44797 2026-07-30T13:03:52Z IJzeren Jan 9 44798 wikitext text/x-wiki {{Navigacija | name = Jedinice časa | title = Jedinice časa | group1 = [[Denj]] | list1 = * [[časina]] * [[minuta]] * [[sekunda]] | group2 = [[Sedmica]] | list2 = * [[ponedělok]] * [[vtorok]] * [[srěda]] * [[četvrtok]] * [[petok]] * [[subota]] * [[nedělja]] | group3 = [[Měsec (period)|Měsec]] | list3 = * [[januar]] * [[fevruar]] * [[marec]] * [[aprilj]] * [[maj]] * [[junij]] * [[julij]] * [[avgust (měsec)|avgust]] * [[septembr]] * [[oktobr]] * [[novembr]] * [[dekembr]] | group4 = [[God]] | list4 = * [[desetilětje]] * [[Věk|stolětje (věk)]] * [[tysečlětje]] }}<noinclude> {{Dokumentacija|Template:Navigacija/Dokumentacija šablonov}} [[Kategorija:Šablony:Navigacija|Jedinice časa]] </noinclude> 7r2pki5vivmsqja9e3eibwfp6bp1aao Cil (kirilica) 0 767 44874 29480 2026-07-31T05:58:43Z Saderixthefox 690 44874 wikitext text/x-wiki [[Fajl:Cyrillic letter Cil (Uppercase and lowercase).svg | right | 240px]] [[Fajl:Cyrillic capital letter Cil.svg|14x14px]], [[Fajl:Cyrillic small letter Cil.svg|16x16px]] (''cil'') jest bukva [[Kirilica|kirilice]], pozajeta od [[Gruzinsky alfabet|gruzinskoj]] bukvy ''c’ili'' (Წ წ). Ona byla čest kiriličnyh alfabetov stvorjenyh [[Pjotr Uslar|Pjotrom Uslarom]] v 1860-yh lětah za jegove opisy poněkojih jezykov [[Kavkaz]]a: najprvo [[Abhazsky jezyk|abhazsky]]<ref>{{Cite book | url = https://docs.yandex.ru/docs/view?url=ya-disk-public%3A%2F%2FSHEPIfcSUDm6N9cbTjDQq5EJ%2BxndFVeLnXUon%2BjQhPw%3D&name=Uslar_K_Etnografiya_Kavkaza_Jazykoznanie_Abkhazsky_jazyk_1862.pdf | first = Петр | last = Услар | title = Этнографія Кавказа. Языкознаніе. Абхазскій языкъ | place = Тифлисъ | year = 1862}}</ref>, a potom [[Čečensky jezyk|čečensky]]<ref>{{Cite book | url = https://rusneb.ru/catalog/000199_000009_003566154/ | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. II. Чеченскій языкъ | place = Тифлисъ | year = 1862}}</ref>, [[Avarsky jezyk|avarsky]]<ref name="avarsky">{{Cite book | url = https://runivers.ru/upload/iblock/7e8/Uslar%20P.%20K.%20Etnografiya%20Kavkaza%2003%201889.pdf | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. III. Аварскій языкъ | place = Тифлисъ | year = 1889 | publisher = Управленіе Кавказскаго Учебнаго Округа | pages = 1}}</ref>, [[Laksky jezyk|laksky]]<ref>{{Cite book | url = https://runivers.ru/upload/iblock/364/Uslar%20P.%20K.%20Etnografiya%20Kavkaza%2004%201890.pdf | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. IV. Лакскій языкъ | place = Тифлисъ | publisher = Управленіе Кавказскаго Учебнаго Округа | year = 1890 | pages = 1}}</ref>, [[Darginsky jezyk|darginsky]] (nazyvany avtorom «hjurkilinskij»)<ref>{{Cite book | url = https://publ.lib.ru/PODVAL/RUS/_BIB/_%D0%E0%E7%ED%EE%E5/Uslar_P_K_Etnografiya_Kavkaza_05_1892.pdf | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. V. Хюркилинскій языкъ | place = Тифлисъ | year = 1892 | publisher = Управленіе Кавказскаго Учебнаго Округа | pages = 6}}</ref>, [[Lezginsky jezyk|legzinsky]]<ref>{{Cite book | url = https://www.lezgichal.ru/sites/default/files/media/Кюринская%20азбука.pdf | title = Кюринская азбука | first = Казанфар | last = Зульфикаров | place = Темиръ-Ханъ-Шура | year = 1871 | pages = 3}}</ref> i [[Tabasaransky jezyk|tabasaransky]].<ref>{{Cite book | first = П.К. | last = Услар | title = Табасаранский язык | place = Тбилиси | publisher = Мецниереба | year = 1979}}</ref> Bukva [[Fajl:Cyrillic small letter Cil.svg|13x13px]] takože byla upotrěbjena v bukvaru [[Kabardino-čerkessky jezyk|kabardino-čerkesskogo jezyka]] Kazi Atažukina iz 1865 g.<ref>{{Cite web | url = https://dspace.nplg.gov.ge/bitstream/1234/154399/1/Kabardinckaia_Azbuka.pdf | title = Ԛабарде алѵфбе / Кабардинская азбука | first = Kazi | last = Atažukin | place = Тифлис | year = 1865 | pages = 17}}</ref> i v bukvaru [[Svansky jezyk|svanskogo jezyka]] iz 1864 g.<ref>{{Cite book | title = Лушну Анбан. Сванетская азбука | place = Тифлисъ | publisher = Типографія Главнаго Управленія Намѣстникa Кавказскаго | year = 1864 | pages = 1}}</ref> Večinstvo Uslarovyh pravopisov našlo skromno priměnjenje v literaturě i obrazovanju. Na priklad, v 1860-yh lětah i ješče v 1900 g. byli publikovane knigy na avarskom jezyku s Uslarovym pravopisom. V 1911 pojavil lezginsky bukvar «{{-|Ќу̇ре ჭалан елифарни аҳпа гw æниз қелдаj ђуз}}», a tomže samom godu darginsky bukvar «Даргилла алипуне wа луђисне жуж»<ref>{{Cite book | url = https://vivaldi.nlr.ru/bx000041045/view/?#page=17 | title = Даргилла алипуне wа луђисне жуж / Даргинская азбука и первая книга для чтения | place = Тифлис | year = 1911 | pages = 11, 14}}</ref> Jednakože tabaranska azbuka Uslara iz 1875 g. nikogda ne byla koristana v praktikě iz pričiny smrti avtora v tomže godu.<ref name="Unicode">{{Cite web | url = https://www.unicode.org/L2/L2022/22262-cyrillic-caucasian-langs.pdf | first = Nikita | last = Manulov | title = Proposal to encode 23 Cyrillic characters for old Uslar’s Caucasian Alphabets | website = Unicode.org | date = 2022-09-18 | language = en}}</ref> == Izgovor == Točno kako gruzinska bukva წ, kirilična bukva [[Fajl:Cyrillic small letter Cil.svg|13x13px]] označaje alveolarnu ejektivnu afrikatu {{MFA|t͡sʼ}}. V modernyh pravopisah povyših jezykov tutoj zvuk piše se dvuznakom '''{{-|цI}}''' ('''{{-|ц}}''' + [[paločka]]). Mimohodom, v svojih izdanjah Uslarovyh děl iz 1880-yh i 1890-yh lět ukrajinsky pedagog Myhajlo Zavadskyj zaměnil rukopisnu bukvu [[Fajl:Cyrillic small letter Cil.svg|13x13px]] pečatnoju bukvoju '''{{Calibri|ц̓}}'''. Priklady slov: * Avarsky: [[Fajl:Cyrillic small letter Cil.svg|13x13px]]аԛ / {{Calibri|ц̓}}аԛ «velmi, mnogo, silno», [[Fajl:Cyrillic small letter Cil.svg|13x13px]]одо̀р[[Fajl:Cyrillic capital letter Ghad.svg|8px]]і / {{Calibri|ц̓}}одо̀р[[Fajl:Cyrillic capital letter Ghad.svg|8px]]і «ostražnost» (v sučasnoj avarskoj ortografiji: цӀакъ, цӀодорлъи).<ref>Усларъ, ''III. Аварскій'', str. 210–211.</ref> * Lezginsky: {{-|[[Fajl:Cyrillic small letter Cil.svg|13x13px]]уд}} «deset» (v sučasnoj ortografiji): {{-|цӀуд}}.<ref>Зульфикаров, str. 55.</ref> * Darginsky: {{-|[[Fajl:Cyrillic small letter Cil.svg|13x13px]]а}} «ogonj», ԝі[[Fajl:Cyrillic small letter Cil.svg|13x13px]]ал «deset» (v sučasnoj ortografiji: {{-|цӀа, вецӀал}}). * Svansky: {{-|[[Fajl:Cyrillic small letter Cil.svg|13x13px]]орнѵ}} «črveny» (v nyněšnjem gruzinskom alfabetu: წჷრნი).<ref>''{{-|Лушну Анбан}}'', str. 122.</ref> == Galerija == {| |- valign=top | rowspan="3" | [[Fajl:Abkhazian alphabet in von Uslar 1862.jpg | thumb | 260px | Abhazsky (1862)]] [[Fajl:Chechen alphabet by Uslar.JPG | thumb | 260px | Čečensky (1862)]] | [[Fajl:Uslar-Avar alphabet.jpg | thumb | 240px | Avarsky (1889)]] [[Fajl:Lezgi alphabet, 1871.PNG | thumb | 240px | Lezginsky (1871)]] [[Fajl:Lezgi alphabet 1911.jpg | thumb | 240px | Lezginsky (1911)]] [[Fajl:Лакку алфавит, услар.png | thumb | 240px | Laksky (1890)]] | [[Fajl:Uslar-Dargwa alphabet.jpg | thumb | 240px | Darginsky (1892)]] [[Fajl:Dargin alph Uslar.jpg | thumb | 240px | Darginsky (1911)]] [[Fajl:Atazhukin alphabet, 1865.PNG | thumb | 240px | Kabardino-čerkessky (1865)]] | [[Fajl:Uslar - Tabasaran alphabet.png | thumb | 260px | Tabasaransky (1875)]] [[Fajl:Svan Cyrillic alphabet.jpg | thumb | 260px | Svansky (1864)]] |} == Kodovanje == Bukvy [[Fajl:Cyrillic small letter Cil.svg|13x13px]] i jejin variant [[Fajl:Cyrillic small letter Cil with bar.svg|13x13px|link=Prěčrknuty cil]] ješče ne sut vključene v [[Unikod]]u, ačekoli one byli prědložene za vključenje v 2022 g.<ref>{{Cite web | url = https://www.unicode.org/L2/L2022/22262-cyrillic-caucasian-langs.pdf | first = Nikita | last = Manulov | title = Proposal to encode 23 Cyrillic characters for old Uslar’s Caucasian Alphabets | website = Unicode.org | date = 2022-09-18 | language = en}}</ref><ref>{{Cite web | url = https://www.unicode.org/L2/L2022/22248-script-adhoc-rept.pdf | title = Recommendations to UTC #173 November 2022 on Script Proposals | website = Unicode.org | date = 2022-10-28 | pages = 16–17 | language = en}}</ref> V medžučasu zaměsto njej možno jest koristati gruzinsku bukvu წ (mhedruli) za malu bukvu i Წ (mtavruli) za veliku bukvu: {| class=wikitable style="text-align:center;" ! colspan=2 | Kodovanje ! <big><big>{{-|Წ}}</big></big> ! <big><big>{{-|წ}}</big></big> |- ! colspan=2 | Nazva v Unikodu | {{-|GEORGIAN MTAVRULI CAPITAL LETTER CIL}} | {{-|GEORGIAN LETTER CIL}} |- ! rowspan=2 | Unikod !! šestnadseterična sistema | {{-|U+1CAC}} | {{-|U+10EC}} |- ! deseterična sistema | 7340 | 4332 |- ! rowspan=2 | {{-|HTML}} !! šestnadseterična sistema | <code>&amp;#1cac;</code> | <code>&amp;#10ec;</code> |- ! deseterična sistema | <code>&amp;#7340;</code> | <code>&amp;#4332;</code> |} == Iztočniky == {{Iztočniky}} {{Kirilica}} {{Varianty bukvy Ц}} [[Kategorija:Kirilične bukvy|Ц]] 9a8zwotea0154jscs179vzjzug9xh73 Čar (kirilica) 0 2050 44873 29479 2026-07-31T05:56:52Z Saderixthefox 690 44873 wikitext text/x-wiki [[Fajl:Cyrillic letter Char (Uppercase and lowercase).svg | right | 240px]] [[Fajl:Cyrillic capital letter Char.svg|14x14px]], [[Fajl:Cyrillic small letter Char.svg|16x16px]] (''čar'') jest bukva [[Kirilica|kirilice]], pozajeta od [[Gruzinsky alfabet|gruzinskoj]] bukvy ''č’ari'' (Ჭ, ჭ), i točno kako gruzinska bukva ჭ ona označaje postalveolarnu ejektivnu afrikatu {{MFA|t͡ʃʼ}}. Tuta bukva byla čest kiriličnyh alfabetov stvorjenyh [[Pjotr Uslar|Pjotrom Uslarom]] v 1860-yh lětah za jegove opisy poněkojih jezykov [[Kavkaz]]a: najprvo [[Abhazsky jezyk|abhazsky]]<ref>{{Cite book | url = https://docs.yandex.ru/docs/view?url=ya-disk-public%3A%2F%2FSHEPIfcSUDm6N9cbTjDQq5EJ%2BxndFVeLnXUon%2BjQhPw%3D&name=Uslar_K_Etnografiya_Kavkaza_Jazykoznanie_Abkhazsky_jazyk_1862.pdf | first = Петр | last = Услар | title = Этнографія Кавказа. Языкознаніе. Абхазскій языкъ | place = Тифлисъ | year = 1862}}</ref>, a potom [[Čečensky jezyk|čečensky]]<ref name="čečensky">{{Cite book | url = https://rusneb.ru/catalog/000199_000009_003566154/ | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. II. Чеченскій языкъ | place = Тифлисъ | year = 1862}}</ref>, [[Avarsky jezyk|avarsky]]<ref name="avarsky">{{Cite book | url = https://runivers.ru/upload/iblock/7e8/Uslar%20P.%20K.%20Etnografiya%20Kavkaza%2003%201889.pdf | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. III. Аварскій языкъ | place = Тифлисъ | year = 1889 | publisher = Управленіе Кавказскаго Учебнаго Округа | pages = 1}}</ref>, [[Laksky jezyk|laksky]]<ref>{{Cite book | url = https://runivers.ru/upload/iblock/364/Uslar%20P.%20K.%20Etnografiya%20Kavkaza%2004%201890.pdf | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. IV. Лакскій языкъ | place = Тифлисъ | publisher = Управленіе Кавказскаго Учебнаго Округа | year = 1890 | pages = 1}}</ref>, [[Darginsky jezyk|darginsky]] (nazyvany avtorom «hjurkilinskij»)<ref>{{Cite book | url = https://publ.lib.ru/PODVAL/RUS/_BIB/_%D0%E0%E7%ED%EE%E5/Uslar_P_K_Etnografiya_Kavkaza_05_1892.pdf | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. V. Хюркилинскій языкъ | place = Тифлисъ | year = 1892 | publisher = Управленіе Кавказскаго Учебнаго Округа | pages = 6}}</ref>, [[Lezginsky jezyk|legzinsky]]<ref>{{Cite book | url = https://www.lezgichal.ru/sites/default/files/media/Кюринская%20азбука.pdf | title = Кюринская азбука | first = Казанфар | last = Зульфикаров | place = Темиръ-Ханъ-Шура | year = 1871 | pages = 3}}</ref> i [[Tabasaransky jezyk|tabasaransky]].<ref>{{Cite book | first = П.К. | last = Услар | title = Табасаранский язык | place = Тбилиси | publisher = Мецниереба | year = 1979}}</ref> Bukva [[Fajl:Cyrillic small letter Char.svg|13x13px]] takože byla upotrěbjena v bukvaru [[Kabardino-čerkessky jezyk|kabardino-čerkesskogo jezyka]] Kazi Atažukina iz 1865 g.<ref>{{Cite web | url = https://dspace.nplg.gov.ge/bitstream/1234/154399/1/Kabardinckaia_Azbuka.pdf | title = Ԛабарде алѵфбе / Кабардинская азбука | first = Kazi | last = Atažukin | place = Тифлис | year = 1865 | pages = 17}}</ref> i v bukvaru [[Svansky jezyk|svanskogo jezyka]] iz 1864 g.<ref>{{Cite book | title = Лушну Анбан. Сванетская азбука | place = Тифлисъ | publisher = Типографія Главнаго Управленія Намѣстникa Кавказскаго | year = 1864 | pages = 1}}</ref> Večinstvo Uslarovyh pravopisov našlo skromno priměnjenje v literaturě i obrazovanju. Na priklad, v 1860-yh lětah i ješče v 1900 g. byli publikovane knigy na avarskom jezyku s Uslarovym pravopisom. V 1911 pojavil lezginsky bukvar «{{-|Ќу̇ре ჭалан елифарни аҳпа гw æниз қелдаj ђуз}}», a tomže samom godu darginsky bukvar «Даргилла алипуне wа луђисне жуж»<ref>{{Cite book | url = https://vivaldi.nlr.ru/bx000041045/view/?#page=15 | title = Даргилла алипуне wа луђисне жуж / Даргинская азбука и первая книга для чтения | place = Тифлис | year = 1911 | pages = 9, 14}}</ref> Jednakože tabasaranska azbuka Uslara iz 1875 g. nikogda ne byla koristana v praktikě iz pričiny smrti avtora v tomže godu.<ref name="Unicode">{{Cite web | url = https://www.unicode.org/L2/L2022/22262-cyrillic-caucasian-langs.pdf | first = Nikita | last = Manulov | title = Proposal to encode 23 Cyrillic characters for old Uslar’s Caucasian Alphabets | website = Unicode.org | date = 2022-09-18 | language = en}}</ref> V svojih izdanjah Uslarovyh děl iz 1880-yh i 1890-yh lět ukrajinsky pedagog Myhajlo Zavadskyj zaměnil rukopisnu bukvu [[Fajl:Cyrillic small letter Char.svg|13x13px]] pečatnoju bukvoju '''{{Calibri|ч̓}}''', a v modernyh pravopisah povyših jezykov (s izključenjem svanskogo) tutoj zvuk piše se dvuznakom '''{{-|чI}}''' ('''{{-|[[ч]]}}''' + [[paločka]]). Priklady: * Avarsky: {{-|[[Fajl:Cyrillic small letter Char.svg|13x13px]]і̀қізе}} (Uslar), {{-|{{Calibri|ч̓і̀қізе}}}} (Zavadskyj), {{-|чIикIизе}} (sučasno) «lizati»; {{-|[[Fajl:Cyrillic small letter Char.svg|13x13px]]едѐр}} (Uslar), {{-|{{Calibri|ч̓едѐр}}}} (Zavadskyj), {{-|чІедер}} (sučasno) «vuzko».<ref>Усларъ (1889), str. 223–224.</ref> * Laksky: {{-|[[Fajl:Cyrillic small letter Char.svg|13x13px]]ал}} (Uslar), {{-|{{Calibri|ч̓ал}}}} (Zavadskyj), {{-|чIал}} (sučasno) «pozdny»; {{-|[[Fajl:Cyrillic small letter Char.svg|13x13px]]ірі}} (Uslar), {{-|{{Calibri|ч̓ірі}}}} (Zavadskyj), {{-|чІири}} (sučasno) «brada».<ref>Усларъ (1890), str. 386, 389.</ref> * Čečensky: {{-|[[Fajl:Cyrillic small letter Char.svg|13x13px]]áра}} (Uslar), {{-|чIара}} «ryba».<ref name="čečensky" /> * Darginsky: {{-|[[Fajl:Cyrillic small letter Char.svg|13x13px]]іқа}} (Uslar), {{-|чIикIа}} (sučasno) «ptačetko»; {{-|[[Fajl:Cyrillic small letter Char.svg|13x13px]]і[[Fajl:Cyrillic small letter Char.svg|13x13px]]ала}} (Uslar)<ref>Усларъ (1892), str. 459.</ref>, {{-|[[Fajl:Cyrillic small letter Char.svg|13x13px]]и[[Fajl:Cyrillic small letter Char.svg|13x13px]]ала}} (Azbuka, 1911)<ref>{{Cite book | url = https://vivaldi.nlr.ru/bx000041045/view/?#page=15 | title = Даргилла алипуне wа луђисне жуж / Даргинская азбука и первая книга для чтения | place = Тифлис | year = 1911 | pages = 9}}</ref>, {{-|чIичIала}} (sučasno) «zmija». == Galerija == {| |- valign=top | rowspan="3" | [[Fajl:Abkhazian alphabet in von Uslar 1862.jpg | thumb | 260px | Abhazsky (1862)]] [[Fajl:Chechen alphabet by Uslar.JPG | thumb | 260px | Čečensky (1862)]] | [[Fajl:Uslar-Avar alphabet.jpg | thumb | 240px | Avarsky (1889)]] [[Fajl:Lezgi alphabet, 1871.PNG | thumb | 240px | Lezginsky (1871)]] [[Fajl:Lezgi alphabet 1911.jpg | thumb | 240px | Lezginsky (1911)]] [[Fajl:Лакку алфавит, услар.png | thumb | 240px | Laksky (1890)]] | [[Fajl:Uslar-Dargwa alphabet.jpg | thumb | 240px | Darginsky (1892)]] [[Fajl:Dargin alph Uslar.jpg | thumb | 240px | Darginsky (1911)]] [[Fajl:Atazhukin alphabet, 1865.PNG | thumb | 240px | Kabardino-čerkessky (1865)]] | [[Fajl:Uslar - Tabasaran alphabet.png | thumb | 260px | Tabasaransky (1875)]] [[Fajl:Svan Cyrillic alphabet.jpg | thumb | 260px | Svansky (1864)]] |} == Kodovanje == Bukvy [[Fajl:Cyrillic small letter Char.svg|13x13px]] i jejin variant [[Fajl:Cyrillic small letter Char with high right breve serif.svg|13x13px|link=Čar s brevisom]] ješče ne sut vključene v [[Unikod]]u, ačekoli one byli prědložene za vključenje v 2022 g.<ref name="Unicode" /><ref>{{Cite web | url = https://www.unicode.org/L2/L2022/22248-script-adhoc-rept.pdf | title = Recommendations to UTC #173 November 2022 on Script Proposals | website = Unicode.org | date = 2022-10-28 | pages = 16–17 | language = en}}</ref> V medžučasu zaměsto njej možno jest koristati gruzinsku bukvu ჭ (mhedruli) za malu bukvu i Ჭ (mtavruli) za veliku bukvu: {| class=wikitable style="text-align:center;" ! colspan=2 | Kodovanje ! <big><big>{{-|Ჭ}}</big></big> ! <big><big>{{-|ჭ}}</big></big> |- ! colspan=2 | Nazva v Unikodu | {{-|GEORGIAN MTAVRULI CAPITAL LETTER CHAR}} | {{-|GEORGIAN LETTER CHAR}} |- ! rowspan=2 | Unikod !! šestnadseterična sistema | {{-|U+1CAD}} | {{-|U+10ED}} |- ! deseterična sistema | 7341 | 4333 |- ! rowspan=2 | {{-|HTML}} !! šestnadseterična sistema | <code>&amp;#1cad;</code> | <code>&amp;#10ed;</code> |- ! deseterična sistema | <code>&amp;#7341;</code> | <code>&amp;#4333;</code> |} == Iztočniky == {{Iztočniky}} {{Kirilica}} {{Varianty bukvy Ч}} {{DEFAULTSORT:Ч}} [[Kategorija:Kirilične bukvy]] 59uslk5h6o1kq9yqx679g5dvblahfjn І s nižnjem izgybom 0 2108 44877 18034 2026-07-31T06:04:14Z Saderixthefox 690 44877 wikitext text/x-wiki [[Fajl:Cyrillic letter Kulayev Bashkir Dhe (Uppercase and lowercase).svg | right | 240px]] І s nižnjem izgybom ([[Fajl:Cyrillic_capital_letter_bashkir_Dha.svg|8px]], [[Fajl:Cyrillic small letter bashkir Dha.svg|7px]]), takzhe izvestnaya kak bashkirskaya dkha, — eto bukva kirillitsy. Kogda-to ona ispol'zovalas' v bashkirskom alfavite. == Kodovanje == Tojta bukva ješče ne jest zakodovana v formatu Unicode. == Iztočnik == {{Kirilica}} {{Varianty bukvy И}} f2aeydkcz9ty8lsvnjh9gtt00znsaua Koristnik:Ilja isv/pěskovišče 2 2830 44875 44740 2026-07-31T06:01:28Z Ilja isv 10 /* */ 44875 wikitext text/x-wiki {{Začetok|data=July 2026}} {{-|''Under construction''}} [[File:Kettenfontäne Bild.png|thumb|Photo du phénomène]] [[File:Kettenfontäne Video.OGG|thumb|Vidéo du phénomène]] Le phénomène appelé « '''fontaine de chaîne''' » dénommé en anglais « {{Langue|en|texte=self-siphoning beads}} » est une manifestation physique contre-intuitive observée lorsque l'extrémité d’une chaîne de billes, contenue dans un bocal, est jetée hors de celui-ci, et est ensuite suivi d’un jet autonome des billes, prenant naissance de la chaîne dans le bocal, vers le haut selon une arche ascendante à partir du bocal, puis vers le bas, comme aspiré hors du bocal par un [[Siphon hydraulique|siphon]] invisible<ref>Philip Yam (3 juillet 2013), [http://blogs.scientificamerican.com/observations/gravity-defying-self-siphoning-metal-beads-explained-video/ ''Gravity-Defying, Self-Siphoning Metal Beads Explained''], Scientific American</ref>. Le phénomène a été porté à l'attention du public dans une vidéo faite par le présentateur de télévision et blogueur scientifique {{lien|Steve Mould}}<ref>Elizabeth Gibney (15 janvier 2014), [http://www.nature.com/news/physicists-explain-gravity-defying-chain-trick-1.14523 ''Physicists explain 'gravity-defying' chain trick''], ''Nature''.</ref>. Diverses explications ont été avancées quant à la façon dont le phénomène peut être le mieux expliqué en termes de concepts de physique de base tels que l'énergie et la [[quantité de mouvement]]<ref>William Goodman (25 juin 2013), [http://www.cbsnews.com/news/see-physics-phenomenon-of-self-siphoning-beads/ ''See physics phenomenon of self siphoning beads''], CBS News</ref>{{,}}<ref>Aatish Bhatia (7 janvier 2013), [https://www.wired.com/2013/07/the-physics-of-that-gravity-defying-chain-of-metal-beads/ ''The physics of that gravity-defying chain of metal beads''], ''Wired'' (consulté le 15 janvier 2014).</ref>{{,}}<ref>Biggins, J.S. ; Warner, M. (2014), ''Understanding the chain fountain'', ''Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences'' 470 (2163): 20130689, {{doi|10.1098/rspa.2013.0689}}. Biggins, J.S. ; Warner, M. (2013), ''Understanding the Chain Fountain''. {{arxiv|1310.4056}} [physics.class-ph]</ref>. == Voir aussi == * [[Chaînette]] == Références == {{Références}} == Liens externes == {{Autres projets|commons=Category:Self-siphoning beads}} * [http://stevemould.com/siphoning-beads/ Vidéo de Steve Mould] * [https://isaacphysics.org/questions/chain_fountain Problèmes de la fontaine de la chaîne pour aider à comprendre ce concept] [[Kategorija:Fizika]] [[Kategorija:Fizične javjenja]] {{Quote box |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} {{Kartka carstvenna osoba | name = Napoleon Bonapart | image = [[Fajl:Jacques-Louis David - The Emperor Napoleon in His Study at the Tuileries - Google Art Project.jpg|thumb|center|''[[Imperator Napoleon v svojem kabinetu na Tuijeri]]'', Žak-Lui David (1812)]] | alt = Portrait of Napoleon in his late thirties, in high-ranking white and dark blue military dress uniform. In the original image he stands amid rich 18th-century furniture laden with papers, and gazes at the viewer. His hair is Brutus style, cropped close but with a short fringe in front, and his right hand is tucked in his waistcoat. | caption = ''[[The Emperor Napoleon in His Study at the Tuileries]]'', 1812 | succession = [[Imperator francuzov]] | reign = 18 maja 1804 – {{nowrap|6 aprila 1814}} | reign_type = 1. carstvo | cor_type = | coronation = | predecessor = | successor = [[Louis XVIII|Lui XVIII]]<ref name=louis> [[Kralj Francije]]</ref> | reign_type1 = [[Sto dnjev|2. carstvo]] | reign1 = {{nowrap|20 mareca 1815 ― 22&nbsp;junija 1815}} | predecessor1 = | successor1 = {{-|Louis XVIII|Луи XVIII}}<ref name=louis/> {{Collapsible list | title = Druge dolžnosti |bullets = true | 2 = '''[[Prvy Konsul Francije|Prvy Konsul Francuzskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1799|12|13|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1804|5|18|df=yes}} | 1 = '''[[Konsulat Francije|Prěhodny Konsul Francuzskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1799|11|10|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1799|12|12|df=yes}} | 6 = '''[[Protektor Rejnskoj Konfederacije]]'''<br/> početok:&nbsp;{{Birth date|1806|7|12|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1813|10|19|df=yes}} | 5 = '''[[Kraljevstvo Italije (Napoleoničsko)|Kralj Italije]]'''<br/> početok:&nbsp;{{Birth date|1805|3|17|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1814|4|11|df=yes}} | 4 = '''[[Akt o Mediacije|Mediator Švejcarskoj Konfederacije]]'''<br/> početok:&nbsp;{{Birth date|1803|2|19|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1813|10|19|df=yes}} | 3 = '''[[Italijanska Republika (Napoleoničska)|Prezident Italijanskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1802|1|26|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1805|3|17 |df=yes}} }} | birth_name = {{-|Napoleone di Buonaparte}} | birth_date = {{Birth date|1769|8|15|df=yes}} | birth_place = [[Ajaccio|Ajačo]], Korsika, Francija | death_date = {{Death date and age|1821|5|5|1769|8|15|df=yes}} | death_place = [[Longwood, Saint Helena|Longvud, Sveta Helena]] | burial_date = 15 dekembra 1840 | burial_place = {{lang|fr|[[Les Invalides]]|italic=no}}, Pariž, Francija | spouses = {{plainlist| * {{-|[[Joséphine de Beauharnais]]|[[Joséphine de Beauharnais|Жозефин де Боарне]]}}<br/> 9 mareca 1796 - 10 januara 1810 (anulacija) * {{-|[[Marie Louise Avstriska]]|[[Marie Louise Avstriska|Мари-Луиз Австриjска]]}}<br> 11 mareca 1810 - 1814 (razvod)}} | religion = | regnal_name = | issue = | issue_link = #Children | issue_pipe = vyše... | full_name = | house = | father = | mother = | signature = [[Fajl:Firma Napoleón Bonaparte.svg|center|200px]] }} === Související články === * [[Přívozská halda]] * [[Halda Hrabůvka]] * [[Halda Heřmanice]] Tuto jest peskovišče. [[File:Nihongo.svg|thumb|right|100px| 日本語 (Japonsky jezyk)]] '''Japonsky jezyk''' ({{Jezyky|ja|日本語 {{!}} にほんご}} | {{-|''Nihongo'' [nʲiho̞ŋːo̞]}}) {{Kartka činovnik/ofis| name=}} <span class="ext-gadget-alphabet-disable"> </span> == Referencije == <div class="ext-gadget-alphabet-disable"> <references group="lower-alpha"/> {{Iztočniky}} </div> {{Prěvod|en|Japanese language|}} [[Kategorija:Jezyk]] {{Pravopis prověrjeny}} lblyzvfw1hi83ybfp06naz00a0gzdsi 44878 44875 2026-07-31T06:20:00Z Ilja isv 10 /* */ 44878 wikitext text/x-wiki {{Začetok|data=July 2026}} {{-|''Under construction''}} [[File:Kettenfontäne Bild.png|thumb|Javjenje na foto]] [[File:Kettenfontäne Video.OGG|thumb|Javjenje na video]] Le phénomène appelé « '''fontaine de chaîne''' » dénommé en anglais « {{Langue|en|texte=self-siphoning beads}} » est une manifestation physique contre-intuitive observée lorsque l'extrémité d’une chaîne de billes, contenue dans un bocal, est jetée hors de celui-ci, et est ensuite suivi d’un jet autonome des billes, prenant naissance de la chaîne dans le bocal, vers le haut selon une arche ascendante à partir du bocal, puis vers le bas, comme aspiré hors du bocal par un [[Siphon hydraulique|siphon]] invisible<ref>Philip Yam (3 juillet 2013), [http://blogs.scientificamerican.com/observations/gravity-defying-self-siphoning-metal-beads-explained-video/ ''Gravity-Defying, Self-Siphoning Metal Beads Explained''], Scientific American</ref>. Le phénomène a été porté à l'attention du public dans une vidéo faite par le présentateur de télévision et blogueur scientifique {{lien|Steve Mould}}<ref>Elizabeth Gibney (15 janvier 2014), [http://www.nature.com/news/physicists-explain-gravity-defying-chain-trick-1.14523 ''Physicists explain 'gravity-defying' chain trick''], ''Nature''.</ref>. Diverses explications ont été avancées quant à la façon dont le phénomène peut être le mieux expliqué en termes de concepts de physique de base tels que l'énergie et la [[quantité de mouvement]]<ref>William Goodman (25 juin 2013), [http://www.cbsnews.com/news/see-physics-phenomenon-of-self-siphoning-beads/ ''See physics phenomenon of self siphoning beads''], CBS News</ref>{{,}}<ref>Aatish Bhatia (7 janvier 2013), [https://www.wired.com/2013/07/the-physics-of-that-gravity-defying-chain-of-metal-beads/ ''The physics of that gravity-defying chain of metal beads''], ''Wired'' (consulté le 15 janvier 2014).</ref>{{,}}<ref>Biggins, J.S. ; Warner, M. (2014), ''Understanding the chain fountain'', ''Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences'' 470 (2163): 20130689, {{doi|10.1098/rspa.2013.0689}}. Biggins, J.S. ; Warner, M. (2013), ''Understanding the Chain Fountain''. {{arxiv|1310.4056}} [physics.class-ph]</ref>. == Voir aussi == * [[Chaînette]] == Références == {{Références}} == Liens externes == {{Autres projets|commons=Category:Self-siphoning beads}} * [http://stevemould.com/siphoning-beads/ Vidéo de Steve Mould] * [https://isaacphysics.org/questions/chain_fountain Problèmes de la fontaine de la chaîne pour aider à comprendre ce concept] [[Kategorija:Fizika]] [[Kategorija:Fizične javjenja]] {{Quote box |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} {{Kartka carstvenna osoba | name = Napoleon Bonapart | image = [[Fajl:Jacques-Louis David - The Emperor Napoleon in His Study at the Tuileries - Google Art Project.jpg|thumb|center|''[[Imperator Napoleon v svojem kabinetu na Tuijeri]]'', Žak-Lui David (1812)]] | alt = Portrait of Napoleon in his late thirties, in high-ranking white and dark blue military dress uniform. In the original image he stands amid rich 18th-century furniture laden with papers, and gazes at the viewer. His hair is Brutus style, cropped close but with a short fringe in front, and his right hand is tucked in his waistcoat. | caption = ''[[The Emperor Napoleon in His Study at the Tuileries]]'', 1812 | succession = [[Imperator francuzov]] | reign = 18 maja 1804 – {{nowrap|6 aprila 1814}} | reign_type = 1. carstvo | cor_type = | coronation = | predecessor = | successor = [[Louis XVIII|Lui XVIII]]<ref name=louis> [[Kralj Francije]]</ref> | reign_type1 = [[Sto dnjev|2. carstvo]] | reign1 = {{nowrap|20 mareca 1815 ― 22&nbsp;junija 1815}} | predecessor1 = | successor1 = {{-|Louis XVIII|Луи XVIII}}<ref name=louis/> {{Collapsible list | title = Druge dolžnosti |bullets = true | 2 = '''[[Prvy Konsul Francije|Prvy Konsul Francuzskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1799|12|13|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1804|5|18|df=yes}} | 1 = '''[[Konsulat Francije|Prěhodny Konsul Francuzskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1799|11|10|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1799|12|12|df=yes}} | 6 = '''[[Protektor Rejnskoj Konfederacije]]'''<br/> početok:&nbsp;{{Birth date|1806|7|12|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1813|10|19|df=yes}} | 5 = '''[[Kraljevstvo Italije (Napoleoničsko)|Kralj Italije]]'''<br/> početok:&nbsp;{{Birth date|1805|3|17|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1814|4|11|df=yes}} | 4 = '''[[Akt o Mediacije|Mediator Švejcarskoj Konfederacije]]'''<br/> početok:&nbsp;{{Birth date|1803|2|19|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1813|10|19|df=yes}} | 3 = '''[[Italijanska Republika (Napoleoničska)|Prezident Italijanskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1802|1|26|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1805|3|17 |df=yes}} }} | birth_name = {{-|Napoleone di Buonaparte}} | birth_date = {{Birth date|1769|8|15|df=yes}} | birth_place = [[Ajaccio|Ajačo]], Korsika, Francija | death_date = {{Death date and age|1821|5|5|1769|8|15|df=yes}} | death_place = [[Longwood, Saint Helena|Longvud, Sveta Helena]] | burial_date = 15 dekembra 1840 | burial_place = {{lang|fr|[[Les Invalides]]|italic=no}}, Pariž, Francija | spouses = {{plainlist| * {{-|[[Joséphine de Beauharnais]]|[[Joséphine de Beauharnais|Жозефин де Боарне]]}}<br/> 9 mareca 1796 - 10 januara 1810 (anulacija) * {{-|[[Marie Louise Avstriska]]|[[Marie Louise Avstriska|Мари-Луиз Австриjска]]}}<br> 11 mareca 1810 - 1814 (razvod)}} | religion = | regnal_name = | issue = | issue_link = #Children | issue_pipe = vyše... | full_name = | house = | father = | mother = | signature = [[Fajl:Firma Napoleón Bonaparte.svg|center|200px]] }} === Související články === * [[Přívozská halda]] * [[Halda Hrabůvka]] * [[Halda Heřmanice]] Tuto jest peskovišče. [[File:Nihongo.svg|thumb|right|100px| 日本語 (Japonsky jezyk)]] '''Japonsky jezyk''' ({{Jezyky|ja|日本語 {{!}} にほんご}} | {{-|''Nihongo'' [nʲiho̞ŋːo̞]}}) {{Kartka činovnik/ofis| name=}} <span class="ext-gadget-alphabet-disable"> </span> == Referencije == <div class="ext-gadget-alphabet-disable"> <references group="lower-alpha"/> {{Iztočniky}} </div> {{Prěvod|en|Japanese language|}} [[Kategorija:Jezyk]] {{Pravopis prověrjeny}} tc66w2wcjettuoir4ohgmcu8cjcjjud 44879 44878 2026-07-31T06:20:26Z Ilja isv 10 /* */ 44879 wikitext text/x-wiki {{Začetok|data=July 2026}} {{-|''Under construction''}} [[Fajl:Kettenfontäne Bild.png|thumb|Javjenje na foto]] [[Fajl:Kettenfontäne Video.OGG|thumb|Javjenje na video]] Le phénomène appelé « '''fontaine de chaîne''' » dénommé en anglais « {{Langue|en|texte=self-siphoning beads}} » est une manifestation physique contre-intuitive observée lorsque l'extrémité d’une chaîne de billes, contenue dans un bocal, est jetée hors de celui-ci, et est ensuite suivi d’un jet autonome des billes, prenant naissance de la chaîne dans le bocal, vers le haut selon une arche ascendante à partir du bocal, puis vers le bas, comme aspiré hors du bocal par un [[Siphon hydraulique|siphon]] invisible<ref>Philip Yam (3 juillet 2013), [http://blogs.scientificamerican.com/observations/gravity-defying-self-siphoning-metal-beads-explained-video/ ''Gravity-Defying, Self-Siphoning Metal Beads Explained''], Scientific American</ref>. Le phénomène a été porté à l'attention du public dans une vidéo faite par le présentateur de télévision et blogueur scientifique {{lien|Steve Mould}}<ref>Elizabeth Gibney (15 janvier 2014), [http://www.nature.com/news/physicists-explain-gravity-defying-chain-trick-1.14523 ''Physicists explain 'gravity-defying' chain trick''], ''Nature''.</ref>. Diverses explications ont été avancées quant à la façon dont le phénomène peut être le mieux expliqué en termes de concepts de physique de base tels que l'énergie et la [[quantité de mouvement]]<ref>William Goodman (25 juin 2013), [http://www.cbsnews.com/news/see-physics-phenomenon-of-self-siphoning-beads/ ''See physics phenomenon of self siphoning beads''], CBS News</ref>{{,}}<ref>Aatish Bhatia (7 janvier 2013), [https://www.wired.com/2013/07/the-physics-of-that-gravity-defying-chain-of-metal-beads/ ''The physics of that gravity-defying chain of metal beads''], ''Wired'' (consulté le 15 janvier 2014).</ref>{{,}}<ref>Biggins, J.S. ; Warner, M. (2014), ''Understanding the chain fountain'', ''Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences'' 470 (2163): 20130689, {{doi|10.1098/rspa.2013.0689}}. Biggins, J.S. ; Warner, M. (2013), ''Understanding the Chain Fountain''. {{arxiv|1310.4056}} [physics.class-ph]</ref>. == Voir aussi == * [[Chaînette]] == Références == {{Références}} == Liens externes == {{Autres projets|commons=Category:Self-siphoning beads}} * [http://stevemould.com/siphoning-beads/ Vidéo de Steve Mould] * [https://isaacphysics.org/questions/chain_fountain Problèmes de la fontaine de la chaîne pour aider à comprendre ce concept] [[Kategorija:Fizika]] [[Kategorija:Fizične javjenja]] {{Quote box |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} {{Kartka carstvenna osoba | name = Napoleon Bonapart | image = [[Fajl:Jacques-Louis David - The Emperor Napoleon in His Study at the Tuileries - Google Art Project.jpg|thumb|center|''[[Imperator Napoleon v svojem kabinetu na Tuijeri]]'', Žak-Lui David (1812)]] | alt = Portrait of Napoleon in his late thirties, in high-ranking white and dark blue military dress uniform. In the original image he stands amid rich 18th-century furniture laden with papers, and gazes at the viewer. His hair is Brutus style, cropped close but with a short fringe in front, and his right hand is tucked in his waistcoat. | caption = ''[[The Emperor Napoleon in His Study at the Tuileries]]'', 1812 | succession = [[Imperator francuzov]] | reign = 18 maja 1804 – {{nowrap|6 aprila 1814}} | reign_type = 1. carstvo | cor_type = | coronation = | predecessor = | successor = [[Louis XVIII|Lui XVIII]]<ref name=louis> [[Kralj Francije]]</ref> | reign_type1 = [[Sto dnjev|2. carstvo]] | reign1 = {{nowrap|20 mareca 1815 ― 22&nbsp;junija 1815}} | predecessor1 = | successor1 = {{-|Louis XVIII|Луи XVIII}}<ref name=louis/> {{Collapsible list | title = Druge dolžnosti |bullets = true | 2 = '''[[Prvy Konsul Francije|Prvy Konsul Francuzskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1799|12|13|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1804|5|18|df=yes}} | 1 = '''[[Konsulat Francije|Prěhodny Konsul Francuzskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1799|11|10|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1799|12|12|df=yes}} | 6 = '''[[Protektor Rejnskoj Konfederacije]]'''<br/> početok:&nbsp;{{Birth date|1806|7|12|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1813|10|19|df=yes}} | 5 = '''[[Kraljevstvo Italije (Napoleoničsko)|Kralj Italije]]'''<br/> početok:&nbsp;{{Birth date|1805|3|17|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1814|4|11|df=yes}} | 4 = '''[[Akt o Mediacije|Mediator Švejcarskoj Konfederacije]]'''<br/> početok:&nbsp;{{Birth date|1803|2|19|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1813|10|19|df=yes}} | 3 = '''[[Italijanska Republika (Napoleoničska)|Prezident Italijanskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1802|1|26|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1805|3|17 |df=yes}} }} | birth_name = {{-|Napoleone di Buonaparte}} | birth_date = {{Birth date|1769|8|15|df=yes}} | birth_place = [[Ajaccio|Ajačo]], Korsika, Francija | death_date = {{Death date and age|1821|5|5|1769|8|15|df=yes}} | death_place = [[Longwood, Saint Helena|Longvud, Sveta Helena]] | burial_date = 15 dekembra 1840 | burial_place = {{lang|fr|[[Les Invalides]]|italic=no}}, Pariž, Francija | spouses = {{plainlist| * {{-|[[Joséphine de Beauharnais]]|[[Joséphine de Beauharnais|Жозефин де Боарне]]}}<br/> 9 mareca 1796 - 10 januara 1810 (anulacija) * {{-|[[Marie Louise Avstriska]]|[[Marie Louise Avstriska|Мари-Луиз Австриjска]]}}<br> 11 mareca 1810 - 1814 (razvod)}} | religion = | regnal_name = | issue = | issue_link = #Children | issue_pipe = vyše... | full_name = | house = | father = | mother = | signature = [[Fajl:Firma Napoleón Bonaparte.svg|center|200px]] }} === Související články === * [[Přívozská halda]] * [[Halda Hrabůvka]] * [[Halda Heřmanice]] Tuto jest peskovišče. [[File:Nihongo.svg|thumb|right|100px| 日本語 (Japonsky jezyk)]] '''Japonsky jezyk''' ({{Jezyky|ja|日本語 {{!}} にほんご}} | {{-|''Nihongo'' [nʲiho̞ŋːo̞]}}) {{Kartka činovnik/ofis| name=}} <span class="ext-gadget-alphabet-disable"> </span> == Referencije == <div class="ext-gadget-alphabet-disable"> <references group="lower-alpha"/> {{Iztočniky}} </div> {{Prěvod|en|Japanese language|}} [[Kategorija:Jezyk]] {{Pravopis prověrjeny}} kenvd8xgprq97de4sgod3m5q84y7ayy 44884 44879 2026-07-31T09:24:43Z Ilja isv 10 /* */ 44884 wikitext text/x-wiki {{Začetok|data=July 2026}} {{-|''Under construction''}} [[Fajl:Kettenfontäne Bild.png|thumb|Javjenje na foto]] [[Fajl:Kettenfontäne Video.OGG|thumb|Javjenje na video]] Fenomén, nazyvany «'''lancuhovy fontan'''» {{Jezyky|en|self-siphoning beads}} jest fizičnym javjenjem, ktoro protivrěči intuicije, observovanym pri dostatočnoj dolžině lancuha is kuljej, contenue dans un bocal, est jetée hors de celui-ci, et est ensuite suivi d’un jet autonome des billes, prenant naissance de la chaîne dans le bocal, vers le haut selon une arche ascendante à partir du bocal, puis vers le bas, comme aspiré hors du bocal par un [[Siphon hydraulique|siphon]] invisible<ref>Philip Yam (3 juillet 2013), [http://blogs.scientificamerican.com/observations/gravity-defying-self-siphoning-metal-beads-explained-video/ ''Gravity-Defying, Self-Siphoning Metal Beads Explained''], Scientific American</ref>. Le phénomène a été porté à l'attention du public dans une vidéo faite par le présentateur de télévision et blogueur scientifique {{lien|Steve Mould}}<ref>Elizabeth Gibney (15 janvier 2014), [http://www.nature.com/news/physicists-explain-gravity-defying-chain-trick-1.14523 ''Physicists explain 'gravity-defying' chain trick''], ''Nature''.</ref>. Diverses explications ont été avancées quant à la façon dont le phénomène peut être le mieux expliqué en termes de concepts de physique de base tels que l'énergie et la [[quantité de mouvement]]<ref>William Goodman (25 juin 2013), [http://www.cbsnews.com/news/see-physics-phenomenon-of-self-siphoning-beads/ ''See physics phenomenon of self siphoning beads''], CBS News</ref>{{,}}<ref>Aatish Bhatia (7 janvier 2013), [https://www.wired.com/2013/07/the-physics-of-that-gravity-defying-chain-of-metal-beads/ ''The physics of that gravity-defying chain of metal beads''], ''Wired'' (consulté le 15 janvier 2014).</ref>{{,}}<ref>Biggins, J.S. ; Warner, M. (2014), ''Understanding the chain fountain'', ''Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences'' 470 (2163): 20130689, {{doi|10.1098/rspa.2013.0689}}. Biggins, J.S. ; Warner, M. (2013), ''Understanding the Chain Fountain''. {{arxiv|1310.4056}} [physics.class-ph]</ref>. == Voir aussi == * [[Chaînette]] == Références == {{Références}} == Liens externes == {{Autres projets|commons=Category:Self-siphoning beads}} * [http://stevemould.com/siphoning-beads/ Vidéo de Steve Mould] * [https://isaacphysics.org/questions/chain_fountain Problèmes de la fontaine de la chaîne pour aider à comprendre ce concept] [[Kategorija:Fizika]] [[Kategorija:Fizične javjenja]] {{Quote box |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} {{Kartka carstvenna osoba | name = Napoleon Bonapart | image = [[Fajl:Jacques-Louis David - The Emperor Napoleon in His Study at the Tuileries - Google Art Project.jpg|thumb|center|''[[Imperator Napoleon v svojem kabinetu na Tuijeri]]'', Žak-Lui David (1812)]] | alt = Portrait of Napoleon in his late thirties, in high-ranking white and dark blue military dress uniform. In the original image he stands amid rich 18th-century furniture laden with papers, and gazes at the viewer. His hair is Brutus style, cropped close but with a short fringe in front, and his right hand is tucked in his waistcoat. | caption = ''[[The Emperor Napoleon in His Study at the Tuileries]]'', 1812 | succession = [[Imperator francuzov]] | reign = 18 maja 1804 – {{nowrap|6 aprila 1814}} | reign_type = 1. carstvo | cor_type = | coronation = | predecessor = | successor = [[Louis XVIII|Lui XVIII]]<ref name=louis> [[Kralj Francije]]</ref> | reign_type1 = [[Sto dnjev|2. carstvo]] | reign1 = {{nowrap|20 mareca 1815 ― 22&nbsp;junija 1815}} | predecessor1 = | successor1 = {{-|Louis XVIII|Луи XVIII}}<ref name=louis/> {{Collapsible list | title = Druge dolžnosti |bullets = true | 2 = '''[[Prvy Konsul Francije|Prvy Konsul Francuzskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1799|12|13|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1804|5|18|df=yes}} | 1 = '''[[Konsulat Francije|Prěhodny Konsul Francuzskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1799|11|10|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1799|12|12|df=yes}} | 6 = '''[[Protektor Rejnskoj Konfederacije]]'''<br/> početok:&nbsp;{{Birth date|1806|7|12|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1813|10|19|df=yes}} | 5 = '''[[Kraljevstvo Italije (Napoleoničsko)|Kralj Italije]]'''<br/> početok:&nbsp;{{Birth date|1805|3|17|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1814|4|11|df=yes}} | 4 = '''[[Akt o Mediacije|Mediator Švejcarskoj Konfederacije]]'''<br/> početok:&nbsp;{{Birth date|1803|2|19|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1813|10|19|df=yes}} | 3 = '''[[Italijanska Republika (Napoleoničska)|Prezident Italijanskoj Republiky]]'''<br/> početok:&nbsp;{{Birth date|1802|1|26|df=yes}} <br/> konec:&nbsp;&nbsp;&nbsp;&nbsp;{{Birth date|1805|3|17 |df=yes}} }} | birth_name = {{-|Napoleone di Buonaparte}} | birth_date = {{Birth date|1769|8|15|df=yes}} | birth_place = [[Ajaccio|Ajačo]], Korsika, Francija | death_date = {{Death date and age|1821|5|5|1769|8|15|df=yes}} | death_place = [[Longwood, Saint Helena|Longvud, Sveta Helena]] | burial_date = 15 dekembra 1840 | burial_place = {{lang|fr|[[Les Invalides]]|italic=no}}, Pariž, Francija | spouses = {{plainlist| * {{-|[[Joséphine de Beauharnais]]|[[Joséphine de Beauharnais|Жозефин де Боарне]]}}<br/> 9 mareca 1796 - 10 januara 1810 (anulacija) * {{-|[[Marie Louise Avstriska]]|[[Marie Louise Avstriska|Мари-Луиз Австриjска]]}}<br> 11 mareca 1810 - 1814 (razvod)}} | religion = | regnal_name = | issue = | issue_link = #Children | issue_pipe = vyše... | full_name = | house = | father = | mother = | signature = [[Fajl:Firma Napoleón Bonaparte.svg|center|200px]] }} === Související články === * [[Přívozská halda]] * [[Halda Hrabůvka]] * [[Halda Heřmanice]] Tuto jest peskovišče. [[File:Nihongo.svg|thumb|right|100px| 日本語 (Japonsky jezyk)]] '''Japonsky jezyk''' ({{Jezyky|ja|日本語 {{!}} にほんご}} | {{-|''Nihongo'' [nʲiho̞ŋːo̞]}}) {{Kartka činovnik/ofis| name=}} <span class="ext-gadget-alphabet-disable"> </span> == Referencije == <div class="ext-gadget-alphabet-disable"> <references group="lower-alpha"/> {{Iztočniky}} </div> {{Prěvod|en|Japanese language|}} [[Kategorija:Jezyk]] {{Pravopis prověrjeny}} 32ac7e8bvunnl022wbg3z1urtzxd4vt Ԉ 0 3510 44892 36230 2026-07-31T09:46:39Z IJzeren Jan 9 44892 wikitext text/x-wiki [[Fajl:Cyrillic letter Komi Lje.svg | right | 240px]] '''Ԉ''', '''ԉ''' (''Komi lje'') jest [[Kirilica|kirilična]] bukva. Ona jest sedmnadseta bukva [[Molodcovsky alfabet|molodcovskogo alfabeta]], ktory jezykoznavec [[Vasilij Molodcov]] sostavil za [[komi jezyk]] i služil kako služebny pravopis [[Komi-zyrjansky jezyk|komi-zyrjanskogo]] i [[Komi-permjačsky jezyk|komi-permjačskogo]] jezykov v lětah 1918–1932 i 1936–1938. Ona prědstavjaje mekky ekvivalent bukvy '''[[Л]]''' i izgovarjaje se kako {{MFA|ʎ}}; v tutom alfabetu vse mekke suglasky sut označene hvostom. V lětah 1932–1936 bukva '''Ԉ''' byla zaměnjena na [[Latinica|latinsku]] bukvu [[Fajl:Latin capital letter L with descender.svg|10px]]. V sučasnom alfabetu tuta suglaska piše se bukvoju '''{{-|Л/л}}''' prěd '''{{-|ь}}''', '''{{-|е}}''', '''{{-|ё}}''', '''{{-|и}}''', '''{{-|ю}}''' ili '''{{-|я}}'''. Bukva '''Ԉ''' nikogda ne koristala se v nijednom drugom jezyku neželi komi. Druge kirilične bukvy označajuče glasku {{MFA|ʎ}} sut, kromě dvuznaka '''{{-|Ль}}''': * '''[[Љ]]''', upotrěbjajema v [[Srbsky jezyk|srbskom]], [[Črnogorsky jezyk|črnogorskom]], [[Makedonsky jezyk|makedonskom]], [[Medžuslovjansky jezyk|medžuslovjanskom]] i [[Itelmensky jezyk|itelmenskom]], * '''[[Ԡ]]''', upotrěbjena v [[Čuvašsky jezyk|čuvašskom]] do 1938 g., a takože v [[Udmurtsky jezyk|udmurtskom]] bukvaru iz 1882 g. * '''[[Ꙥ]]''', upotrěbjena v [[Starocrkovnoslovjansky jezyk|starocrkovnoslovjanskom]] == Kodovan‌je == {{Kodovanje | 1-znak = Ԉ | 1-nazva = CYRILLIC CAPITAL LETTER KOMI LJE | 1-sist16 = 0508 | 1-sist10 = 1288 | 1-utf8 = D4 88 | 2-znak = ԉ | 2-nazva = CYRILLIC SMALL LETTER KOMI LJE | 2-sist16 = 0509 | 2-sist10 = 1289 | 2-utf8 = D4 89 }} == Vněšnje linky == * {{Cite web | url = https://codepoints.net/U+0508 | title = U+0508 Cyrillic Capital Letter Komi Lje | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+0509| title = U+0509 Cyrillic Small Letter Komi Lje | website = codepoints.net | language = en}} {{Kirilica}} {{Varianty bukvy Л}} {{DEFAULTSORT:Л}} [[Kategorija:Kirilične bukvy]] [[Kategorija:Кириличне буквы]] ghbh1x4fbug0kvuwxsvjugvpuuha0z1 Ԛ (kirilica) 0 3515 44880 44636 2026-07-31T08:20:35Z IJzeren Jan 9 44880 wikitext text/x-wiki [[Fajl:Cyrillic letter Qa.svg | right | 240px]] [[Fajl:Cyrillic letter Qa (form 2).svg | right | 240px]] [[Fajl:Cyrillic letter Qa (form 3).svg | right | 240px]] {{-|'''Ԛ''', '''ԛ'''}} (''qa'') jest bukva razširjenoj [[Kirilica|kirilice]]. Ona jest osnovana na identično izgledajučej [[Latinica|latinskoj]] bukvy '''{{-|Q q}}''', ale zavisno od konteksta i fonta velika bukva može izgledati kako uveličena versija maloj bukvy ili daže kako obračena velika bukva '''{{-|Р}}'''. Dněšnjego dnja ona jest upotrěbjena samo v [[Kurdsky jezyk|kurdskom jezyku]], ale v minulosti ona funkcionovala takože v drugyh jezykah, glavno [[Kavkazske jezyky|kavkazskyh]]. V občem izgovarjaje se kako bezzvučny ili ejektivny uvularny eksplosiv, poslědovateljno {{MFA|q}} ili {{MFA|q’}}. V latinskyh transliteracijah, takože v sistemah [[ISO 9|ISO 9:1995]] i {{-|ГОСТ 7.79—2000}}, jej odpovědaje latinska bukva '''{{-|Q q}}''',<ref>{{Cite web | url = https://www.ifap.ru/library/gost/7792000.pdf | title = ГОСТ 7.79—2000 (ИСО 9—95): система стандартов по информации, библиотечному и издателькому делу. Правила транслитерации кирилловского писма латинским алфавитом | website = ifap.ru | access-date = 2025-12-30 | language = ru | page = 9}}</ref> == Kurdsky == '''{{-|Ԛ}}''' jest bukva kiriličnogo alfabeta [[Kurdsky jezyk|kurdskogo jezyka]] (dialekt kurmandži), upotrěbjajemogo na teritoriji byvšego [[Sovětsky sojuz|Sovětskogo sojuza]], osoblivo [[Armenija|Armenije]]. Označaje bezzvučny uvularny eksplosiv {{MFA|q}}. Kurdska kirilica byla stvorjena kurdskom jezykoznavcem Hadžie Džindi ({{Jezyky|ku|Heciyê Cindî}}) i utvrdžena v 1946 g. za koristan‌je v onogdašnjej [[Sovětsky sojuz|SSSR]]. Vebsajt Dilana M.R. Rošani ješče vozpominaje kiriličny alfabet iz 1913 g. avtora Abdul Razaq Bedir Khan, ktory izgledaje menje-bolje tako samo, kako versija 1946 g.<ref>{{Cite web | url = https://kurdishacademy.org/?p=3064 | title = A Kurdish Orthography TIMELINE | first = Dilan M.R. | last = Roshani | website = Kurdishacademy .org | access-date = 2025-12-30}}</ref><ref>{{Cite web | url = https://www.loc.gov/catdir/cpso/romanization/kurdish.pdf | title = Kurdish Romanization Table, 2012 version | access-date = 2025-12-30}}</ref> == Osetinsky == Kirilično '''{{-|ԛ}}''' bylo upotrěbjeno v historičnyh kiriličnyh alfabetah mnogyh jezykov [[Kavkaz]]a. Pojavilo se prvy raz v [[Osetinsky jezyk|osetinskoj]] gramatikě, napisanoj rosijskym akademikom finskogo proizhodžen‌ja Andersom Sjögrenom v 1844 g.<ref>{{Cite book | last = Шёгрен | first = Андрей | title = Осетинская грамматика с краткимъ словаремъ осетинско-россійскимъ и россійско-осетинскимъ | url = https://books.google.com/books?id=NTdFAAAAYAAJ&pg=PA9 | place = Санктпетербургъ |year = 1844 | language = ru | pages = 19–20}}</ref> Ona takože nahodila se v alfabetah Iosifa Čepigovskogo (1862), Vsevoloda Millera (1881) i učiteljskogo sjezda (1917), osnovanyh na Sjögrenovoj azbukě. S prěhodom na [[Latinica|latinsky alfabet]] v 1923 g. ona byla zaměnjena na latinsku bukvu {{-|'''q'''}}. V nyněšnjem kiriličnom alfabetu, vvedenom v [[Sěverna Osetija|Sěvernoj Osetiji]] v 1938 g., a v [[Južna Osetija|Južnoj Osetiji]] v 1954 g., jejnu rolju prějel dvuznak {{-|'''хъ'''}}, ktory označaje bezzvučny uvularny eksplosiv {{MFA|q}}.<ref>{{Cite web | url = https://www.omniglot.com/writing/ossetian.htm | title = Ossetian (ирон ӕвзаг / дигорон ӕвзаг) | first = Simon | last = Ager | website = Omniglot.com | access-date = 2015-12-30}}</ref> == Abhazsky == Prvy [[abhazsky alfabet]] stvoril v lětah 1861–1862 rosijsky general i kavkazověd [[Pjotr Uslar]]. Tutoj alfabet byl čestično inspirovany osetinskym alfabetom Sjögrena i takože sodržival bukvu '''{{-|ԛ}}''', ktora v [[Abhazsky jezyk|abhazskom]] označala ejektivny uvularny eksplosiv {{MFA|q’}}.<ref>{{Cite book | url = https://docs.yandex.ru/docs/view?url=ya-disk-public%3A%2F%2FSHEPIfcSUDm6N9cbTjDQq5EJ%2BxndFVeLnXUon%2BjQhPw%3D&name=Uslar_K_Etnografiya_Kavkaza_Jazykoznanie_Abkhazsky_jazyk_1862.pdf | first = Петръ | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. Абхазскій языкъ | place = Тифлисъ | year = 1862 | page = 1}}</ref><ref>{{Cite web | url = https://www.omniglot.com/writing/abkhaz.htm | title = Abkhaz (аҧсуа бызшәа) | first = Simon | last = Ager | website = Omniglot.com | access-date = 2025-12-30 | language = en}}</ref> Pozdněje ona takože nahodila se v alfabetah Dmitrija Gulia i Konstantina Mačavariani, Andreja Čočua i Prěvodničskogo komiteta.<ref>{{Cite book | url = http://apsnyteka.org/file/Machavariani_Abkhazskaya_azbuka.pdf | first1 = Д.И. | last1 = Гулиа | first2 = К.Д. | last2 = Мачавариани | title = Абхазская азбука. Главнѣйшія молитвы и заповѣди на абхазскомъ и церковно-славянскомъ языкахъ | place = Тифлисъ | year = 1892 | pages = 13}}</ref><ref>{{Cite book | url = http://apsnyteka.org/file/Chochua_Abkhazskaya_azbuka_1909.pdf | first = А.М. | last = Ч̆оч̆уа | title = Аԥсуа Анбан, Абхазская азбука | place = Тифлисъ | publisher = Изданіе Кавказскаго Учебнаго Округа | year = 1909}}</ref><ref name="Bgažba">{{Cite book | url = https://yadi.sk/i/-cFRKsreuz7r3 | last = Бгажба | first = Х.С. | title = Из истории письменности в Абхазии | place = Тбилиси | year = 1967 | publisher = Мецниереба | language = ru | pages = 68}}</ref> Ona byla v upotrěbě do 1926 g., kogda vvedeny byl [[Latinica|latinsky alfabet]]. Jednakože s ponovnym ustanovjen‌jem kirilice v 1954 g. ona ne vrnula se, ale jedno město zajela nova bukva '''{{-|[[ҟ]]}}'''. == Druge kavkazske jezyky == Poslě abhazskogo Uslar takože stvoril alfabety za druge kavkazske jezyky, ktore koristal v svojih monografijah o [[Čečensky jezyk|čečenskom]] (1862)<ref>{{Cite book | url = https://rusneb.ru/catalog/000199_000009_003566154/ | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. II. Чеченскій языкъ | place = Тифлисъ | year = 1862 | format = PDF}}</ref><ref>{{Cite book | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. II. Чеченскій языкъ | place = Тифлисъ | publisher = Типографія канцеларіи Главноначальстующаго гражданскою частію на Кавказѣ | year = 1868}}</ref>, [[Avarsky jezyk|avarskom]] (1863)<ref>{{Cite book | url = https://runivers.ru/upload/iblock/7e8/Uslar%20P.%20K.%20Etnografiya%20Kavkaza%2003%201889.pdf | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. III. Аварскій языкъ | place = Тифлисъ | year = 1889 | publisher = Типографія канцеларіи Главноначальстующаго гражданскою частію на Кавказѣ | format = PDF}}</ref>, [[Laksky jezyk|lakskom]] (1864)<ref>{{Cite book | url = https://rusneb.ru/catalog/000199_000009_003566154/ | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. IV. Лакскій языкъ | place = Тифлисъ | publisher = Типографія канцеларіи Главноначальстующаго гражданскою частію на Кавказѣ | year = 1890 | format = PDF}}</ref>, [[Darginsky jezyk|darginskom]] (1867)<ref>{{Cite book | url = https://publ.lib.ru/PODVAL/RUS/_BIB/_%D0%E0%E7%ED%EE%E5/Uslar_P_K_Etnografiya_Kavkaza_05_1892.pdf | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. V. Хюркилинскій языкъ | place = Тифлисъ | year = 1892 | publisher = Типографія канцеларіи Главноначальстующаго гражданскою частію на Кавказѣ | format = PDF}}</ref>, [[Lezginsky jezyk|lezginskom]] (1871)<ref>{{Cite book | url = https://runivers.ru/library/pdf/68151/ | first = П.К. | last = Усларъ | title = Этнографія Кавказа. Языкознаніе. VI. Кюринский язык | place = Тифлисъ | year = 1896 | publisher = Типографія канцеларіи Главноначальстующаго гражданскою частію на Кавказѣ | format = PDF}}</ref> i [[Tabasaransky jezyk|tabasaranskom]] (1875).<ref>{{Cite book | url = https://cathedra.dgu.ru/Content/files/%D0%A4%D0%B8%D0%BB%D0%BE%D0%BB%D0%BE%D0%B3%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9%20%D1%84%D0%B0%D0%BA%D1%83%D0%BB%D1%8C%D1%82%D0%B5%D1%82/0882002_E79CF_uslar_p_k_tabasaranskiy_yazyk.pdf | first = П.К. | last = Услар | title = Табасаранский язык | place = Тбилиси | publisher = Мецниереба | year = 1979 | format = PDF}}</ref> Zajedno s Umarom Bersejem Uslar stvoril takože alfabet za [[kabardino-čerkessky jezyk]] v 1862 g., s malymi izměnami publikovany Kazi Atažukinom v 1865 g.<ref>{{Cite web | url = https://dspace.nplg.gov.ge/bitstream/1234/154399/1/Kabardinckaia_Azbuka.pdf | title = Ԛабарде алѵфбе / Кабардинская азбука | first = Kazi | last = Atažukin | place = Тифлис | year = 1865 | pages = 17}}</ref> Kromě togo, '''ԛ''' takože nahodilo se v anonimnom bukvaru [[Svansky jezyk|svanskogo jezyka]] iz 1864 g.<ref>{{Cite book | title = Лушну Анбан. Сванетская азбука | place = Тифлисъ | publisher = Типографія Главнаго Управленія Намѣстника Кавказскаго | year = 1864 | pages = 1}}</ref> Na osnově alfabetov Sjögrena, Uslara i Millera němečsko-rosijsky lingvist i etnograf Adolf Dirr na početku 20. stolětja stvoril alfabety za menše [[Sěverovozhodnokavkazske jezyky|sěverovozhodnokavkazskyh jezykov]] za svoju naučnu rabotu, ale ktore ne byli upotrěbjene samym naseljen‌jem. Koristal jih v svojih monografijah o [[Udinsky jezyk|udinskom]] (1904)<ref>{{Cite journal | url = https://cloud.mail.ru/public/ACZV/5NYyUMSwW?/public/85facf9592ae%2F%D0%A1%D0%9C%D0%9E%D0%9C%D0%9F%D0%9A_1904_33.pdf | first = А.М. | last = Дирръ | title = Грамматика удинскаго языка | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 33 | year = 1904 | place = Тифлисъ | language = ru | pages = IV: 1}}</ref>, [[Tabasaransky jezyk|tabasaranskom]] (1905)<ref>{{Cite journal | url = https://cloud.mail.ru/public/M7pd/2Z5eEJnZW?/public/c8c22b4cbdcd%2F%D0%A1%D0%9C%D0%9E%D0%9C%D0%9F%D0%9A_1905_35.pdf | first = А.М. | last = Дирръ | title = Грамматическій очеркъ табассаранскаго языка | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 35 | year = 1905 | place = Тифлисъ | language = ru | pages = III: 1}}</ref>, [[Andijsky jezyk|andijskom]] (1906)<ref>{{Cite journal | url = https://cloud.mail.ru/public/Wh3H/3SeHvrm4u?/public/4bb304fc44ec%2F%D0%A1%D0%9C%D0%9E%D0%9C%D0%9F%D0%9A_1906_36.pdf | first = А.М. | last = Дирръ | title = Краткій грамматическій очеркъ андійского языка | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 36 | year = 1906 | place = Тифлисъ | language = ru | pages = IV: 1}}</ref>, [[Agulsky jezyk|agulskom]] (1907)<ref>{{Cite journal | url = https://cloud.mail.ru/public/3tnx/2CxLmvyPC?/public/a8a5054fb80c%2F%D0%A1%D0%9C%D0%9E%D0%9C%D0%9F%D0%9A_1907_37.pdf | first = А.М. | last = Дирръ | title = Агульскій языкъ. Грамматическій очеркъ, тексты, сборникъ агульскихъ слов съ русскимъ къ нему указателемъ | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 37 | year = 1907 | place = Тифлисъ | language = ru | pages = III: 1}}</ref>, [[Arčinsky jezyk|arčinskom]] (1908)<ref>{{Cite journal | url = https://cloud.mail.ru/public/2V7q/4MmrzoJb2?/public/51abdc5f4f0d%2F%D0%A1%D0%9C%D0%9E%D0%9C%D0%9F%D0%9A_1908_39.pdf | first = А.М. | last = Дирръ | title = Арчинскій языкъ. Грамматическій очеркъ, тексты, сборникъ арчинскихъ словъ съ русскимъ къ нему указателемъ | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 39 | year = 1908 | place = Тифлисъ | language = ru | pages = III: 1}}</ref>, [[Rutulsky jezyk|rutulskom]] (1912)<ref>{{Cite journal | first = А.М. | last = Дирръ | title = Рутульскій языкъ | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 42 | year = 1912 | place = Тифлисъ | language = ru}}</ref> i [[Cahursky jezyk|cahurskom]] (1913)<ref>{{Cite journal | url = https://cloud.mail.ru/public/3qtv/2GsijNJHW?/public/4f201873c712%2F%D0%A1%D0%9C%D0%9E%D0%9C%D0%9F%D0%9A_1913_43.pdf | first = А.М. | last = Дирръ | title = Цахурскій языкъ. Грамматическій очеркъ, тексты, сборникъ цахурскихъ словъ съ русскимъ къ нему указателемъ | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 43 | year = 1913 | place = Тифлисъ | language = ru | pages = III: 1}}</ref> jezykah. Tojže sam alfabet Dirr koristal takože v svojih kratših opisah bezpisemnyh jezykov ([[Botlihsky jezyk|botlihskogo]], [[Godoberinsky jezyk|godoberinskogo]], [[Karatinsky jezyk|karatinskogo]], [[Ahvahsky jezyk|ahvahskogo]] i drugyh).<ref>{{Cite journal | url = https://cloud.mail.ru/public/676e65915602%2F%D0%A1%D0%9C%D0%9E%D0%9C%D0%9F%D0%9A_1909_40.pdf | first = А.М. | last = Дирръ | title = Матеріалы для изученія языковъ и нарѣчій андо-дидойской группы | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 40 | year = 1909 | place = Тифлисъ | language = ru}}</ref> Drugy lingvist, Foma Ivanovič Gorepjokin, stvoril na početku 20. stolětja podobny alfabet za [[ingušsky jezyk]].<ref>{{Cite news | url = https://etokavkaz.ru/istoriya/prosvetitel-ingushei-kak-na-kavkaze-ishchut-poteryannye-rukopisi-fomy-gorepekina | title = Просветитель ингушей: как на Кавказе ищут потерянные рукописи Фомы Горепёкина | first = Мадина | last = Хадзиева | website = Это Кавказ | date = 2024-07-05 | language = ru | access-date = 2025-12-31}}</ref> Jednakože v nijednom iz povyših jezykov bukva '''ԛ''' ne shranila se: v čečenskom ona byla zaměnjena na {{-|'''кх'''}} {{MFA|q’}}, v kabardino-čerkesskom na {{-|'''къ'''}} {{MFA|q}}, v avarskom i lakskom takože na {{-|'''къ'''}} {{MFA|q’}}, v lezginskom, darginskom i tabasaranskom na {{-|'''кь'''}} {{MFA|q’}}, i tako dalje. Někoje jezyky imajut varianty kiriličnogo '''ԛ''', napriklad {{Calibri|'''[[ԛ̆]]'''}} v abhazskom, {{Calibri|'''[[ԛꙻ]]'''}} &nbsp; v kabardino-čerkesskom ili {{Calibri|'''[[ԛ̄]]'''}} v arčinskom i andijskom. == Udmurtsky == V 1895 g. Grigorij Jegovorič Vereščagin prědložil alfabet za [[udmurtsky jezyk]] (onogda nazyvajemy «votskym»), jediny udmurtsky alfabet s bukvoju '''ԛ''', o ktoroj piše: «Ne vveden sostaviteljami i prěvoditeljami votskyh knig v svoj alfabet jest ješče neobhodimy latinsky znak q, za označen‌je svojeobraznogo votskogo zvuka. Zvuk toj izgovarjaje se kako něčto srědnje medžu ''ku'' ili ''kv''. Jestli on prědhodi ''a'', to neprěměnno slyši se ku, pri čem ''u'' i ''a'' izgovarjajut se zajedno, kako ''c'', ravnoznačny ''ts''.»<ref>{{Cite book | url = https://elibrary.unatlib.ru/web/viewer.html?dsfile=9ea985be-214f-483e-9c5f-a4a42db765ad&dstitle=%D0%9E%20%D0%BA%D0%BD%D0%B8%D0%B3%D0%B0%D1%85%20%D0%BD%D0%B0%20%D0%B2%D0%BE%D1%82%D1%81%D0%BA%D0%BE%D0%BC%20%D1%8F%D0%B7%D1%8B%D0%BA%D0%B5 | last = Верещагин | first = Г. | title = О книгах на Вотском языке | location = Вятка | publisher = Губернская Типографія | year = 1895 | page = y}}</ref> Kako priklady davaje, medžu drugymi, slova {{Lang|udm|ԛалем}} «rakovina» i {{Lang|udm|ԛара}} «glas», v sučasnoj udmurtskoj ortografiji pisane {{Lang|udm|куалем}} i {{Lang|udm|куала}}. == Assirijsky novoaramejsky == V lětah 1920-yh za [[assirijsky novoaramejsky jezyk]] razrabotany byl kiriličny alfabet s někojimi dodatočnymi bukvami iz latinice. V tutom alfabetu latinskym ekvivalentom bukva '''ԛ''' bylo '''{{-|kj}}'''.<ref>{{Cite book | first = Н. В. | last = Юшманов | chapter = Ассирийский язык и его письмо | url = https://viewer.rusneb.ru/ru/000202_000006_RuPRLIB12055619?page=114&rotate=0&theme=white | location = Москва, Ленинград | year= 1933 | language = ru | title = Письменность и революция | volume = 1 | page = 120}}</ref>. == Galerija == {| | [[Fajl:Ossetian alphabet in Sjögren 1844.jpg | thumb | 300px | Osetinsky alfabet Sjögrena (1844)]] [[Fajl:Ossetian alphabet in Chepigovski (1884).jpg | thumb | 300px | Osetinsky alfabet Čepigovskogo (1884)]] [[Fajl:Chechen alphabet by Uslar.JPG | thumb | 300px | Čečensky alfabet Uslara (1862)]] | [[Fajl:Abkhazian alphabet in von Uslar 1862.jpg | thumb | 300px | Abhazsky alfabet Uslara (1862)]] [[Fajl:Abkhaz alphabet 1892.png | thumb | 300px | Abhazsky alfabet Gulia/Mačavariani (1892)]] | [[Fajl:Udmurt alphabet in Vereshchagin (1895).jpg | thumb | 300px | Udmurtsky alfabet Vereščagina (1895)]] [[Fajl:Uslar-Avar alphabet.jpg | thumb | 300px | Avarsky alfabet Uslara (1863)]] [[Fajl:Atazhukin alphabet, 1865.PNG | thumb | 300px | Kabardinsky alfabet Atažukina (1865)]] [[Fajl:Arčinsky alfabet Dirra.png | thumb | 300px | Arčinsky alfabet Dirra (1908)]] |} == Kodovan‌je == {{Kodovanje | 1-znak = Ԛ | 1-nazva = CYRILLIC CAPITAL LETTER QA | 1-sist16 = 051A | 1-sist10 = 1306 | 1-utf8 = D4 9A | 2-znak = ԛ | 2-nazva = CYRILLIC SMALL LETTER QA | 2-sist16 = 051B | 2-sist10 = 1307 | 2-utf8 = D4 9B }} == Iztočniky == {{Iztočniky}} == Vněšnje linky == * {{Cite web | url = https://codepoints.net/U+051A | title = U+051A Cyrillic Capital Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+051B | title = U+051B Cyrillic Small Letter Qa | website = codepoints.net | language = en}} {{Kirilica}} {{Varianty bukvy К}} {{DEFAULTSORT:К}} [[Kategorija:Kirilične bukvy]] [[Kategorija:Кириличне буквы]] bn9w4isht6du4d75jhg0zkkxe14w1y0 Ԛ̄ 0 3516 44881 23107 2026-07-31T08:28:05Z IJzeren Jan 9 44881 wikitext text/x-wiki {| width=240px align=right style="border:1px solid #eee; padding-left:2em; padding-right:2em; margin-left:1em; margin-bottom:1em; text-align:center" | <span style="font-size:90pt; font-family:Calibri, Cambria;">{{-|Ԛ̄ԛ̄}}</span> |} {{Calibri|'''Ԛ̄''', '''ԛ̄'''}} (''qa s makronom'') jest historična bukva razširjenoj [[Kirilica|kirilice]], osnovana na bukvě '''[[Ԛ (kirilica)|ԛ]]'''. Němečsko-rosijsky lingvist i etnograf Adolf Dirr koristal ju v monografijah o dvoh bezpisemnyh [[Sěverovozhodnokavkazske jezyky|sěverovozhodnokavkazskyh jezykah]]: [[Andijsky jezyk|andijskom]] i [[Arčinsky jezyk|arčinskom]], publikovanyh v žurnalu «Sbornik materialov za opisan‌je městnostij i plemen Kavkaza» v lětah 1906 i 1908.<ref name="andijsky">{{Cite journal | url = https://cloud.mail.ru/public/Wh3H/3SeHvrm4u?/public/4bb304fc44ec%2F%D0%A1%D0%9C%D0%9E%D0%9C%D0%9F%D0%9A_1906_36.pdf | first = А.М. | last = Дирръ | title = Краткій грамматическій очеркъ андійского языка | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 36 | year = 1906 | place = Тифлисъ | language = ru | pages = IV: 1–2}}</ref><ref>{{Cite journal | url = https://cloud.mail.ru/public/2V7q/4MmrzoJb2?/public/51abdc5f4f0d%2F%D0%A1%D0%9C%D0%9E%D0%9C%D0%9F%D0%9A_1908_39.pdf | first = А.М. | last = Дирръ | title = Арчинскій языкъ. Грамматическій очеркъ, тексты, сборникъ арчинскихъ словъ съ русскимъ къ нему указателемъ | journal = Сборникъ матеріалов для описанія мѣстностей и племенъ Кавказа. Выпускъ 39 | year = 1908 | place = Тифлисъ | language = ru | pages = III: 1}}</ref> Ob izgovoru tutoj bukvy v andijskom Dirr piše, že ''«{{Calibri|ԛ̄}} jest ԛ, izgovorjeno s značno večšim naprežen‌jem»''.<ref name="andijsky" /> [[Fajl:Arčinsky alfabet Dirra.png | thumb | left | 600px | Arčinska azbuka A.M. Dirra (1908)]] {{Clear}} == Kodovan‌je == {{Kodovanje | 1-znak = Ԛ | 1-nazva = CYRILLIC CAPITAL LETTER QA | 1-sist16 = 051A | 1-sist10 = 1306 | 1-utf8 = D4 9A | 2-znak = ԛ | 2-nazva = CYRILLIC SMALL LETTER QA | 2-sist16 = 051B | 2-sist10 = 1307 | 2-utf8 = D4 9B | 3-znak = ◌̄ | 3-nazva = COMBINING MACRON | 3-sist16 = 0304 | 3-sist10 = 772 | 3-utf8 = CC 84 }} == Iztočniky == {{Iztočniky}} == Vněšnje linky == * {{Cite web | url = https://codepoints.net/U+051A | title = U+051A Cyrillic Capital Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+051B | title = U+051B Cyrillic Small Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+0304 | title = U+0304 Combining Macron | website = codepoints.net | language = en}} {{Kirilica}} {{Varianty bukvy К}} {{DEFAULTSORT:К}} [[Kategorija:Kirilične bukvy]] [[Kategorija:Кириличне буквы]] 6i4hfjie86i7vrg7g6m0vclf7ev6ayo Ԛ̆ 0 3517 44882 36236 2026-07-31T08:35:50Z IJzeren Jan 9 44882 wikitext text/x-wiki {| width=240px align=right style="border:1px solid #eee; padding-left:2em; padding-right:2em; margin-left:1em; margin-bottom:1em; text-align:center" | <span style="font-size:90pt; font-family:Calibri, Cambria;">{{-|Ԛ̆ԛ̆}}</span> |- | <span style="font-size:90pt; font-family:Calibri, Cambria;">{{-|ꟼ̆ԛ̆}}</span> |} {{Calibri|'''Ԛ̆''', '''ԛ̆'''}} (''qa s brevisom'') jest historična bukva razširjenoj [[Kirilica|kirilice]], ktora byla osnovna na bukvě '''[[Ԛ (kirilica)|ԛ]]''' i upotrěbjana v [[Abhazsky alfabet|abhazskom alfabetu]] od početka 20. stolětja do 1926 g., kogda vvedeny byl [[Latinica|latinsky alfabet]], za označen‌je palatalizovanogo ejektivnogo uvularnogo eksplosiva {{MFA|q’ʲ}}. Ona zastupila raněje upotrěbjanu kombinaciju '''{{-|ԛj}}'''.<ref>{{Cite book | url = https://yadi.sk/i/-cFRKsreuz7r3 | last = Бгажба | first = Х.С. | title = Из истории письменности в Абхазии | place = Тбилиси | year = 1967 | publisher = Мецниереба | language = ru | pages = 68}}</ref> V sučasnom abhazskom pravopisu tutoj zvuk označaje se dvuznakom '''{{-|ҟь}}''', v latinskoj transliteraciji '''{{-|qy’}}''' ({{-|BGN-PCGN}})<ref>{{Cite web | url = https://assets.publishing.service.gov.uk/media/5d0a390340f0b620054bad58/ROMANIZATION_OF_ABKHAZ.pdf | title = Romanization of Abkhaz: BGN/PCGN 2011 System | access-date = 2025-12-13}}</ref>, '''{{-|qj}}''' ({{-|KNAB}})<ref>{{Cite web | url = https://arhiiv.eki.ee/knab/lat/kblab.pdf | title = Abhaasi / Abkhaz / Апсуа Apsua. latinisatioon / romanization: KNAB 1993, modif. 1997 | website = Eesti Keele Institut / Institute of the Estonian Language | date = 2003-03-08}}</ref>, '''{{-|q̇’}}''' ({{-|TITUS}})<ref>{{Cite web | url = https://titus.uni-frankfurt.de/didact/caucasus/kaukschr.pdf | first = J. | last = Gippert | title = Caucasian alphabet systems based upon the Cyrillic script | website = titus.uni-frankfurt.de | access-date = 2025-12-14}}</ref>, '''{{-|q’}}''' ({{-|ALA-LC}})<ref>{{Cite web | url = https://www.loc.gov/catdir/cpso/romanization/nonslav.pdf | title = ALA-LC Romanization tables: Non-Slavic Languages (in Cyrillic Script) | access-date = 2025-12-13}}</ref>, '''{{-|k̄’}}''' ({{-|[[ISO 9|ISO 9:1995]] / ГОСТ 7.79—2000}}).<ref>{{Cite web | url = https://www.ifap.ru/library/gost/7792000.pdf | title = ГОСТ 7.79—2000 (ИСО 9—95): система стандартов по информации, библиотечному и издателькому делу. Правила транслитерации кирилловского писма латинским алфавитом | website = ifap.ru | access-date = 2025-12-30 | language = ru | page = 9}}</ref> [[Fajl:Chochua Abkhazskaya azbuka 1909.jpg | thumb | left | 500px | Abhazsky bukvar Andreja Ivanoviča Čočua iz 1909 g.]] {{Clear}} == Kodovan‌je == Tuta bukva ne jestvuje kako samostojny znak v [[Unikod]]u. Zaměsto togo ona piše se kako {{-|'''Ԛ ԛ'''}} s kombinujučim brevisom. Variant velikoj bukvy '''{{-|Ԛ}}''', ktory izgledaje kako obračeno '''{{-|P}}''' («ꟼ»), jestvuje samo kako variant latinskoj bukvy i ne imaje maly ekvalent. {{Kodovanje | 1-znak = Ԛ | 1-nazva = CYRILLIC CAPITAL LETTER QA | 1-sist16 = 051A | 1-sist10 = 1306 | 1-utf8 = D4 9A | 2-znak = ԛ | 2-nazva = CYRILLIC SMALL LETTER QA | 2-sist16 = 051B | 2-sist10 = 1307 | 2-utf8 = D4 9B | 3-znak = ◌̆ | 3-nazva = COMBINING BREVE | 3-sist16 = 0306 | 3-sist10 = 774 | 3-utf8 = CC 86 | 4-znak = ꟼ | 4-nazva = LATIN EPIGRAPHIC LETTER REVERSED P | 4-sist16 = A7FC | 4-sist10 = 43004 | 4-utf8 = EA 9F BC }} == Iztočniky == {{Iztočniky}} == Vněšnje linky == * {{Cite web | url = https://codepoints.net/U+051A | title = U+051A Cyrillic Capital Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+051B | title = U+051B Cyrillic Small Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+0306 | title = U+0306 Combining Breve | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+A7FC | title = U+A7FC Latin Epigraphic Letter Reversed P | website = codepoints.net | language = en}} {{Kirilica}} {{Varianty bukvy К}} [[Kategorija:Kirilične bukvy]] [[Kategorija:Кириличне буквы]] hmjpj7wdwltl0g1saggz8bvg7akzaee 44883 44882 2026-07-31T08:37:22Z IJzeren Jan 9 /* Vněšnje linky */ 44883 wikitext text/x-wiki {| width=240px align=right style="border:1px solid #eee; padding-left:2em; padding-right:2em; margin-left:1em; margin-bottom:1em; text-align:center" | <span style="font-size:90pt; font-family:Calibri, Cambria;">{{-|Ԛ̆ԛ̆}}</span> |- | <span style="font-size:90pt; font-family:Calibri, Cambria;">{{-|ꟼ̆ԛ̆}}</span> |} {{Calibri|'''Ԛ̆''', '''ԛ̆'''}} (''qa s brevisom'') jest historična bukva razširjenoj [[Kirilica|kirilice]], ktora byla osnovna na bukvě '''[[Ԛ (kirilica)|ԛ]]''' i upotrěbjana v [[Abhazsky alfabet|abhazskom alfabetu]] od početka 20. stolětja do 1926 g., kogda vvedeny byl [[Latinica|latinsky alfabet]], za označen‌je palatalizovanogo ejektivnogo uvularnogo eksplosiva {{MFA|q’ʲ}}. Ona zastupila raněje upotrěbjanu kombinaciju '''{{-|ԛj}}'''.<ref>{{Cite book | url = https://yadi.sk/i/-cFRKsreuz7r3 | last = Бгажба | first = Х.С. | title = Из истории письменности в Абхазии | place = Тбилиси | year = 1967 | publisher = Мецниереба | language = ru | pages = 68}}</ref> V sučasnom abhazskom pravopisu tutoj zvuk označaje se dvuznakom '''{{-|ҟь}}''', v latinskoj transliteraciji '''{{-|qy’}}''' ({{-|BGN-PCGN}})<ref>{{Cite web | url = https://assets.publishing.service.gov.uk/media/5d0a390340f0b620054bad58/ROMANIZATION_OF_ABKHAZ.pdf | title = Romanization of Abkhaz: BGN/PCGN 2011 System | access-date = 2025-12-13}}</ref>, '''{{-|qj}}''' ({{-|KNAB}})<ref>{{Cite web | url = https://arhiiv.eki.ee/knab/lat/kblab.pdf | title = Abhaasi / Abkhaz / Апсуа Apsua. latinisatioon / romanization: KNAB 1993, modif. 1997 | website = Eesti Keele Institut / Institute of the Estonian Language | date = 2003-03-08}}</ref>, '''{{-|q̇’}}''' ({{-|TITUS}})<ref>{{Cite web | url = https://titus.uni-frankfurt.de/didact/caucasus/kaukschr.pdf | first = J. | last = Gippert | title = Caucasian alphabet systems based upon the Cyrillic script | website = titus.uni-frankfurt.de | access-date = 2025-12-14}}</ref>, '''{{-|q’}}''' ({{-|ALA-LC}})<ref>{{Cite web | url = https://www.loc.gov/catdir/cpso/romanization/nonslav.pdf | title = ALA-LC Romanization tables: Non-Slavic Languages (in Cyrillic Script) | access-date = 2025-12-13}}</ref>, '''{{-|k̄’}}''' ({{-|[[ISO 9|ISO 9:1995]] / ГОСТ 7.79—2000}}).<ref>{{Cite web | url = https://www.ifap.ru/library/gost/7792000.pdf | title = ГОСТ 7.79—2000 (ИСО 9—95): система стандартов по информации, библиотечному и издателькому делу. Правила транслитерации кирилловского писма латинским алфавитом | website = ifap.ru | access-date = 2025-12-30 | language = ru | page = 9}}</ref> [[Fajl:Chochua Abkhazskaya azbuka 1909.jpg | thumb | left | 500px | Abhazsky bukvar Andreja Ivanoviča Čočua iz 1909 g.]] {{Clear}} == Kodovan‌je == Tuta bukva ne jestvuje kako samostojny znak v [[Unikod]]u. Zaměsto togo ona piše se kako {{-|'''Ԛ ԛ'''}} s kombinujučim brevisom. Variant velikoj bukvy '''{{-|Ԛ}}''', ktory izgledaje kako obračeno '''{{-|P}}''' («ꟼ»), jestvuje samo kako variant latinskoj bukvy i ne imaje maly ekvalent. {{Kodovanje | 1-znak = Ԛ | 1-nazva = CYRILLIC CAPITAL LETTER QA | 1-sist16 = 051A | 1-sist10 = 1306 | 1-utf8 = D4 9A | 2-znak = ԛ | 2-nazva = CYRILLIC SMALL LETTER QA | 2-sist16 = 051B | 2-sist10 = 1307 | 2-utf8 = D4 9B | 3-znak = ◌̆ | 3-nazva = COMBINING BREVE | 3-sist16 = 0306 | 3-sist10 = 774 | 3-utf8 = CC 86 | 4-znak = ꟼ | 4-nazva = LATIN EPIGRAPHIC LETTER REVERSED P | 4-sist16 = A7FC | 4-sist10 = 43004 | 4-utf8 = EA 9F BC }} == Iztočniky == {{Iztočniky}} == Vněšnje linky == * {{Cite web | url = https://codepoints.net/U+051A | title = U+051A Cyrillic Capital Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+051B | title = U+051B Cyrillic Small Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+0306 | title = U+0306 Combining Breve | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+A7FC | title = U+A7FC Latin Epigraphic Letter Reversed P | website = codepoints.net | language = en}} {{Kirilica}} {{Varianty bukvy К}} {{DEFAULTSORT:К}} [[Kategorija:Kirilične bukvy]] [[Kategorija:Кириличне буквы]] cx2fglvatv5da8le0j9d9r6f9yhrbb6 Ԛ̇ 0 3518 44889 28549 2026-07-31T09:39:48Z IJzeren Jan 9 44889 wikitext text/x-wiki {| style="width:240px; float:right; clear:right; border:1px solid #eee; padding-left:2em; padding-right:2em; margin-left:1em; margin-bottom:1em; text-align:center;" | <span style="font-size:90pt; font-family:Calibri, Cambria, Gentium Plus;">{{-|Ԛ̇ԛ̇}}</span> |} {{Calibri|'''Ԛ̇''', '''ԛ̇'''}} (''qa s vrhnjeju točkoju'') jest historična bukva razširjenoj [[Kirilica|kirilice]], osnovana na bukvě '''{{-|[[Ԛ (kirilica)|ԛ]]}}'''. Ona byla čest alfabeta stvorjenogo [[Abhazija|abhazskym]] historikom i aktivistom Semjonom Mihajlovičem Ašhacavoju (1886–1943) za [[Bzybsky dialekt abhazskogo jezyka|bzybsky]] dialekt [[Abhazsky jezyk|abhazskogo jezyka]] v 1906 g.<ref>{{Cite book | url = https://yadi.sk/i/gBIZEslWujvUt | format = PDF | first = Х.С. | last = Бгажба | title = Бзыбский диалект абхазского языка (Исследование и тексты) | place = Тбилиси | publisher = Издательство Академии наук Грузинской ССР | year = 1964 | language = ru | pages = 16–17}}</ref> Ona označala palatalizovany ejektivny uvularny eksplosiv {{MFA|q’ʲ}}, v sučasnom [[Abhazsky alfabet|abhazskom pravopisu]] pisany dvuznakom {{-|'''ҟь'''}}.<ref>{{Cite book | url = https://disk.yandex.ru/i/2WiKc6d_bmWAJ | first = Н.Я. | last = Марр | title = О языке и истории абхазов | place = Москва, Ленинград | publisher = Издательство Академии наук СССР | year = 1938 | chapter = О записывании абхазских текстов | page = 160 | format = PDF | language = ru | pages = 158–163}}</ref><ref>{{Cite web | url = https://www.omniglot.com/writing/abkhaz.htm | title = Abkhaz (аҧсуа бызшәа) | first = Simon | last = Ager | website = Omniglot.com | access-date = 2025-12-16 | language = en}}</ref> Kako rukovoditelj bzybskogo komiteta Družstva razprostranjen‌ja prosvěty srěd Abhazov, Ašhacava prilal lingvistu Nikolaju Marru okolo 100 abhazskyh skazok napisanyh na tutom alfabetu, ale kromě togo nikogda ne došlo k jegovomu praktičnomu priměnjen‌ju.<ref>{{Cite book | url = https://yadi.sk/i/-cFRKsreuz7r3 | format = PDF | last = Бгажба | first = Х.С. | title = Из истории письменности в Абхазии | place = Тбилиси | year = 1967 | publisher = Мецниереба | language = ru | page = 56}}</ref> == Kodovan‌je == {{Kodovanje | 1-znak = Ԛ | 1-nazva = CYRILLIC CAPITAL LETTER QA | 1-sist16 = 051A | 1-sist10 = 1306 | 1-utf8 = D4 9A | 2-znak = ԛ | 2-nazva = CYRILLIC SMALL LETTER QA | 2-sist16 = 051B | 2-sist10 = 1307 | 2-utf8 = D4 9B | 3-znak = ◌̇ | 3-nazva = COMBINING DOT ABOVE | 3-sist16 = 0307 | 3-sist10 = 775 | 3-utf8 = CC 87 }} == Iztočniky == {{Iztočniky}} == Vněšnje linky == * {{Cite web | url = https://codepoints.net/U+051A | title = U+051A Cyrillic Capital Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+051B | title = U+051B Cyrillic Small Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+0307 | title = U+0307 Combining Dot Above | website = codepoints.net | language = en}} {{Kirilica}} {{Varianty bukvy К}} {{DEFAULTSORT:К}} [[Kategorija:Kirilične bukvy]] [[Kategorija:Кириличне буквы]] ax49uouzti23kjsrq3mrj1womi0r4sd Ԛ̊ 0 3519 44890 28550 2026-07-31T09:41:18Z IJzeren Jan 9 44890 wikitext text/x-wiki {| style="width:240px; float:right; clear:right; border:1px solid #eee; padding-left:2em; padding-right:2em; margin-left:1em; margin-bottom:1em; text-align:center;" | <span style="font-size:90pt; font-family:Calibri, Cambria, Gentium Plus;">{{-|Ԛ̊ԛ̊}}</span> |} {{Calibri|'''Ԛ̊''', '''ԛ̊'''}} (''qa s vrhnjim prstenjem'') jest historična bukva razširjenoj [[Kirilica|kirilice]], osnovana na bukvě '''{{-|[[Ԛ (kirilica)|ԛ]]}}'''. Ona byla čest alfabeta stvorjenogo [[Abhazija|abhazskym]] historikom i aktivistom Semjonom Mihajlovičem Ašhacavoju (1886–1943) za [[Bzybsky dialekt abhazskogo jezyka|bzybsky]] dialekt [[Abhazsky jezyk|abhazskogo jezyka]] v 1906 g.<ref>{{Cite book | url = https://yadi.sk/i/gBIZEslWujvUt | format = PDF | first = Х.С. | last = Бгажба | title = Бзыбский диалект абхазского языка (Исследование и тексты) | place = Тбилиси | publisher = Издательство Академии наук Грузинской ССР | year = 1964 | language = ru | pages = 16–17}}</ref> Ona označala labializovany ejektivny uvularny eksplosiv {{MFA|q’ʷ}}, v sučasnom [[Abhazsky alfabet|abhazskom pravopisu]] pisany dvuznakom {{-|'''ҟә'''}}.<ref>{{Cite book | url = https://disk.yandex.ru/i/2WiKc6d_bmWAJ | first = Н.Я. | last = Марр | title = О языке и истории абхазов | place = Москва, Ленинград | publisher = Издательство Академии наук СССР | year = 1938 | chapter = О записывании абхазских текстов | page = 160 | format = PDF | language = ru | pages = 158–163}}</ref><ref>{{Cite web | url = https://www.omniglot.com/writing/abkhaz.htm | title = Abkhaz (аҧсуа бызшәа) | first = Simon | last = Ager | website = Omniglot.com | access-date = 2025-12-16 | language = en}}</ref> Kako rukovoditelj bzybskogo komiteta Družstva razprostranjen‌ja prosvěty srěd Abhazov, Ašhacava prilal lingvistu Nikolaju Marru okolo 100 abhazskyh skazok napisanyh na tutom alfabetu, ale kromě togo nikogda ne došlo k jegovomu praktičnomu priměnjen‌ju.<ref>{{Cite book | url = https://yadi.sk/i/-cFRKsreuz7r3 | format = PDF | last = Бгажба | first = Х.С. | title = Из истории письменности в Абхазии | place = Тбилиси | year = 1967 | publisher = Мецниереба | language = ru | page = 56}}</ref> == Kodovan‌je == {{Kodovanje | 1-znak = Ԛ | 1-nazva = CYRILLIC CAPITAL LETTER QA | 1-sist16 = 051A | 1-sist10 = 1306 | 1-utf8 = D4 9A | 2-znak = ԛ | 2-nazva = CYRILLIC SMALL LETTER QA | 2-sist16 = 051B | 2-sist10 = 1307 | 2-utf8 = D4 9B | 3-znak = ◌̇ | 3-nazva = COMBINING RING ABOVE | 3-sist16 = 030A | 3-sist10 = 778 | 3-utf8 = CC 8A }} == Iztočniky == {{Iztočniky}} == Vněšnje linky == * {{Cite web | url = https://codepoints.net/U+051A | title = U+051A Cyrillic Capital Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+051B | title = U+051B Cyrillic Small Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+030A | title = U+030A Combining Ring Above | website = codepoints.net | language = en}} {{Kirilica}} {{Varianty bukvy К}} {{DEFAULTSORT:К}} [[Kategorija:Kirilične bukvy]] [[Kategorija:Кириличне буквы]] dglk5cimrije3scgnr9c3jrt31qejme 44891 44890 2026-07-31T09:42:44Z IJzeren Jan 9 44891 wikitext text/x-wiki {| style="width:240px; float:right; clear:right; border:1px solid #eee; padding-left:2em; padding-right:2em; margin-left:1em; margin-bottom:1em; text-align:center;" | <span style="font-size:90pt; font-family:Calibri, Cambria, Gentium Plus;">{{-|Ԛ̊ԛ̊}}</span> |} {{Calibri|'''Ԛ̊''', '''ԛ̊'''}} (''qa s vrhnjim prstenjem'') jest historična bukva razširjenoj [[Kirilica|kirilice]], osnovana na bukvě '''{{-|[[Ԛ (kirilica)|ԛ]]}}'''. Ona byla čest alfabeta stvorjenogo [[Abhazija|abhazskym]] historikom i aktivistom Semjonom Mihajlovičem Ašhacavoju (1886–1943) za [[Bzybsky dialekt abhazskogo jezyka|bzybsky]] dialekt [[Abhazsky jezyk|abhazskogo jezyka]] v 1906 g.<ref>{{Cite book | url = https://yadi.sk/i/gBIZEslWujvUt | format = PDF | first = Х.С. | last = Бгажба | title = Бзыбский диалект абхазского языка (Исследование и тексты) | place = Тбилиси | publisher = Издательство Академии наук Грузинской ССР | year = 1964 | language = ru | pages = 16–17}}</ref> Ona označala labializovany ejektivny uvularny eksplosiv {{MFA|q’ʷ}}, v sučasnom [[Abhazsky alfabet|abhazskom pravopisu]] pisany dvuznakom {{-|'''ҟә'''}}.<ref>{{Cite book | url = https://disk.yandex.ru/i/2WiKc6d_bmWAJ | first = Н.Я. | last = Марр | title = О языке и истории абхазов | place = Москва, Ленинград | publisher = Издательство Академии наук СССР | year = 1938 | chapter = О записывании абхазских текстов | page = 160 | format = PDF | language = ru | pages = 158–163}}</ref><ref>{{Cite web | url = https://www.omniglot.com/writing/abkhaz.htm | title = Abkhaz (аҧсуа бызшәа) | first = Simon | last = Ager | website = Omniglot.com | access-date = 2025-12-16 | language = en}}</ref> Kako rukovoditelj bzybskogo komiteta Družstva razprostranjen‌ja prosvěty srěd Abhazov, Ašhacava prilal lingvistu Nikolaju Marru okolo 100 abhazskyh skazok napisanyh na tutom alfabetu, ale kromě togo nikogda ne došlo k jegovomu praktičnomu priměnjen‌ju.<ref>{{Cite book | url = https://yadi.sk/i/-cFRKsreuz7r3 | format = PDF | last = Бгажба | first = Х.С. | title = Из истории письменности в Абхазии | place = Тбилиси | year = 1967 | publisher = Мецниереба | language = ru | page = 56}}</ref> == Kodovan‌je == {{Kodovanje | 1-znak = Ԛ | 1-nazva = CYRILLIC CAPITAL LETTER QA | 1-sist16 = 051A | 1-sist10 = 1306 | 1-utf8 = D4 9A | 2-znak = ԛ | 2-nazva = CYRILLIC SMALL LETTER QA | 2-sist16 = 051B | 2-sist10 = 1307 | 2-utf8 = D4 9B | 3-znak = ◌̊ | 3-nazva = COMBINING RING ABOVE | 3-sist16 = 030A | 3-sist10 = 778 | 3-utf8 = CC 8A }} == Iztočniky == {{Iztočniky}} == Vněšnje linky == * {{Cite web | url = https://codepoints.net/U+051A | title = U+051A Cyrillic Capital Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+051B | title = U+051B Cyrillic Small Letter Qa | website = codepoints.net | language = en}} * {{Cite web | url = https://codepoints.net/U+030A | title = U+030A Combining Ring Above | website = codepoints.net | language = en}} {{Kirilica}} {{Varianty bukvy К}} {{DEFAULTSORT:К}} [[Kategorija:Kirilične bukvy]] [[Kategorija:Кириличне буквы]] 41c7l183kummbzjge05o80o2zd2fzhv Rukopisna bukva А 0 4789 44876 43754 2026-07-31T06:01:42Z Saderixthefox 690 44876 wikitext text/x-wiki [[Fajl: Cyrillic letter Script A (Uppercase and lowercase).svg | right | 240px]] [[File:Cyrillic_capital_letter_script_A.svg|14x14px]], [[File:Cyrillic_small_letter_script_A.svg|9x9px]] (''rukopisna bukva A'', {{Jezyky|en|Cyrillic script A}}) jest bukva razširjenoj [[kirilica|kirilice]], ktora byla upotrěbjena v [[baškirsky alfabet|baškirskom alfabetu]] [[Baškortostan|baškirskogo]] učenogo [[Mstislav Aleksandrovič Kulajev|Mstislava Aleksandroviča Kulajeva]] (1873–1958), publikovanom njim v 1912 g.<ref>{{Cite book | last = Кулаев | first = М.А. | title = Основы звукопроизношения и азбука для башкир | location = Казань | year = 1912 | language = ru}}</ref> Tutoj alfabet byl čest raznyh prob priměnjen‌ja [[russky alfabet|russkogo alfabeta]] za [[baškirsky jezyk]] na koncu 19. i na početku 20. stolětija.<ref>{{Cite journal | last = Хусаинова | first = Л.М. | title = Алфавиты башкирского языка в ХIХ – начале ХХ веков | journal = Вестник Оренбургского государственного университета | year = 2017 | issue = № 3 (203) | language = ru | pages = str. 37–42}}</ref> On sodržival 34 bukv, iz ktoryh večinstvo bylo identično russkomu, a ostale byli izmysljene Kulajevom na osnově [[grečsky alfabet|grečskogo alfabeta]] za označen‌je harakterističnyh zvukov baškirskogo jezyka.<ref>{{Cite journal | url = https://www.shs-conferences.org/articles/shsconf/pdf/2018/11/shsconf_cildiah2018_01153.pdf | title = The Role of ABC Books and Dictionaries at the End of XIX – the Beginning of the XX Century in the History of the Bashkir Literary Language | first1 = Rida | last1 = Latypova | first2 = Gulkay | last2 = Samirkhanova | first3 = Nailya | last3 = Lasynova | first4 = Zulfiya | last4 = Akhmetzadina | first5 = Liliya | last5 = Absalyamova | journal = SHS Web of Conferences | issue = 50 | year = 2018 | language = en | pages = str. 1–6}}</ref> Jednakože onogda [[arabsko pismo]] imělo prěvagu, a praktična upotrěba jegovogo pravopisa byla prěvažno ograničena do jegovyh vlastnyh tvorov, ačekoli iměla značen‌je za pozdnějše razvitje baškirskoj kirilice.<ref>Tamože, str. 6</ref> Velika bukva pripominaje kiriličnu bukvu '''[[А (kirilica)|А]]''' s dodan‌jem hačka na lěvoj nožkě, a mala forma silno pripominaje [[latinica|latinsku]] bukvu ''alfa'' i zavisno od fonta može byti uvažana za homoglif maloj bukvy '''[[А (kirilica)|а]]'''. V sučasnoj baškirskoj kirilici jejin ekvivalent jest bukva '''[[Ә|Ә ә]]''', izgovorjena kako {{MFA|æ}}.<ref>{{Cite web | url = https://www.omniglot.com/writing/bashkir.htm | first = Simon | last = Ager | title = Bashkir/Bashkort (Башҡорт теле / Başqort tele) | website = omniglot.com | access-date = 2026-07-17 | language = en}}</ref> [[Fajl:Башкирский алфавит Кулаева_(1910—1912).jpg | thumb | left | 300px | Baškiry alfabet Kulajeva (1912)]] {{clear}} == Kodovan‌je == [[File:Cyrillic_capital_letter_script_A.svg|14x14px]], kako i ostale bukvy Kulajeva, ne sut kodovane v [[Unikod|Unikodu]]. V 2022 g. bylo vneseno prědložen‌je, da by je vključiti s kodovymi pozicijami <code>U+1E06E</code> i <code>U+1E06F</code>,<ref>{{Cite web | url = https://www.unicode.org/L2/L2022/22154-old-cyrillic-bashkir.pdf | title = Proposal to encode 18 Cyrillic characters for old Bashkir | first = Nikita | last = Manulov | date = 2022-06-25 | language = en | website = unicode.org}}</ref> ale ono ne dovedlo k realizaciji.<ref>{{Cite web | url = https://www.unicode.org/L2/L2022/22121.htm | title = Approved Minutes of UTC Meeting 172. D.1.1b Cyrillic Letters for Bashkir | website = unicode.org | date = 2022-07-26 | language = en}}</ref> == Iztočniky == {{Iztočniky}} {{Varianty bukvy А}} {{Kirilica}} [[Kategorija:Kirilične bukvy|А]] 9t03ejnd4adkrb4bf907cedufqp0qb3 Kajto (muzikalna grupa) 0 5791 44851 44322 2026-07-30T22:31:57Z IJzeren Jan 9 Pravky; ne trěba {{Jezyky|isv|...}}, ibo cěla Vikipedija je na medžuslovjanskom ;) 44851 wikitext text/x-wiki {{Kartka muzikalny kolektiv|foto=KKPS 2017 - Kajto 2.jpg|žanry=Balfolk|lěta=1988 - iduči moment|država=[[Niderlandy]]|město=[[Frizija]]|jezyky=[[Esperanto]], [[Niderlandsky jezyk|niderlandsky]]|label=[[Vinilkosmo]]|sostav={{-|Nanne Kalma, Ankie van der Meer}}|byvši_učestniky={{-|Marita Kruijswijk, Marian Nesse}}}} '''Kajto''' — je [[Niderlandy|niderlandska]] muzikalna grupa iz [[Frizija|Frizije]]. Repertuar grupy je brza narodna muzika, morjačske pěsnje, narodne tance. Kajto pěvaje, osnovno, na jezyku [[esperanto]], a takože na [[Niderlandsky jezyk|niderlandskom]]. V 2004 lětu Kajto dobyla je nagradu {{-|[[FAME]]}} za svoj vklad v muziku na esperanto<ref>[http://www.fame-stiftung.de/eo/kulturpremio.html {{Lang|eo|Kulturpremio de la urbo Aalen}}]</ref>. == Učestniki == * {{-|Nanne Kalma|Нанне Калма}} - pěvanje, [[gitara]], [[cistra]], [[mandolina]], [[Skripka|skripka-violina]] * {{-|Marita Kruijswijk|Марита Креўсвејк}} - pěvanje, [[blokflejta]], [[klarnet]] * {{-|Ankie van der Meer|Анки ван дер Меер}} - pěvanje, gitara, [[bandžo]] * {{-|Marian Nesse|Мариан Нессе}} - pěvanje, [[akordeon]] == Historija == V 1987-om lětu četyri učestniki [[Frizijske jezyky|frizijskojezyčnoj]] folk-grupy {{Lang|fy|Kat yn't Seil}} učili se esperanto i počeli pisati i pěvati esperantove versije svojih pěsnij. Prvo publično veliko prědstavjenje je bylo v 1989-om lětu na 74-om [[vsesvětovy kongres esperanto|vsesvětovom kongresu esperanto]] v gradu {{-|Brighton|Брајтон}} {{-||({{Jezyky|en|Brighton}})}} v [[Objedinjeno Kraljevstvo|Objedinjenom Kraljevstvu]]. Oni takože pěvali originalne pěsnje, napisane na esperanto. Poslě 2007-go lěta, poslě 20 lět muzikovanja, grupa veče ne je kvartet: jedino {{-|Nanne Kalma|Нанне Калма}} i {{-|Ankie van der Meer|Анки ван дер Меер}} prodolžili pěvati pod imenem "{{Lang|eo|Kajto}}". {{-|Marita Kruijswijk|Марита Креўсвејк}} i {{-|Marian Nesse|Мариан Нессе}} učestvujut v grupě ''{{-|"Kapriol'!"}}'' s {{-|Rutgerom Dijkstra|Рутгером Дејкстра}} i {{-|Adom Bosom|Адом Босом}}. Grupa {{-|''Kapriol'!''}} jednako takože, v času koncertov, pěvaje několiko pěsnij iz repertuara někogdašnjego kvarteta {{-|Kajto}}. V 2017 lětu na 102-om vsesvětovom kongresu esperanto v [[Seul|Seulu]], za 30 lět originalnoj grupy, vsi 4 učestniki prědstavili se razom kako {{-|"Kajto Kvarope"}} («četvero»). {{-|Marian Nesse|Мариан Нессе}} (rodžena je v 1957) odšla poslě dolgogo nezdravja 8-go februara 2022<ref>[http://esperanto.china.org.cn/2022-02/11/content_78042893.htm {{Lang|eo|Noto de la Ĉina Interreta Informa Centro pri la forpaso}}]</ref>. == Diskografija == * 1989 – {{-|''Kajto''}} (Vozdušny zmij-drakon) * 1991 – {{-|''Procesio Multkolora''}} (Mnogokolorna procesija) * 1993 – {{-|''Tohuvabohuo''}} * 1999 – {{-|''Masko''}} (Maska) * 2004 – {{-|''Lokomotivo, rulu nun!''}} (Lokomotiv, hodi!) * 2011 – {{-|''Duope''}} (Dvoje) * 2015 – {{-|''Flugas''}} (Leti) * 2019 – {{-|''La universala arbo''}} (Vsesvětovo drěvo) * 2023 – {{-|''Sen timo''}} (Bez straha) == Knigy == Grupa takože izdavala knigy: * {{-|''Kajto – kanonoj''}} (1995): tekst i muzikalne noty 18-ti kanonov * {{-|''Kajto – kantlibro''}} (1995): s množstvom fotografij i muzikalnyh not == Iztočniky == <references /> == Vněšnje linky == * [https://web.archive.org/web/20230331225549/http://kajto.co.nl/Kajto.html Arhivovana versija poslědnjej versije oficialnogo sajta] (esperanto) * [http://www.nanne-ankie.nl/Nanne-Ankie/Kajto_-_Nanne_%26_Ankie.html Sajt ''{{-|Nanne & Ankie}}''] (osnovno na niderlandsom jezyku, poněkogda na [[esperanto]] i [[Frizijske jezyky|frizijskom]]) * [http://www.nanne-ankie.nl/Nanne-Ankie/Kajto_Esperanto.html {{-|"Membiografio de Kajto"}}] - avtobiografija grupy {{-|Kajto}} (na esperanto i niderlandskom jezykah) * [https://www.vinilkosmo-mp3.com/en/song-traditional-progressive/kajto-115.html {{-|Kajto}}] na {{-|''[[Vinilkosmo]]''}} * [https://open.spotify.com/artist/4RIcLQPrT4pguDN5noGakH {{-|Kajto}}] na ''{{-|[[Spotify]]}}'' * [https://music.apple.com/br/artist/kajto/626569240 {{-|Kajto}}] na {{-|''[[Apple Music]]''}} * [https://www.deezer.com/en/artist/4571582 {{-|Kajto}}] na {{-|''[[Deezer]]''}} * [https://musicbrainz.org/artist/af743a78-8568-416a-acc5-92cc7924323b {{-|Kajto}}] na {{-|''[[MusicBrainz]]''}} [[Kategorija:Esperantojezyčne muzikalne grupy]] [[Kategorija:Niderlandske muzikalne grupy]] [[Kategorija:Muzikalne grupy]] 80ly5g6uxigc5bhpv9t10m8cjy1ca5r 44853 44851 2026-07-30T22:43:08Z IJzeren Jan 9 p.p. 44853 wikitext text/x-wiki {{Kartka muzikalny kolektiv|foto=KKPS 2017 - Kajto 2.jpg|žanry=Balfolk|lěta=1988 - iduči moment|država=[[Niderlandy]]|město=[[Frizija]]|jezyky=[[Esperanto]], [[Niderlandsky jezyk|niderlandsky]]|label=[[Vinilkosmo]]|sostav={{-|Nanne Kalma, Ankie van der Meer}}|byvši_učestniky={{-|Marita Kruijswijk, Marian Nesse}}}} '''Kajto''' — je [[Niderlandy|niderlandska]] muzikalna grupa iz [[Frizija|Frizije]]. Repertuar grupy je brza narodna muzika, morjačske pěsnje, narodne tance. Kajto pěvaje, osnovno, na jezyku [[esperanto]], a takože na [[Niderlandsky jezyk|niderlandskom]]. V 2004 lětu Kajto dobyla je nagradu {{-|[[FAME]]}} za svoj vklad v muziku na esperanto<ref>[http://www.fame-stiftung.de/eo/kulturpremio.html {{Lang|eo|Kulturpremio de la urbo Aalen}}]</ref>. == Učestniki == * {{-|Nanne Kalma|Нанне Калма}} - pěvanje, [[gitara]], [[cistra]], [[mandolina]], [[Skripka|skripka-violina]] * {{-|Marita Kruijswijk|Марита Креўсвејк}} - pěvanje, [[blokflejta]], [[klarnet]] * {{-|Ankie van der Meer|Анки ван дер Меер}} - pěvanje, gitara, [[bandžo]] * {{-|Marian Nesse|Мариан Нессе}} - pěvanje, [[akordeon]] == Historija == V 1987-om lětu četyri učestniki [[Frizijske jezyky|frizijskojezyčnoj]] folk-grupy {{Lang|fy|Kat yn't Seil}} učili se esperanto i počeli pisati i pěvati esperantove versije svojih pěsnij. Prvo publično veliko prědstavjenje je bylo v 1989-om lětu na 74-om [[vsesvětovy kongres esperanto|vsesvětovom kongresu esperanto]] v gradu {{-|Brighton|Брајтон}} {{-||({{Jezyky|en|Brighton}})}} v [[Objedinjeno Kraljevstvo|Objedinjenom Kraljevstvu]]. Oni takože pěvali originalne pěsnje, napisane na esperanto. Poslě 2007-go lěta, poslě 20 lět muzikovanja, grupa veče ne je kvartet: jedino {{-|Nanne Kalma|Нанне Калма}} i {{-|Ankie van der Meer|Анки ван дер Меер}} prodolžili pěvati pod imenem "{{Lang|eo|Kajto}}". {{-|Marita Kruijswijk|Марита Креўсвејк}} i {{-|Marian Nesse|Мариан Нессе}} učestvujut v grupě ''{{-|"Kapriol'!"}}'' s {{-|Rutgerom Dijkstra|Рутгером Дејкстра}} i {{-|Adom Bosom|Адом Босом}}. Grupa {{-|''Kapriol'!''}} jednako takože, v času koncertov, pěvaje několiko pěsnij iz repertuara někogdašnjego kvarteta {{-|Kajto}}. V 2017 lětu na 102-om vsesvětovom kongresu esperanto v [[Seul|Seulu]], za 30 lět originalnoj grupy, vsi 4 učestniki prědstavili se razom kako {{-|"Kajto Kvarope"}} («četvero»). {{-|Marian Nesse|Мариан Нессе}} (rodžena je v 1957) odšla poslě dolgogo nezdravja 8-go februara 2022<ref>[http://esperanto.china.org.cn/2022-02/11/content_78042893.htm {{Lang|eo|Noto de la Ĉina Interreta Informa Centro pri la forpaso}}]</ref>. == Diskografija == * 1989 – {{-|''Kajto''}} (Vozdušny zmij-drakon) * 1991 – {{-|''Procesio Multkolora''}} (Mnogokolorna procesija) * 1993 – {{-|''Tohuvabohuo''}} * 1999 – {{-|''Masko''}} (Maska) * 2004 – {{-|''Lokomotivo, rulu nun!''}} (Lokomotiv, hodi!) * 2011 – {{-|''Duope''}} (Dvoje) * 2015 – {{-|''Flugas''}} (Leti) * 2019 – {{-|''La universala arbo''}} (Vsesvětovo drěvo) * 2023 – {{-|''Sen timo''}} (Bez straha) == Knigy == Grupa takože izdavala knigy: * {{-|''Kajto – kanonoj''}} (1995): tekst i muzikalne noty 18-ti kanonov * {{-|''Kajto – kantlibro''}} (1995): s množstvom fotografij i muzikalnyh not == Iztočniky == <references /> == Vněšnje linky == * [https://web.archive.org/web/20230331225549/http://kajto.co.nl/Kajto.html Arhivovana versija poslědnjej versije oficialnogo sajta] (esperanto) * [http://www.nanne-ankie.nl/Nanne-Ankie/Kajto_-_Nanne_%26_Ankie.html Sajt ''{{-|Nanne & Ankie}}''] (osnovno na niderlandskom jezyku, poněkogda na [[esperanto]] i [[Frizijske jezyky|frizijskom]]) * [http://www.nanne-ankie.nl/Nanne-Ankie/Kajto_Esperanto.html {{-|"Membiografio de Kajto"}}] - avtobiografija grupy {{-|Kajto}} (na esperanto i niderlandskom jezykah) * [https://www.vinilkosmo-mp3.com/en/song-traditional-progressive/kajto-115.html {{-|Kajto}}] na {{-|''[[Vinilkosmo]]''}} * [https://open.spotify.com/artist/4RIcLQPrT4pguDN5noGakH {{-|Kajto}}] na ''{{-|[[Spotify]]}}'' * [https://music.apple.com/br/artist/kajto/626569240 {{-|Kajto}}] na {{-|''[[Apple Music]]''}} * [https://www.deezer.com/en/artist/4571582 {{-|Kajto}}] na {{-|''[[Deezer]]''}} * [https://musicbrainz.org/artist/af743a78-8568-416a-acc5-92cc7924323b {{-|Kajto}}] na {{-|''[[MusicBrainz]]''}} {{Pravopis prověrjeny}} [[Kategorija:Esperantojezyčne muzikalne grupy]] [[Kategorija:Niderlandske muzikalne grupy]] [[Kategorija:Muzikalne grupy]] ei77rtz5l0l5kua7nvgesiu7xcpov7r 44854 44853 2026-07-31T02:28:10Z Ilja isv 10 44854 wikitext text/x-wiki {{Kartka muzikalny kolektiv|foto=KKPS 2017 - Kajto 2.jpg|žanry=Balfolk|lěta=1988 - iduči moment|država=[[Niderlandy]]|město=[[Frizija]]|jezyky=[[Esperanto]], [[Niderlandsky jezyk|niderlandsky]]|label={{-|[[Vinilkosmo]]}}|sostav={{-|Nanne Kalma, Ankie van der Meer}}|byvši_učestniky={{-|Marita Kruijswijk, Marian Nesse}}}} '''Kajto''' — je [[Niderlandy|niderlandska]] muzikalna grupa iz [[Frizija|Frizije]]. Repertuar grupy je brza narodna muzika, morjačske pěsnje, narodne tance. Kajto pěvaje, osnovno, na jezyku [[esperanto]], a takože na [[Niderlandsky jezyk|niderlandskom]]. V 2004 lětu Kajto dobyla je nagradu {{-|[[FAME]]}} za svoj vklad v muziku na esperanto<ref>[http://www.fame-stiftung.de/eo/kulturpremio.html {{Lang|eo|Kulturpremio de la urbo Aalen}}]</ref>. == Učestniki == * {{-|Nanne Kalma|Нанне Калма}} - pěvanje, [[gitara]], [[cistra]], [[mandolina]], [[Skripka|skripka-violina]] * {{-|Marita Kruijswijk|Марита Креўсвејк}} - pěvanje, [[blokflejta]], [[klarnet]] * {{-|Ankie van der Meer|Анки ван дер Меер}} - pěvanje, gitara, [[bandžo]] * {{-|Marian Nesse|Мариан Нессе}} - pěvanje, [[akordeon]] == Historija == V 1987-om lětu četyri učestniki [[Frizijske jezyky|frizijskojezyčnoj]] folk-grupy {{Lang|fy|Kat yn't Seil}} učili se esperanto i počeli pisati i pěvati esperantove versije svojih pěsnij. Prvo publično veliko prědstavjenje je bylo v 1989-om lětu na 74-om [[vsesvětovy kongres esperanto|vsesvětovom kongresu esperanto]] v gradu {{-|Brighton|Брајтон}} {{-||({{Jezyky|en|Brighton}})}} v [[Objedinjeno Kraljevstvo|Objedinjenom Kraljevstvu]]. Oni takože pěvali originalne pěsnje, napisane na esperanto. Poslě 2007-go lěta, poslě 20 lět muzikovanja, grupa veče ne je kvartet: jedino {{-|Nanne Kalma|Нанне Калма}} i {{-|Ankie van der Meer|Анки ван дер Меер}} prodolžili pěvati pod imenem "{{Lang|eo|Kajto}}". {{-|Marita Kruijswijk|Марита Креўсвејк}} i {{-|Marian Nesse|Мариан Нессе}} učestvujut v grupě ''{{-|"Kapriol'!"}}'' s {{-|Rutgerom Dijkstra|Рутгером Дејкстра}} i {{-|Adom Bosom|Адом Босом}}. Grupa {{-|''Kapriol'!''}} jednako takože, v času koncertov, pěvaje několiko pěsnij iz repertuara někogdašnjego kvarteta {{-|Kajto}}. V 2017 lětu na 102-om vsesvětovom kongresu esperanto v [[Seul|Seulu]], za 30 lět originalnoj grupy, vsi 4 učestniki prědstavili se razom kako {{-|"Kajto Kvarope"}} («četvero»). {{-|Marian Nesse|Мариан Нессе}} (rodžena je v 1957) odšla poslě dolgogo nezdravja 8-go februara 2022<ref>[http://esperanto.china.org.cn/2022-02/11/content_78042893.htm {{Lang|eo|Noto de la Ĉina Interreta Informa Centro pri la forpaso}}]</ref>. == Diskografija == * 1989 – {{-|''Kajto''}} (Vozdušny zmij-drakon) * 1991 – {{-|''Procesio Multkolora''}} (Mnogokolorna procesija) * 1993 – {{-|''Tohuvabohuo''}} * 1999 – {{-|''Masko''}} (Maska) * 2004 – {{-|''Lokomotivo, rulu nun!''}} (Lokomotiv, hodi!) * 2011 – {{-|''Duope''}} (Dvoje) * 2015 – {{-|''Flugas''}} (Leti) * 2019 – {{-|''La universala arbo''}} (Vsesvětovo drěvo) * 2023 – {{-|''Sen timo''}} (Bez straha) == Knigy == Grupa takože izdavala knigy: * {{-|''Kajto – kanonoj''}} (1995): tekst i muzikalne noty 18-ti kanonov * {{-|''Kajto – kantlibro''}} (1995): s množstvom fotografij i muzikalnyh not == Iztočniky == <references /> == Vněšnje linky == * [https://web.archive.org/web/20230331225549/http://kajto.co.nl/Kajto.html Arhivovana versija poslědnjej versije oficialnogo sajta] (esperanto) * [http://www.nanne-ankie.nl/Nanne-Ankie/Kajto_-_Nanne_%26_Ankie.html Sajt ''{{-|Nanne & Ankie}}''] (osnovno na niderlandskom jezyku, poněkogda na [[esperanto]] i [[Frizijske jezyky|frizijskom]]) * [http://www.nanne-ankie.nl/Nanne-Ankie/Kajto_Esperanto.html {{-|"Membiografio de Kajto"}}] - avtobiografija grupy {{-|Kajto}} (na esperanto i niderlandskom jezykah) * [https://www.vinilkosmo-mp3.com/en/song-traditional-progressive/kajto-115.html {{-|Kajto}}] na {{-|''[[Vinilkosmo]]''}} * [https://open.spotify.com/artist/4RIcLQPrT4pguDN5noGakH {{-|Kajto}}] na ''{{-|[[Spotify]]}}'' * [https://music.apple.com/br/artist/kajto/626569240 {{-|Kajto}}] na {{-|''[[Apple Music]]''}} * [https://www.deezer.com/en/artist/4571582 {{-|Kajto}}] na {{-|''[[Deezer]]''}} * [https://musicbrainz.org/artist/af743a78-8568-416a-acc5-92cc7924323b {{-|Kajto}}] na {{-|''[[MusicBrainz]]''}} {{Pravopis prověrjeny}} [[Kategorija:Esperantojezyčne muzikalne grupy]] [[Kategorija:Niderlandske muzikalne grupy]] [[Kategorija:Muzikalne grupy]] 6rmexggr2xiyzwoquz4qz5iyg6jt8yy Šablon:Citatny blok/Dokumentacija 10 5871 44791 44739 2026-07-30T12:50:39Z Ilja isv 10 /* Collapsing text */ 44791 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <nowiki>{{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }}</nowiki> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <nowiki>{{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }}</nowiki> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <nowiki>{{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </nowiki> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> njrksk9bqxifpuyw6j7y07sd86xmsd0 44792 44791 2026-07-30T12:55:52Z Ilja isv 10 /* Collapsing text */ 44792 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <nowiki>{{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }}</nowiki> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 14a0hwtrxeqhapig32j9cmvib3qswpd 44793 44792 2026-07-30T12:56:55Z Ilja isv 10 /* Letterhead custom class */ 44793 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 95vs5qu16cctu5zgt6c7zgnyjqen1tu 44812 44793 2026-07-30T13:16:53Z Ilja isv 10 /* Collapsing text */ 44812 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"{{skryto odsud}}"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 2sc1ge4qg092pioa8s2olodj2gz2mw6 44813 44812 2026-07-30T13:18:20Z Ilja isv 10 /* Collapsing text */ 44813 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"{{skryto odsud}}"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 1urjbq6bx1y8nmhhzzp9ba8dsetbd13 44815 44813 2026-07-30T13:20:56Z Ilja isv 10 /* Collapsing text */ 44815 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 6kufp6359ql85fi4cwbic104ukpkms3 44817 44815 2026-07-30T13:22:36Z Ilja isv 10 /* Collapsing text */ 44817 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} <span style="padding-right:.15em;">"</span>'{{-|Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> gxk65hj30mu90lug7izc7f4ctqh6y33 44819 44817 2026-07-30T13:27:28Z Ilja isv 10 /* Collapsing text */ 44819 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> k47k1nd167m9rz4aaut1dqzzolx29l3 44820 44819 2026-07-30T13:28:25Z Ilja isv 10 /* Collapsing text */ 44820 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, <span style="padding-right:.15em;">"</span>'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''"{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> oh0cw9jpicu4chn7md37j5bwvgwx4qh 44821 44820 2026-07-30T13:30:00Z Ilja isv 10 /* Collapsing text */ 44821 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 4v180abiaoct2swhlzq0o7a2izz7mwy 44822 44821 2026-07-30T13:31:24Z Ilja isv 10 /* Collapsing text */ 44822 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustanovjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: The RGB background color of the title. Defaults to #F9F9F9 (light gray). * <code><nowiki>title_fnt</nowiki></code>: The title font color. Defaults to black. * <code><nowiki>tstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Alignment of the quote element—left / right / center. Defaults to left. * <code><nowiki>qstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. * <code><nowiki>quoted</nowiki></code>: If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> m806v4si2jp0m10wp3pqcygmr8rubrz 44823 44822 2026-07-30T14:15:45Z Ilja isv 10 /* Parametry */ 44823 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustanovjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustanovjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata— <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>:Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code>, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> a6mnyrqvp40mgwhqwzberyzufywmwe1 44824 44823 2026-07-30T14:16:38Z Ilja isv 10 /* Parametry */ 44824 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata— <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>:Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code>, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"{{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 6d2ybmofzx8rrygcbr70h7udwl7mvux 44826 44824 2026-07-30T14:20:03Z Ilja isv 10 /* Collapsing text */ 44826 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata— <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>:Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code>, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> sf3bs18qbrzxptn79ofe5obdq4kz1u9 44827 44826 2026-07-30T14:30:08Z Ilja isv 10 44827 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata— <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>:Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code>, or empty) the quote box will enclose the quote in ''fat-quotes''. Use judiciously; quote marks do not display in mainspace (articles) per [[MOS:BLOCKQUOTE]]. '''Stilj iztočnika''' These affect the entire <code><nowiki>author</nowiki></code> and <code><nowiki>source</nowiki></code> block, below the quotation. * <code><nowiki>salign</nowiki></code>: Alignment of the source element—left / right / center. Defaults to the value of qalign. * <code><nowiki>sstyle</nowiki></code>: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 1l41ubis3kzh4zbjphwrkbq1ybt81cf 44828 44827 2026-07-30T14:44:10Z Ilja isv 10 44828 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>:Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika''' Tute nastavjenj vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Various example codes and their results. For more intricate examples see [[:en:Template:Quote box/examples|priměry na anglijskom]]. In the examples the ''{{-|lorem ipsum}}'' template merely generates several lines of sample text without meaning, and is not part of the quote syntax. ==== Floating and wrapping ==== '''Minimal code, defaults to floating right and minimal width:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> jojjjud80dvt5bvunp0du2sg41skwgu 44829 44828 2026-07-30T14:52:55Z Ilja isv 10 /* Priměry */ 44829 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>:Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika''' Tute nastavjenj vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov '''{{-|Quote box}}''' gledite [[:en:Template:Quote box/examples|priměry na anglijskom]]. V tutyh priměrah šablon ''{{-|lorem ipsum}}'' stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Floating right:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} <br/> <br/> <br/> '''Floating left:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left }} <br/> <br/> <br/> '''Centered, not floating:''' <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} </nowiki>}} {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 6rf2uxe3lnmhgd4tpov1tlwjgtbyinp 44830 44829 2026-07-30T14:59:07Z Ilja isv 10 /* Plyvanje i obtekanje */ 44830 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>:Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika''' Tute nastavjenj vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov '''{{-|Quote box}}''' gledite [[:en:Template:Quote box/examples|priměry na anglijskom]]. V tutyh priměrah šablon ''{{-|lorem ipsum}}'' stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> rnblo4zaqehtnlxvpbj5hpknd9xkqlj 44831 44830 2026-07-30T14:59:52Z Ilja isv 10 /* Priměry */ 44831 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>:Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika''' Tute nastavjenj vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tutyh priměrah šablon ''{{-|lorem ipsum}}'' stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> mnwdsfv5g6wijvootiprqcgf8ur4xvl 44832 44831 2026-07-30T15:01:05Z Ilja isv 10 /* Priměry */ 44832 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustanovjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, yadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>:Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika''' Tute nastavjenj vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 3ask3afog2lw6m4j98o305umuhb3hjk 44834 44832 2026-07-30T17:21:49Z Ilja isv 10 /* Parametry */ 44834 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika''' Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> fhr8b7thtex7x9ov7bd0q9mlz6oj815 44835 44834 2026-07-30T17:23:30Z Ilja isv 10 /* Parametry */ 44835 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje mo+ynosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 49ya4buuew3hefcox56qjm994v8hx9o 44839 44835 2026-07-30T18:50:46Z Ilja isv 10 /* Upotrěba */ 44839 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 4xi8cprupm4kjf8bd5jbrb5cnax32eb 44840 44839 2026-07-30T18:53:58Z Ilja isv 10 /* Plyvanje i obtekanje */ 44840 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Fat-quotes ==== <nowiki>{{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }}</nowiki> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> q6madw7l0r652lo05e3h8uuqzo7c5st 44841 44840 2026-07-30T18:56:30Z Ilja isv 10 /* Fat-quotes */ 44841 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Collapsing text ==== Sections of text can be collapsed by use of {{-|hidden begin}} and {{-|hidden end}}. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 4s310y8hrzy592q3x27latssmw536ls 44843 44841 2026-07-30T19:30:48Z Ilja isv 10 /* Collapsing text */ 44843 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Stisknutí tekst ==== Čeští telata mogut byti skryte (stisknutí) s pomoćju šablony <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> fiuty9e6izdx417oqp90j8oaidgfass 44845 44843 2026-07-30T19:32:00Z Ilja isv 10 /* Stisknutí tekst */ 44845 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Stisknutí tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablony <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> dedrp7naqf3cmaa07ccbbg525vu2cm0 44846 44845 2026-07-30T19:32:38Z Ilja isv 10 /* Stisknutí tekst */ 44846 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} ==== Stisknutí tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> iw04bj9jkwd5imf3b2ukrtp6u1ys00f 44847 44846 2026-07-30T19:33:46Z Ilja isv 10 /* Letterhead custom class */ 44847 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknutí tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> qtw4eym63e7at6gpe1djurx9j6877di 44848 44847 2026-07-30T20:33:55Z Ilja isv 10 /* Stisknutí tekst */ 44848 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknutí tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Note that, although <nowiki>halign center</nowiki>, the centering is reset after the <code><nowiki>{{skryto odsud}}</nowiki></code>, since that template applies its own styling. This can be resolved by using <code><nowiki>{{contentstyle}}</nowiki></code> in <code><nowiki>{{skryto odsud}}</nowiki></code> with appropriate markup; in this case: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 0n7mzzsyjojv75c49i0xn779jzfj25c 44855 44848 2026-07-31T03:06:10Z Ilja isv 10 /* Stisknutí tekst */ 44855 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknutí tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože ton šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>{{contentstyle}}</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tuyomm slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 3np1tpv19v74wvaaw5w55g1s3hfl9m5 44856 44855 2026-07-31T03:08:46Z Ilja isv 10 /* Stisknutí tekst */ 44856 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknutí tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}}{{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}}</poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> stfbg8v870kjjtydhfdk65t1xaigtk7 44857 44856 2026-07-31T03:10:59Z Ilja isv 10 /* Stisknutí tekst */ 44857 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknutí tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}}{{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}}{{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> sqd3fmonz4q09jcxepslio04rbrjafj 44858 44857 2026-07-31T03:12:51Z Ilja isv 10 /* Stisknutí tekst */ 44858 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknutí tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> gdxugqzu3q3wivblum5b8wp121ry9p5 44859 44858 2026-07-31T04:22:11Z Ilja isv 10 /* Stisknuti tekst */ 44859 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Alignment of text in box==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> qiux4pys8im9q3n4f608nonpn4nbfra 44860 44859 2026-07-31T04:24:58Z Ilja isv 10 /* Ravnanje teksta v bloku */ 44860 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Ravnanje teksta v bloku ==== <nowiki>{{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }}</nowiki> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center }} <nowiki>{{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }}</nowiki> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> c0x1kpcn8x4yqu9fj9555smeunnmbqf 44861 44860 2026-07-31T04:29:30Z Ilja isv 10 /* Ravnanje teksta v bloku */ 44861 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centered quote |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 28k1ssf5k95u4x7l2fp765p2gbxgjw2 44862 44861 2026-07-31T04:34:06Z Ilja isv 10 /* Ravnanje teksta v bloku */ 44862 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citát poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = |qalign = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> m0q4zud7ef3dnm07jdk6cbq37uad8ar 44863 44862 2026-07-31T04:38:23Z Ilja isv 10 /* Ravnanje teksta v bloku */ 44863 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citát poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = |qalign = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> <br/> ==== Custom classes ==== '''This parameter should only be used by editors who fully understand how this template works.''' The "class=" parameter can be used to add a generic CSS class to this template. Some classes are not compatible with other options or require specific options be set to be useful or look good. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> gr7rusbib5fnu3vrd78fjembalnbfcp 44864 44863 2026-07-31T04:58:37Z Ilja isv 10 /* Custom classes */ 44864 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citát poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = |qalign = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> <br/> ==== Custom classes ==== '''Tuty parametr musi se koristati toliko tymi redaktorami, ktore vpolno razumějut, kako rabotaje tutz šablon.''' Parament <code><nowiki>class=</nowiki></code> može se upotrěbjati kako obča {{-|CSS}} klasa v tutom šablonu. Něktore klasy ne sut suměstime s drugymi opcijami ili trěbujut specialnogo nastavjenja drugyh parametrov, da by šablon rabotal i izgledal dobro. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> lstyc9fukw0lxriri6cw7l49yop05mf 44865 44864 2026-07-31T04:58:57Z Ilja isv 10 /* Custom classes */ 44865 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citát poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = |qalign = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> <br/> ==== Custom classes ==== '''Tuty parametr musi se koristati toliko tymi redaktorami, ktore vpolno razumějut, kako rabotaje tuty šablon.''' Parament <code><nowiki>class=</nowiki></code> može se upotrěbjati kako obča {{-|CSS}} klasa v tutom šablonu. Něktore klasy ne sut suměstime s drugymi opcijami ili trěbujut specialnogo nastavjenja drugyh parametrov, da by šablon rabotal i izgledal dobro. ===== Letterhead custom class ===== The "letterhead" class should be used with <nowiki>title_bg|none</nowiki>, <nowiki>border|none</nowiki>, and {{-|bgcolor}} either not used or set to "none". Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> rv39ve7ydc30m4cos1qbncbr273d8bx 44866 44865 2026-07-31T05:06:56Z Ilja isv 10 /* Custom classes */ 44866 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citát poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = |qalign = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> <br/> ==== Vlastne klasy ==== '''Tuty parametr musi se koristati toliko tymi redaktorami, ktore vpolno razumějut, kako rabotaje tuty šablon.''' Parament <code><nowiki>class=</nowiki></code> može se upotrěbjati kako obča {{-|CSS}}=klasa v tutom šablonu. Něktore klasy ne sut suměstime s drugymi opcijami ili trěbujut specialnogo nastavjenja drugyh parametrov, da by šablon rabotal i izgledal dobro. ===== Vlastna klasa {{-|Letterhead}} ===== Klasa <code><nowiki>letterhead</nowiki></code> se musi koristati či s <code><nowiki>title_bg|none</nowiki></code>, <code><nowiki>border|none</nowiki></code>, i <code><nowiki>bgcolor</nowiki></code>, ili ne koristati se i byti ustanovjena v <code><nowiki>none</nowiki></code>. Since the upper-left-corner will have a white background, it should only be used on pages with a white background. Care should be taken that neither the title nor the text extends into the "left corner" portion of the box. To use a blank line for a title, use {{-|title|&amp;nbsp;}}. To provide a blank line at the bottom of the letterhead, add <nowiki><br /><br /></nowiki> to the end of the {{-|source}} parameter (or {{-|author}}, if {{-|source}} was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> jbpr1j5xsu452ll3r1vs0oxamu7ja11 44867 44866 2026-07-31T05:17:18Z Ilja isv 10 /* Vlastna klasa {{-|Letterhead}} */ 44867 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citát poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = |qalign = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> <br/> ==== Vlastne klasy ==== '''Tuty parametr musi se koristati toliko tymi redaktorami, ktore vpolno razumějut, kako rabotaje tuty šablon.''' Parament <code><nowiki>class=</nowiki></code> može se upotrěbjati kako obča {{-|CSS}}=klasa v tutom šablonu. Něktore klasy ne sut suměstime s drugymi opcijami ili trěbujut specialnogo nastavjenja drugyh parametrov, da by šablon rabotal i izgledal dobro. ===== Vlastna klasa {{-|Letterhead}} ===== Klasa <code><nowiki>letterhead</nowiki></code> se musi koristati či s <code><nowiki>title_bg|none</nowiki></code>, <code><nowiki>border|none</nowiki></code>, i <code><nowiki>bgcolor</nowiki></code>, ili ne koristati se i byti ustanovjena v <code><nowiki>none</nowiki></code>. Poneže vrhny lěvy ugol bude iměti bělo pozadje, ju trěba koristati jedino na stranicah s bělym pozadjem. Trěba se dbati, da by ni nazvanje, ni tekst ne razširjali se do kuskov bloka v jego "lěvom uglu". Da by sdělati prazdny redok kako nazvanje, koristajte <code><nowiki>title|&amp;nbsp;</nowiki></code>. To provide a blank line at the bottom of the letterhead, add <code><nowiki><br /><br /></nowiki></code> to the end of the <code><nowiki>source</nowiki></code> parameter (or <code><nowiki>author</nowiki></code>, if <code><nowiki>source</nowiki></code> was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> 25n2yyzqvipcg6c7nuransts5j5w0la 44868 44867 2026-07-31T05:18:25Z Ilja isv 10 /* Tolste lapky */ 44868 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} <br/> <br/> <br/> <br/> ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citát poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = |qalign = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> <br/> ==== Vlastne klasy ==== '''Tuty parametr musi se koristati toliko tymi redaktorami, ktore vpolno razumějut, kako rabotaje tuty šablon.''' Parament <code><nowiki>class=</nowiki></code> može se upotrěbjati kako obča {{-|CSS}}=klasa v tutom šablonu. Něktore klasy ne sut suměstime s drugymi opcijami ili trěbujut specialnogo nastavjenja drugyh parametrov, da by šablon rabotal i izgledal dobro. ===== Vlastna klasa {{-|Letterhead}} ===== Klasa <code><nowiki>letterhead</nowiki></code> se musi koristati či s <code><nowiki>title_bg|none</nowiki></code>, <code><nowiki>border|none</nowiki></code>, i <code><nowiki>bgcolor</nowiki></code>, ili ne koristati se i byti ustanovjena v <code><nowiki>none</nowiki></code>. Poneže vrhny lěvy ugol bude iměti bělo pozadje, ju trěba koristati jedino na stranicah s bělym pozadjem. Trěba se dbati, da by ni nazvanje, ni tekst ne razširjali se do kuskov bloka v jego "lěvom uglu". Da by sdělati prazdny redok kako nazvanje, koristajte <code><nowiki>title|&amp;nbsp;</nowiki></code>. To provide a blank line at the bottom of the letterhead, add <code><nowiki><br /><br /></nowiki></code> to the end of the <code><nowiki>source</nowiki></code> parameter (or <code><nowiki>author</nowiki></code>, if <code><nowiki>source</nowiki></code> was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> omuk0bxsk2ub8prycyphfwuu64fxjf3 44869 44868 2026-07-31T05:19:09Z Ilja isv 10 /* Ravnanje teksta v bloku */ 44869 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} <br/> <br/> <br/> <br/> ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <br/><br/><br/><br/> <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citát poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = |qalign = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> <br/> ==== Vlastne klasy ==== '''Tuty parametr musi se koristati toliko tymi redaktorami, ktore vpolno razumějut, kako rabotaje tuty šablon.''' Parament <code><nowiki>class=</nowiki></code> može se upotrěbjati kako obča {{-|CSS}}=klasa v tutom šablonu. Něktore klasy ne sut suměstime s drugymi opcijami ili trěbujut specialnogo nastavjenja drugyh parametrov, da by šablon rabotal i izgledal dobro. ===== Vlastna klasa {{-|Letterhead}} ===== Klasa <code><nowiki>letterhead</nowiki></code> se musi koristati či s <code><nowiki>title_bg|none</nowiki></code>, <code><nowiki>border|none</nowiki></code>, i <code><nowiki>bgcolor</nowiki></code>, ili ne koristati se i byti ustanovjena v <code><nowiki>none</nowiki></code>. Poneže vrhny lěvy ugol bude iměti bělo pozadje, ju trěba koristati jedino na stranicah s bělym pozadjem. Trěba se dbati, da by ni nazvanje, ni tekst ne razširjali se do kuskov bloka v jego "lěvom uglu". Da by sdělati prazdny redok kako nazvanje, koristajte <code><nowiki>title|&amp;nbsp;</nowiki></code>. To provide a blank line at the bottom of the letterhead, add <code><nowiki><br /><br /></nowiki></code> to the end of the <code><nowiki>source</nowiki></code> parameter (or <code><nowiki>author</nowiki></code>, if <code><nowiki>source</nowiki></code> was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> mhabtlzka2jt8gu75cjqse7ijhjxlih 44870 44869 2026-07-31T05:20:36Z Ilja isv 10 /* Ravnanje teksta v bloku */ 44870 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} <br/> <br/> <br/> <br/> ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centered quote |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <br/><br/><br/><br/> <syntaxhighlight lang=""> {{Citatny blok |title = Left title, right quote |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citát poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = right }} <br/> <br/> <br/> <br/> ==== Vlastne klasy ==== '''Tuty parametr musi se koristati toliko tymi redaktorami, ktore vpolno razumějut, kako rabotaje tuty šablon.''' Parament <code><nowiki>class=</nowiki></code> može se upotrěbjati kako obča {{-|CSS}}=klasa v tutom šablonu. Něktore klasy ne sut suměstime s drugymi opcijami ili trěbujut specialnogo nastavjenja drugyh parametrov, da by šablon rabotal i izgledal dobro. ===== Vlastna klasa {{-|Letterhead}} ===== Klasa <code><nowiki>letterhead</nowiki></code> se musi koristati či s <code><nowiki>title_bg|none</nowiki></code>, <code><nowiki>border|none</nowiki></code>, i <code><nowiki>bgcolor</nowiki></code>, ili ne koristati se i byti ustanovjena v <code><nowiki>none</nowiki></code>. Poneže vrhny lěvy ugol bude iměti bělo pozadje, ju trěba koristati jedino na stranicah s bělym pozadjem. Trěba se dbati, da by ni nazvanje, ni tekst ne razširjali se do kuskov bloka v jego "lěvom uglu". Da by sdělati prazdny redok kako nazvanje, koristajte <code><nowiki>title|&amp;nbsp;</nowiki></code>. To provide a blank line at the bottom of the letterhead, add <code><nowiki><br /><br /></nowiki></code> to the end of the <code><nowiki>source</nowiki></code> parameter (or <code><nowiki>author</nowiki></code>, if <code><nowiki>source</nowiki></code> was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> r6ee6hx5048wzrry0lxobo2nis1ikqd 44871 44870 2026-07-31T05:21:42Z Ilja isv 10 /* Ravnanje teksta v bloku */ 44871 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} <br/> <br/> <br/> <br/> ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centrovany citat |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <br/><br/><br/><br/> <syntaxhighlight lang=""> {{Citatny blok |title = Nazvanje polěv, citat poprav |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citat poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = right }} <br/> <br/> <br/> <br/> ==== Vlastne klasy ==== '''Tuty parametr musi se koristati toliko tymi redaktorami, ktore vpolno razumějut, kako rabotaje tuty šablon.''' Parament <code><nowiki>class=</nowiki></code> može se upotrěbjati kako obča {{-|CSS}}=klasa v tutom šablonu. Něktore klasy ne sut suměstime s drugymi opcijami ili trěbujut specialnogo nastavjenja drugyh parametrov, da by šablon rabotal i izgledal dobro. ===== Vlastna klasa {{-|Letterhead}} ===== Klasa <code><nowiki>letterhead</nowiki></code> se musi koristati či s <code><nowiki>title_bg|none</nowiki></code>, <code><nowiki>border|none</nowiki></code>, i <code><nowiki>bgcolor</nowiki></code>, ili ne koristati se i byti ustanovjena v <code><nowiki>none</nowiki></code>. Poneže vrhny lěvy ugol bude iměti bělo pozadje, ju trěba koristati jedino na stranicah s bělym pozadjem. Trěba se dbati, da by ni nazvanje, ni tekst ne razširjali se do kuskov bloka v jego "lěvom uglu". Da by sdělati prazdny redok kako nazvanje, koristajte <code><nowiki>title|&amp;nbsp;</nowiki></code>. To provide a blank line at the bottom of the letterhead, add <code><nowiki><br /><br /></nowiki></code> to the end of the <code><nowiki>source</nowiki></code> parameter (or <code><nowiki>author</nowiki></code>, if <code><nowiki>source</nowiki></code> was not used). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> mk3y2fbqc8sx9hw7u51uq3vq3729nxo 44872 44871 2026-07-31T05:26:46Z Ilja isv 10 /* Vlastna klasa {{-|Letterhead}} */ 44872 wikitext text/x-wiki <noinclude>{{Dokumentačna podstranica}}</noinclude> Šablon {{-|'''Citatny blok'''}} možno jest upotrěbiti dlja stvarjanja različnyh citatnyh blokov. Jest klonom šablona {{-|'''Quote box'''}} iz anglijskoj Vikipedije i može se koristati bez izměn, vključno anglijskogo nazvanja šablona, ktoro rabotaje identično. == Upotrěba == Može se koristati za izobraženje citat ili veršev, tuty šablon može pokazyvati nazvu, citatu, avtora i iztočnik v formě bloka s ramom i bez, imaje možnosti za nastavjenje granic, pozadja, ravnanja teksta i drugyh aspektov. '''Uvaga:''' Šablon {{-|'''Citatny blok'''}} stvarjaje plyvajuči razděl {{-|div}}, čto označaje, že ako li v članku sut obrazky, jego pozicija bude měnjati se zavisno na razlogě rendera, a tekst članka može byti nad ili pod blokom i ne bude jego obtekati sboku. Tuto zavisi na odnošenju razměrov i tipa citaty i osnovnogo teksta. '''Primětka:''' Tuty šablon koristaje tagy <code><nowiki><div></nowiki></code> i zato može ne vsegda rabotati, kogda jest vloženy pomočju sintaksa {{-|wikitext}}. Tuto jest naslědkom tutčasnyh ograničenij parsingovogo {{-|[[HTML]]}} softvera Vikipedije. Kogda upotrěbjaje se s veršem, udobno jest upakovati sodržanje verša v tagy <code><nowiki>poem</nowiki></code>; tuto shranjae koncy redkov bez potrěby ručno ustanovjati odmětky <code><nowiki><br/></nowiki></code>. {{Citatny blok|Byti či ne byti, to je o čim tut ide ...}} === Parametry === '''Glavne parametry''' * <code><nowiki>title</nowiki></code>: Opcionalna nazva, ktora se objevi na vrhu citatnogo a bloka. * <code><nowiki>quote</nowiki></code>: Citat ili drugy tekst, ktory bude izobražati se v bloku. * <code><nowiki>author</nowiki></code>: Opcionalno ime avtora. Na koncu može byti pridana referencija s tagom <code><nowiki><ref></nowiki></code>. Prěd imenom avtora avtomatično izobražaje se črtka, ako li avtora nema, črtka bude prěd nazvoju iztočnika. * <code><nowiki>source</nowiki></code>: Opcionalny iztočnik citaty (nazva raboty "v lapkah" ili ''v kursivu'', i druge dane publikacije). Možlivo jest koristati tag referencije <code><nowiki><ref></nowiki></code>. '''Stilj glavnogo bloka''' * <code><nowiki>align</nowiki></code>: Ravnanje citatnogo bloka na stranici — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code> / <code><nowiki>none</nowiki></code>. Predustanovjeno jest ravnanje vpravo. Koristanje <code><nowiki>align=none</nowiki></code> odstranjaje i prěnos teksta po slovah. * <code><nowiki>width</nowiki></code>: Širina citatnogo bloka. Prědustavjena na širinu vključenogo citata, izključajuči <code><nowiki>align=center</nowiki></code> ili <code><nowiki>align=none</nowiki></code>, kogda prědustavjena širina bude 100%. * <code><nowiki>border</nowiki></code>: Širina granicy citatnogo bloka. Prědustavjena na 1{{-|px}}. Ne zabezpametajte vključiti '{{-|px}}' ili '{{-|em}}' da by ukazati pravilnu širinu. * <code><nowiki>fontsize</nowiki></code>: Velikost fonta teksta citatnogo bloka, zadavaje se v procentah, napr. <code><nowiki>fontsize=90%</nowiki></code>. Suglasno preporučenjam Vikipedije, koristajte velikost fonta od 85% ili vysšu. * <code><nowiki>bgcolor</nowiki></code>: {{-|RGB}}-kolor pozadja bloka. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>style</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj nazvanja''' * <code><nowiki>title_bg</nowiki></code>: {{-|RGB}}-kolor pozadja nazvanja. Prědustavjen na {{-|<nowiki>#</nowiki>F9F9F9}} (světly sěry). * <code><nowiki>title_fnt</nowiki></code>: Kolor fonta nazvanja. prědustavjen na črny. * <code><nowiki>tstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. '''Stilj citata''' * <code><nowiki>qalign</nowiki></code>: Ravnanje elementa citata — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na <code><nowiki>left</nowiki></code>. * <code><nowiki>qstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. * <code><nowiki>quoted</nowiki></code>: Ako li tuty parametr imaje istinno značenje (ne jest 0, <code><nowiki>false</nowiki></code> ili pusty) citatny blok bude zaključati citat v ''tolste lapky''. Koristajte s ogledom; suglasno rekomendacijam Vikipedije, lapky ne izobražajut v člankah glavnogo prostranstva. '''Stilj iztočnika'''<br/> Tute nastavjenja vlivajut na ves blok <code><nowiki>author</nowiki></code> i <code><nowiki>source</nowiki></code>, ktory pokazyvaje se pod citatom. * <code><nowiki>salign</nowiki></code>: Ravnjanje elementa iztočnika — <code><nowiki>left</nowiki></code> / <code><nowiki>right</nowiki></code> / <code><nowiki>center</nowiki></code>. Prědustavjen na jednako značenje s <code><nowiki>qalign</nowiki></code>. * <code><nowiki>sstyle</nowiki></code>: Parametr občego {{-|CSS}}-stilja. Zadavanje tutogo parametra zaměnjaje kolikake duplikaty v prědhodnyh parametrah. === Polna sintaksa === <syntaxhighlight lang="wikitext"> {{Citatny blok |class = <!-- Advanced users only. See the "Custom classes" section below. --> |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }} </syntaxhighlight> === Priměry === Tut sut několiko priměrov koda šablona i jihnyh rezultatov. Za vyše hytryh priměrov gledite [[:en:Template:Quote box/examples|priměry na anglijskom]] za šablon '''{{-|Quote box}}'''. V tamtyh priměrah šablon <code><nowiki>{{lorem ipsum}}</nowiki></code> stvarjaje nekoliko redkov vzornogo teksta bez smysla, tute teksta ne sut čestju sintaksy citata. ==== Plyvanje i obtekanje ==== '''Minimalny kod, prědustavjeno pyvanje poprav i minimalna širina:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} }} <br/> <br/> <br/> '''Plyvanje poprav:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = right }} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = right}} <br/> <br/> <br/> '''Plyvanje polěv:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = left}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = left}} <br/> <br/> <br/> <br/> '''Centrovano, ne plyvaje:''' <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |width = 50% |align = center}}</syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |width = 50% |align = center }} ==== Tolste lapky ==== <syntaxhighlight lang=""> {{Citatny blok |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |quoted = 1}} </syntaxhighlight> {{Citatny blok |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = [{{-|[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |quoted = 1 }} <br/> <br/> <br/> <br/> ==== Ravnanje teksta v bloku ==== <syntaxhighlight lang=""> {{Citatny blok |title = Centrovany citat |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = center}} </syntaxhighlight> {{Citatny blok |title = Centrovany citat |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = center }} <br/><br/><br/><br/> <syntaxhighlight lang=""> {{Citatny blok |title = Nazvanje polěv, citat poprav |tstyle = text-align: left; |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I. |qalign = right}} </syntaxhighlight> {{Citatny blok |title = Nazvanje polěv, citat poprav |tstyle = text-align: left; |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}} |qalign = right }} <br/> <br/> <br/> <br/> ==== Vlastne klasy ==== '''Tuty parametr musi se koristati toliko tymi redaktorami, ktore vpolno razumějut, kako rabotaje tuty šablon.''' Parament <code><nowiki>class=</nowiki></code> može se upotrěbjati kako obča {{-|CSS}}=klasa v tutom šablonu. Něktore klasy ne sut suměstime s drugymi opcijami ili trěbujut specialnogo nastavjenja drugyh parametrov, da by šablon rabotal i izgledal dobro. ===== Vlastna klasa {{-|Letterhead}} ===== Klasa <code><nowiki>letterhead</nowiki></code> se musi koristati či s <code><nowiki>title_bg|none</nowiki></code>, <code><nowiki>border|none</nowiki></code>, i <code><nowiki>bgcolor</nowiki></code>, ili ne koristati se i byti ustanovjena v <code><nowiki>none</nowiki></code>. Poneže vrhny lěvy ugol bude iměti bělo pozadje, ju trěba koristati jedino na stranicah s bělym pozadjem. Trěba se dbati, da by ni nazvanje, ni tekst ne razširjali se do kuskov bloka v jego "lěvom uglu". Da by sdělati prazdny redok kako nazvanje, koristajte <code><nowiki>title|&amp;nbsp;</nowiki></code>. Da by sdělati prazdny redok na koncu zaglavja, dodajte <code><nowiki><br /><br /></nowiki></code> na koncu parametra <code><nowiki>source</nowiki></code> (ili <code><nowiki>author</nowiki></code>, jestli <code><nowiki>source</nowiki></code> se ne koristaje). <syntaxhighlight lang=""> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = Cry "Havoc", and let slip the dogs of war. |author = [[William Shakespeare]] |source = ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.<br /><br /> |qalign = right }} </syntaxhighlight> {{Citatny blok |class = letterhead |title = &nbsp; |tstyle = text-align: right; |title_bg = none |border = none |quote = {{-|Cry "Havoc", and let slip the dogs of war.}} |author = {{-|[[William Shakespeare]]}} |source = {{-|''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.}}<br /><br /> |qalign = right }} <br/> <br/> <br/> <br/> ==== Stisknuti tekst ==== Česti teksta mogut byti skryte (stisknute) s pomoćju šablonov <code><nowiki>{{skryto odsud}}</nowiki></code> i <code><nowiki>{{skryto dotud}}</nowiki></code>. <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem> {{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} Primětite, že i kogda ustanovjeno <code><nowiki>halign center</nowiki></code>, centrovanje izključaje se vslěd koda <code><nowiki>{{skryto odsud}}</nowiki></code>, zatože toj šablon aplikuje svoje vlastne stilje. Tuto jest možlivo razrěšiti koristanjem <code><nowiki>contentstyle</nowiki></code> v <code><nowiki>{{skryto odsud}}</nowiki></code> s uměstnymi parametrami; v tutom slučaju: :{{tlx|skryto odsud |ta2{{=}}center |contentstyle{{=}}margin: 1em auto;}} <syntaxhighlight lang=""> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = The Spider and the Fly |halign = center |quote = <poem> "Will you walk into my parlour?" said the Spider to the Fly, "'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there." "''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,'' ''For who goes up your winding stair can ne'er come down again.''" {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} "I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly. "There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!" "''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,'' ''They never, never wake again, who sleep upon your bed!''" {{skryto dotud}} </poem> |salign = right |author = [[Mary Howitt]] |source = <small>1829</small> }} </syntaxhighlight> {{Citatny blok |border = 2px |align = center |bgcolor = Cornsilk |title = {{-|The Spider and the Fly}} |halign = center |quote = <poem>{{-|"Will you walk into my parlour?" said the Spider to the Fly,}} {{-|""'Tis the prettiest little parlour that ever you did spy; The way into my parlour is up a winding stair, And I've a many curious things to shew when you are there."}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''to ask me is in vain,''}} {{-|''For who goes up your winding stair can ne'er come down again.''"}} {{skryto odsud||ta2=center|contentstyle=margin: 1em auto;}} {{-|"I'm sure you must be weary, dear, with soaring up so high; Will you rest upon my little bed?" said the Spider to the Fly.}} {{-|"There are pretty curtains drawn around; the sheets are fine and thin, And if you like to rest awhile, I'll snugly tuck you in!"}} {{-|"''Oh no, no,''" said the little Fly,&nbsp;"''for I've often heard it said,''}} {{-|''They never, never wake again, who sleep upon your bed!''"}} {{skryto dotud}} </poem> |salign = right |author = {{-|[[Mary Howitt]]}} |source = <small>1829</small> }} == Dane šablona == <div class="ext-gadget-alphabet-disable"> {| class="wikitable sortable" ! colspan="2" |Parameter !Description !Type !Status |- !Font size |<code>fontsize</code> |The fontsize of the quote box text. Defaults to 88%. |String |optional |- !Title font color |<code>title_fnt</code> |The title font color. Defaults to black. |String |optional |- !Title background color |<code>title_bg</code> |The RGB background color of the title. Defaults to #F9F9F9 (light gray). |String |optional |- !Background color |<code>bgcolor</code> |The RGB background color of the box. Defaults to #F9F9F9 (light gray). |String |optional |- !Width |<code>width</code> |The width of the quote box. Defaults to the width of the quote included, unless align=center where the width will default to 100%. Use CSS lengths eg. 50% or 400px |String |optional |- !Border width |<code>border</code> |The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. |String |optional |- !Author |<code>author</code> <code>2</code> |The author to whom the quote is attributed |Line |optional |- !Quote |<code>quote</code> <code>1</code> <code>content</code> <code>quotetext</code> <code>text</code> |The quote or text to be displayed in the box. |Content |required |- !CSS class |<code>class</code> |Optional CSS class to modify or override the default class <nowiki>''quotebox''. Care should be used when using this parameter. Consider using other templates instead. See the ''Custom classes''</nowiki> section of this document for more information. |String |optional |- !Title |<code>title</code> |Optional title to appear at the top of the quote box. |String |optional |- !Source |<code>source</code> <code>3</code> |Optional source of the quote (author, publication, etc.). Set off from author with a comma. |String |optional |- !Add quotes? |<code>quoted</code> |If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously, and read the Manual of Style. |String |optional |- !Source alignment |<code>salign</code> |Alignment of the source element—left / right / center. Defaults to the value of qalign. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Quote alignment |<code>qalign</code> <code>halign</code> |Alignment of the quote element—left / right / center. Defaults to left. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> |String |optional |- !Alignment |<code>align</code> |Alignment of the quote box on the page—left / right / center / none. Defaults to right alignment. Using align=none will remove word wrapping. ; Suggested values : <code>left</code> <code>center</code> <code>right</code> <code>none</code> |String |optional |- !Title CSS class |<code>tclass</code> |Advanced: additional classes to apply to the title element |String |optional |- !Quote CSS class |<code>qclass</code> |Advanced: additional classes to apply to the quote's element |Unknown |optional |- !Title CSS style |<code>tstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. |String |optional |- !Source CSS style |<code>sstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. |String |optional |- !CSS style |<code>style</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. |String |optional |- !Quote CSS style |<code>qstyle</code> |A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. |String |optional |} </div> <includeonly><!-- TU VY DODAVAJTE KATEGORIJE ŠABLONA --> [[Kategorija:Šablony:Formatovanje]] </includeonly> cmd15xuik7i2gzaeclzgm4v96p9af8b Fevruar 0 5878 44807 44711 2026-07-30T13:15:06Z IJzeren Jan 9 /* Slovjanske nazvy januara */ 44807 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry février.jpg | thumb | 300px | «Fevruar» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berrijskogo», početok 15. stolětja]] '''Fevruar'''<ref>Russky, bulgarsky i makedonsky imajut '''v''' (fe'''v'''ruar), a slovačsky, slovenečsky i srbohrvatsky imajut '''b''' (fe'''b'''ruar). V svezi s tym možno je v medžuslovjanskom takože strěsti formu ''februar''.</ref> ili '''ljuty''' je vtory [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 28 [[denj|dnjev]] v obyčnom, a 29 dnjev v [[prěstupny god|prěstupnom (visokosnom)]] [[god|godu]]. V [[sěverna polsfera|sěvernoj polsferě]] fevruar je tretji měsec [[meteorologija|meteorologičnoj]] [[zima|zimy]], v [[južna polsfera|južnoj polsferě]] je tretji měsec meteorologičnogo [[lěto|lěta]]. Iz pričiny svojej dolgoty fevruar je jediny měsec, v ktorom v někojih godah nikogda ne nastupaje [[polnolun‌je]]. == Historija == Najdavnějši rimsky kalendar iměl samo deset měsecev, od [[marec|marca]] do [[dekembr|dekembra]], ibo v očah [[Rim|rimjanov]] [[zima]] byla bezměsečny period. Suglasno slovesnosti ostale dva měsece byli dodane v času vladan‌ja vtorogo kralja Rima, [[Numa Pompilij|Numy Pompilija]] (716–673 p.n.e.). Drugy iz njih byl imenovany {{Lang|la|februarius}}, po imeni [[Etruski|etruskskogo]] boga podzemnogo carstva [[Februus]], a takože po nazvě obreda očiščen‌ja {{Lang|la|Februa}} (15 fevruara), od {{Jezyky|la|februum}} «očiščen‌je».<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-29}}</ref> Zato že fevruar byl poslědnji měsec goda, on je kratši od ostalyh měsecev. Pozdněje januar stal prvy, a fevruar vtory měsec goda, ale tym ne menje fevruar ostal najkratši měsec. Prvopočetno fevruar vsegda iměl 28 dnjev i byl jediny měsec s parnym čislom dnjev; rimjani věrili, že lihe čisla prinoset ščestje, a parne čisla neščestje. Jednakože v godu 45 p.n.e. [[Julij Cezar]] vvedl [[juliansky kalendar]], osnovany na cikl treh obyčnyh godov i jednogo prěstupnogo goda, v ktorom fevruar iměl 29 dnjev zaměsto 28. Vo vtorom stolětju našej ery, v času vladan‌ja imperatora [[Kommod|Kommoda]], fevruar byl kratkotrajno prěimenovany na {{Lang|la|invictus}}, ale poslě jegovoj smrti stara nazva byla vračena. Jedin raz v historiji byl [[30 fevruara]]: v 1712 v [[Švecija|Šveciji]] byl koristany 30 fevruara v svezi s drugym sposobom prěhoda s julianskogo na gregoriansky kalendar. V 1929 g. v [[Sovětsky sojuz|Sovětskom sojuzu]] bylo prědloženo vveden‌je tako nazyvajemogo «sovětskogo revolucijnogo kalendara», v ktorom vsaky měsec iměl by 30 dnjev; taky kalendar istinno byl koristany v lětah 1930 i 1931, ale ne bylo v njih 30. fevruara. == Slovjanske nazvy fevruara == [[Latinsky jezyk|Latinska]] nazva fevruara prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]: {{Jezyky|uk|лютий}}, {{Jezyky|rue|лютый}}, {{Jezyky|be|люты}}, {{Jezyky|pl|luty}} (od strogoj («ljutoj») [[pogoda|pogody]] v tom měsecu); {{Jezyky|cs|únor}}; {{Jezyky|hr|veljača}}. Kromě togo, poněkoje slovjanske jezyky imajut abo iměli arhaične formy: {{Jezyky|ru|лютень}}; [[Srbsky jezyk|srb.]] i {{Jezyky|mk|сечко}}, {{Jezyky|sk|malý sečeň}} (od {{Jezyky|cu|сѣчьнъ}} «fevruar»); {{Jezyky|sl|svečan}}; {{Jezyky|csb|gromicznik}}; {{Jezyky|hsb|mały róžk}}; {{Jezyky|dsb|swěckowny}}. V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive: * Starocrkovnoslovjanska nazva {{Lang|cu|сѣчьнъ}} iměla značen‌je «fevruar», ale to samo slovo znači «januar» v russkom ({{Lang|ru|сечень}}), ukrajinskom i rusinskom ({{Lang|uk|січень}}), hrvatskom ({{Lang|hr|siječanj}}) i bulgarskom ({{Lang|bg|сечен}}). * Od [[staroiztočnoslovjansky jezyk|starovozhodnoslovjanskoj]] nazvy {{-|''снежѣнь''}} «januar» izvodet se bělorusska nazva {{Lang|be|снежань}} «dekembr» i arhaična makedonska nazva {{Lang|mk|снежник}} «dekemr». Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, nazyvajuči fevruar prosto «drugym» ili «vtorym měsecem». == Iztočniky == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] q1yod149n0pam4hzd5nasbktkva2tro Злочинство и кара 0 5880 44893 44749 2026-07-31T10:37:05Z Мурад 97 27 44893 wikitext text/x-wiki [[Fajl:Crime and Punishment-1.png|thumb]] '''Злочинство и кара''' ({{-|Преступленiе и наказанiе}}) јест роман [[Фјодор Достојевскиј|Фјодора Достојевского]]. Он впрво је был опубликованы в 12 мєсечном книжевном журналу {{-|Русский вестник}}<ref name="Minnesota Study Notes">[http://www1.umn.edu/lol-russ/hpgary/Russ3421/lesson9.htm University of Minnesota – Study notes for Crime and Punishment]. [https://web.archive.org/web/20160411221126/http://www1.umn.edu/lol-russ/hpgary/Russ3421/lesson9.htm Архивна копија (2016-04-11)] – (retrieved on 1 May 2006)</ref> в 1866 и 1867 годах.<ref name="Самообман Раскольникова">Карякин (1976), 216</ref> То јест јего другы роман послє изгнанства в Сиберију и он је считывајемы првым романом јего "зрєлој" добы.<ref>Frank (1995), 96</ref> == Твор == Фјодор Достојевскиј почал писати роман ''Злочинство и кара'' в српњу года 1865<ref name="Самообман Раскольникова" /> == Източникы == <references /> [[Kategorija:Книгы]] g16r6f8jgxv9icoj4dmoylr6aiddmh5 Marec 0 5882 44806 44713 2026-07-30T13:14:45Z IJzeren Jan 9 /* Slovjanske nazvy januara */ 44806 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry mars.jpg | thumb | 300px | «Marec» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Marec''' ili '''brězenj''' je tretji [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31 [[denj]]. V [[sěverna polsfera|sěvernoj polsferě]] marec je prvy měsec [[meteorologija|meteorologičnoj]] [[vesna|vesny]], v [[južna polsfera|južnoj polsferě]] je prvy měsec meteorologičnoj [[jesenj|jesenje]]. V [[Evropejsky sojuz|Evropejskom sojuzu]] měsec marec trvaje jednu časinu krače od ostalyh měsecev s 31 dnjem, zato že v poslědnjem vikendu měseca načinaje se [[Srědnjeevropejsky lětnji čas]]. Okolo 20 ili 21 marca je [[ravnodenstvo]], kogda oficialno načinaje se vesna. == Historija == U davnyh [[Rimska imperija|rimjanov]] marec byl prvy měsec goda, ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). On byl imenovany {{Lang|la|martius}} po [[Mars|Marsu]], bogu [[vojna|vojny]], ktory v [[rimska mitologija|rimskoj mitologiji]] takože byl prědok rimjanov črěz svojih synov [[Romul i Rem|Romula i Rema]]. Marec byl měsec, v ktorom po zimovom prěryvu možno bylo vrnuti se k vojevan‌ju. Može byti, že imenovan‌je po Marsu takože bylo svezano s tom, že Mars takože byl bog vegatacije, ktora po zimě vračala se.<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-29}}</ref> V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda, a marec tretji. Vo vtorom stolětju našej ery, v času vladan‌ja imperatora [[Kommod|Kommoda]], marec byl kratkotrajno prěimenovany na {{Lang|la|felix}} – jedno iz prězvišč imperatora – ale poslě jegovoj smrti stara nazva byla vračena. == Slovjanske nazvy marca == [[Latinsky jezyk|Latinska]] nazva marca prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]: [[ukrajinsky jezyk|ukr.]] i {{Jezyky|rue|березень}}, {{Jezyky|cs|březen}}; {{Jezyky|be|сакавік}}; {{Jezyky|hr|ožujak}}; {{Jezyky|csb|strëmiannik}}. Kromě togo, ostale slovjanske jezyky imajut abo iměli arhaične formy: {{Jezyky|pl|brzezień}}, {{Jezyky|sk|brezeň}}; {{Jezyky|ru|березозол}} (od [[staroiztočnoslovjansky jezyk|st.vozh.slov.]]: {{-|''берѣзолъ''}} «aprilj»); {{Jezyky|sl|sušec}}, {{Jezyky|bg|сухи}} (od {{Jezyky|cu|соухъ}} «marec»); {{Jezyky|sr|дерикожа}}; {{Jezyky|mk|цутар}}; {{Jezyky|hsb|nalětnik}}; {{Jezyky|dsb|pózymski}}. V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Starocrkovnoslovjanska nazva {{Lang|cu|брѣзьнъ}} iměla značen‌je «aprilj», ale to v pozdnějših jezykah kromě bulgarskogo značen‌je «marec». Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, nazyvajuči marec prosto «tretjim měsecem». == Iztočnik == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] 3f837909ar3gbmrfkwuv0gru68wcqtm Aprilj 0 5884 44808 44707 2026-07-30T13:15:22Z IJzeren Jan 9 /* Slovjanske nazvy januara */ 44808 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry avril.jpg | thumb | 300px | «Aprilj» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berrijskogo», početok 15. stolětja]] '''Aprilj''' ili '''cvětenj''' je četvrty [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 30 [[denj|dnjev]]. V [[sěverna polsfera|sěvernoj polsferě]] aprilj je vtory měsec [[meteorologija|meteorologičnoj]] [[vesna|vesny]], v [[južna polsfera|južnoj polsferě]] je vtory měsec meteorologičnoj [[jesenj|jesenje]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] aprilj byl vtory měsec goda, ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). On byl imenovany {{Lang|la|aprilis}}. Etimologija toj nazvy je nejasna. Jedna teorija glasi, že ona izvedla se od [[Etruski|etruskskogo]] slova svezanogo s imenem [[Afrodita|Afrodity]], bogynje ljubve, ačekoli jejno ime u rimjanov bylo [[Venus]]. Druga možnost je svez s [[latinsky jezyk|latinskym]] slovom {{Lang|la|aperīre}} «otvirati», za označen‌je otvirajučej se [[priroda|prirody]]. Nakonec prědpokladaje se i svez s slovom {{Lang|la|aprīcus}} «solnečny, nagrěty solncem».<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-29}}</ref> V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda, a aprilj četvrty. Podčas vladan‌ja [[Neron|Nerona]] aprilj byl prěimenovany na {{Lang|la|neroneus}} v čest imperatora, ale ta nazva ne byla prodolžena. Takože vo vtorom stolětju našej ery, v času vladan‌ja imperatora [[Kommod|Kommoda]], aprilj byl kratkotrajno prěimenovany, tym razom na {{Lang|la|pius}} – jedno iz prězvišč imperatora – ale poslě jegovoj smrti stara nazva byla vračena. == Slovjanske nazvy aprilja == [[Latinsky jezyk|Latinska]] nazva aprilja prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]: {{Jezyky|uk|квітень}}, {{Jezyky|rue|цвітень}}, {{Jezyky|pl|kwiecień}}; {{Jezyky|hr|travanj}} (od {{Jezyky|cu|трѣвьнъ}} «maj»); {{Jezyky|be|красавік}}; {{Jezyky|cs|duben}}; {{Jezyky|csb|łżëkwiat}}. Kromě togo, ostale slovjanske jezyky imajut abo iměli arhaične formy: {{Jezyky|ru|цветень}}, {{Jezyky|sk|dubeň}}; {{Jezyky|sl|mali traven}}, {{Jezyky|mk|тревен}}; {{Jezyky|sr|лажитрава}}; {{Jezyky|hsb|jutrownik}}; {{Jezyky|dsb|jatšownik}}. V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive: * Starocrkovnoslovjanska nazva {{Lang|cu|брѣзьнъ}} «aprilj» imaje značen‌je «marec» v pozdnějših jezykah kromě bulgarskogo. * ''Cvětenj'' znači «aprilj» v ukrajinskom ({{Lang|uk|квітень}}), rusinskom ({{Lang|rue|цвітень}}) i poljskom ({{Lang|pl|kwiecień}}), ale «maj» v češskom ({{Lang|cs|květen}}) i srbskom ({{Lang|sr|цветањ}}. arh.). * ''Travenj'' znači «aprilj» v hrvatskom ({{Lang|hr|travanj}}) i makedonskom ({{Lang|mk|тревен}}, arh.), ale «maj» v ukrajinskom i rusinskom ({{Lang|uk|травень}}), staropoljskom ({{Lang|pl|trawień}}), bulgarskom ({{Lang|bg|тревен}}, arh.) i starocrkovnoslovjanskom ({{Lang|cu|трѣвьнъ}}). Někoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, nazyvajuči aprilj prosto «četvrtym měsecem». == Iztočnik == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] aq8grkyujjmlxt5ieee0c0xmfye99n7 Maj 0 5886 44809 44727 2026-07-30T13:15:33Z IJzeren Jan 9 /* Slovjanske nazvy januara */ 44809 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry mai.jpg | thumb | 300px | «Maj» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Maj''' ili '''travenj''' je pety [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31 [[denj]]. V [[sěverna polsfera|sěvernoj polsferě]] maj je tretji měsec [[meteorologija|meteorologičnoj]] [[vesna|vesny]], v [[južna polsfera|južnoj polsferě]] je tretji měsec meteorologičnoj [[jesenj|jesenje]]. Od [[Srědnjevěčje|Ѕrědnjevěčja]] maj je v [[hristijanstvo|hristijanstvu]] posvečeny Božjej materi [[Marija|Mariji]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] maj byl tretji měsec goda, ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). On byl imenovany {{Lang|la|maius}}, pravdopodobno po bogynji [[Maja|Maji]], ktora v davnoj [[rimska mitologija|italskoj mitologiji]] byla bogynja [[Zemja|Zemje]] i mati boga [[Merkurij|Merkurija]], ale pozdněje prějela mnogo elementov od bogynje Maje iz [[grečska mitologija|grečskoj mitologije]], ktora byla bogynja plodnosti i rasta. Druga teorija glasi, že maj byl imenovany po bogu {{Lang|la|Jupiter Maior}}, ktory prinosil silu rasten‌ja.<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-29}}</ref> Rimsky poet [[Ovidij]] veže nazvu maja s slovom {{Lang|la|maiores}} «starějši ljudi», pri čem [[junij]] veže s slovom {{Lang|la|iuniores}} «mladši ljudi». V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda, a maj pety. Podčas vladan‌ja [[Neron|Nerona]] maj byl prěimenovany na {{Lang|la|Claudius}}, jedno iz imen imperatora, ale ta nazva ne byla prodolžena. Takože vo vtorom stolětju našej ery, v času vladan‌ja imperatora [[Kommod|Kommoda]], maj byl kratkotrajno prěimenovany po prězvišču imperatora na {{Lang|la|Lucius}}, ale i tamta izměna byla odčinjena poslě jegovoj smrti. == Slovjanske nazvy maja == [[Latinsky jezyk|Latinska]] nazva maja prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]: [[ukrajinsky jezyk|ukr.]], [[bělorussky jezyk|bel.]] i {{Jezyky|rue|травень}}, {{Jezyky|sl|veliki traven}} (od {{Jezyky|cu|трѣвьнъ}}); {{Jezyky|cs|květen}}; {{Jezyky|hr|svibanj}}. Kromě togo, ostale slovjanske jezyky imajut abo iměli arhaične formy: {{Jezyky|ru|травень}}, {{Jezyky|pl|trawień}}, {{Jezyky|bg|тревен}}; {{Jezyky|sr|цветањ}}, {{Jezyky|mk|косар}}, {{Jezyky|hsb|róžownik}}; {{Jezyky|dsb|rozhelony}}. V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive: * ''Travenj'' i varianty značet «maj» v ukrajinskom i rusinskom ({{Lang|uk|травень}}), staropoljskom ({{Lang|pl|trawień}}), bulgarskom ({{Lang|bg|тревен}}, arh.) i starocrkovnoslovjanskom ({{Lang|cu|трѣвьнъ}}), ale «aprilj» v hrvatskom ({{Lang|hr|travanj}}) i makedonskom ({{Lang|mk|тревен}}, arh.). * ''Cvětenj'' i varianty značet «maj» v češskom ({{Lang|cs|květen}}) i srbskom ({{Lang|sr|цветањ}}. arh.), ale «aprilj» v ukrajinskom ({{Lang|uk|квітень}}), rusinskom ({{Lang|rue|цвітень}}) i poljskom ({{Lang|pl|kwiecień}}). Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči maj kako «pety měsec». == Iztočnik == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] 0m0376ogelr6d3jpdr0gufblyf4debz Junij 0 5894 44810 44774 2026-07-30T13:15:46Z IJzeren Jan 9 /* Slovjanske nazvy januara */ 44810 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry juin.jpg | thumb | 300px | «Junij» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Junij''' ili '''črvenj''' je šesty [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 30 [[denj|dnjev]]. V [[sěverna polsfera|sěvernoj polsferě]] junij je prvy měsec [[meteorologija|meteorologičnogo]] [[lěto|lěta]], v [[južna polsfera|južnoj polsferě]] je prvy měsec meteorologičnoj [[zima|zimy]]. 20 ili 21 junija odbyvaje se [[solncevrat]]: denj, v ktorom zavisno od polsfery je najvysše ili najnizše čislo [[časina|časin]] so světlom [[Solnce|Solnca]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] junij byl četvry měsec [[god|goda]], ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). On byl imenovany {{Lang|la|iunius}} po [[Junona|Junoně]], bogynji [[žena|žen]], [[supružstvo|supružstva]] i [[rodženje|rodžen‌ja]] v [[rimska mitologija|rimskoj mitologiji]] i rimsky ekvivalent [[Hera|Hery]], kraljevy bogov v [[grečska mitologija|grečskoj mitologije]].<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-30}}</ref> Rimsky poet [[Ovidij]] veže nazvu junija so slovom {{Lang|la|iuniores}} «mladši ljudi», a nazva [[maj|maja]] so slovom {{Lang|la|maiores}} «starějši ljudi». V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda zaměsto [[marec|marca]], a junij šesty. Prvopočetno měsec junij iměl 29 dnjev, ale v godu 46 p.n.e. [[Julij Cezar]] vvedl [[juliansky kalendar]], v ktorom junij byl prodolženy na 30 dnjev. V godu 65 n.e. měsec junij byl prěimenovany na {{Lang|la|Germanicus}} na čest imperatora [[Neron|Nerona]], ale po jegovoj smrti to rěšen‌je bylo odčinjeno. Podobnym sposobom v 184 n.e. imperator [[Kommod]] prěimenoval junij na {{Lang|la|Aelius}}, jedno iz jegovyh imen, ale i ta izměna byla odčinjena poslě jegovoj smrti v 192 g. == Slovjanske nazvy junija == [[Latinsky jezyk|Latinska]] nazva maja prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]: [[ukrajinsky jezyk|ukr.]] i {{Jezyky|rue|червень}}, {{Jezyky|be|чэрвень}}, {{Jezyky|cs|červen}}, {{Jezyky|pl|czerwiec}}, {{Jezyky|csb|czerwińc}}; {{Jezyky|hr|lipanj}}. Kromě togo, druge slovjanske jezyky imajut abo iměli arhaične nazvan‌ja: {{Jezyky|ru|червень}}; {{Jezyky|bg|изок}}; {{Jezyky|mk|жетвар}}; {{Jezyky|sr|трешњар}}; {{Jezyky|sk|lipeň}}; {{Jezyky|hsb|smažnik}}; {{Jezyky|dsb|smažki}}. V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Varianty slova ''črvenj'' značet «junij» v ukrajinskom, rusinskom, bělorusskom, poljskom i češskom, ale v bulgarskom {{Lang|bg|червен}} je arhaično slovo s značen‌jem «julij». Hrvatsko slovo {{Lang|hr|lipanj}} je srodno so slovom [[julij|lipenj]], ktoro v drugyh jezykah znači «julij». Starocrkovnoslovjansko slovo {{Lang|cu|изокъ}} ne bylo prějeto v nijedin sučasny jezyk. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči junij kako «šesty měsec». == Iztočnik == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] ic620flt37aberut6gul38j9nyxk7gj Julij 0 5900 44805 44784 2026-07-30T13:14:34Z IJzeren Jan 9 /* Slovjanske nazvy januara */ 44805 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry juillet.jpg | thumb | 300px | «Julij» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Julij''' ili '''lipenj''' je sedmy [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31 [[denj]]. V [[sěverna polsfera|sěvernoj polsferě]] julij je vtory měsec [[meteorologija|meteorologičnogo]] [[lěto|lěta]] i najteplějši měsec [[god|goda]], v [[južna polsfera|južnoj polsferě]] je vtory měsec meteorologičnoj [[zima|zimy]] i najhladnějši měsec goda. == Historija == U davnyh [[Rimska imperija|rimjanov]] julij byl pety měsec goda, ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda zaměsto [[marec|marca]], a julij šedmy. Prvopočetna nazva julija byla {{Lang|la|Quintilis}} (od {{Jezyky|la|quintus}} «pety»): prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane;<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-30}}</ref> daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. Poslě ubijstva [[Julij Cezar|Julija Cezara]] v godu 44 p.n.e. rimsky [[Senat]] v jegovu čest prěimenoval {{Lang|la|Quintilis}} – měsec rodžen‌ja Cezara – na {{Lang|la|Iulius}}. Kogda imperator [[Neron]] prěimenoval měsece [[aprilj]], [[maj]] i [[junij]] v 65 n.e., on ostavil nazvy ostalyh měsecev, vključno s julijem. V 184 n.e. imperator [[Kommod]] prěimenoval julij na {{Lang|la|Aurelius}}, jedno iz jegovyh imen, ale ta izměna okazala se kratkotrajnoju i byla odčinjena poslě jegovoj smrti v 192 g. == Slovjanske nazvy julija == [[Latinsky jezyk|Latinska]] nazva maja prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]: [[ukrajinsky jezyk|ukr.]] i {{Jezyky|rue|липень}}, {{Jezyky|be|ліпень}}, {{Jezyky|pl|lipiec}}, {{Jezyky|csb|lëpińc}} ili {{Lang|csb|miodownik}}; {{Jezyky|cs|červenec}}; {{Jezyky|hr|srpanj}}. Kromě togo, druge slovjanske jezyky imajut abo iměli arhaične nazvan‌ja: {{Jezyky|ru|липец}}; {{Jezyky|bg|червен}}; {{Jezyky|mk|златец}}; {{Jezyky|sr|жетвар}}; {{Jezyky|sl|mali srpan}}; {{Jezyky|sk|klaseň}}; {{Jezyky|hsb|pražnik}}; {{Jezyky|dsb|žnjojski}}. V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Varianty slova ''lipenj'' značet «julij» vo vsih [[vozhodnoslovjanske jezyky|vozhodnoslovjanskyh jezykah]], v poljskom i v kašubskom, ale «junij» v hrvatskom. Hrvatsko slovo {{Lang|hr|srpanj}} je srodno s variantami slova [[avgust|srpenj]], ktoro v drugyh jezykah znači «avgust». Starocrkovnoslovjansko slovo {{Lang|cu|чръвлѥнꙑи}} ne bylo prějeto v nijedin sučasny jezyk. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči julij kako «sedmy měsec». == Iztočnik == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] qq2hvyuag4ofhxt2v1vl1ge1ahwuw8a Šablon:Praslov 10 5902 44786 2026-07-30T12:20:26Z IJzeren Jan 9 Stvorjena nova stranica s tekstom: «<nowiki>*</nowiki>{{-|''[[:en:wikt:Reconstruction:Proto-Slavic/{{{1}}}|{{{1}}}]]''}}<noinclude> == O šablonu == Tutoj šablon pokazyvaje rekonstruovano praslovjansko slovo s zvězdočkoju i linkom na anglijsky vikislovnik. == Upotrěba == V tekstah stranic. Format: pišite <tt><nowiki>{{Praslov|<slovo>}}</tt> == Priklad == <kbd><nowiki>{{Praslov|ryba}}</nowiki></kbd> davaje slědujuči rezultat: {{Praslov|ryba}}. [[Kategorija:Šablony:Jezyk]]</noi...» 44786 wikitext text/x-wiki <nowiki>*</nowiki>{{-|''[[:en:wikt:Reconstruction:Proto-Slavic/{{{1}}}|{{{1}}}]]''}}<noinclude> == O šablonu == Tutoj šablon pokazyvaje rekonstruovano praslovjansko slovo s zvězdočkoju i linkom na anglijsky vikislovnik. == Upotrěba == V tekstah stranic. Format: pišite <tt><nowiki>{{Praslov|<slovo>}}</tt> == Priklad == <kbd><nowiki>{{Praslov|ryba}}</nowiki></kbd> davaje slědujuči rezultat: {{Praslov|ryba}}. [[Kategorija:Šablony:Jezyk]]</noinclude> ejsa1v7wq6pzxva0gb18nb1a323sfh8 44787 44786 2026-07-30T12:22:01Z IJzeren Jan 9 44787 wikitext text/x-wiki <includeonly><nowiki>*</nowiki>{{-|''[[:en:wikt:Reconstruction:Proto-Slavic/{{{1}}}|{{{1}}}]]''}}</includeonly><noinclude> == O šablonu == Tutoj šablon pokazyvaje rekonstruovano praslovjansko slovo s zvězdočkoju i linkom na anglijsky vikislovnik. == Upotrěba == V tekstah stranic. Format: pišite <tt><nowiki>{{Praslov|<slovo>}}</tt> == Priklad == <kbd><nowiki>{{Praslov|ryba}}</nowiki></kbd> davaje slědujuči rezultat: {{Praslov|ryba}}. [[Kategorija:Šablony:Jezyk]]</noinclude> q36z0ink3prbnugsdqcmfmljzfextqx 44788 44787 2026-07-30T12:22:32Z IJzeren Jan 9 44788 wikitext text/x-wiki <includeonly><nowiki>*</nowiki>{{-|''[[:en:wikt:Reconstruction:Proto-Slavic/{{{1}}}|{{{1}}}]]''}}</includeonly><noinclude> Tutoj šablon pokazyvaje rekonstruovano praslovjansko slovo s zvězdočkoju i linkom na anglijsky vikislovnik. == Upotrěba == V tekstah stranic. Format: pišite <tt><nowiki>{{Praslov|<slovo>}}</nowiki></tt> == Priklad == <kbd><nowiki>{{Praslov|ryba}}</nowiki></kbd> davaje slědujuči rezultat: {{Praslov|ryba}}. [[Kategorija:Šablony:Jezyk]]</noinclude> 710db41weh37idvmsowt1fpgslg5w01 44789 44788 2026-07-30T12:23:06Z IJzeren Jan 9 /* Upotrěba */ 44789 wikitext text/x-wiki <includeonly><nowiki>*</nowiki>{{-|''[[:en:wikt:Reconstruction:Proto-Slavic/{{{1}}}|{{{1}}}]]''}}</includeonly><noinclude> Tutoj šablon pokazyvaje rekonstruovano praslovjansko slovo s zvězdočkoju i linkom na anglijsky vikislovnik. == Upotrěba == V tekstah stranic. Format: pišite <tt><nowiki>{{Praslov|<slovo>}}</nowiki></tt> bez zvězdočkoju. == Priklad == <kbd><nowiki>{{Praslov|ryba}}</nowiki></kbd> davaje slědujuči rezultat: {{Praslov|ryba}}. [[Kategorija:Šablony:Jezyk]]</noinclude> 8b5fywsklthnrh6zg0akvdvc1j1fr6u 44836 44789 2026-07-30T17:24:23Z IJzeren Jan 9 44836 wikitext text/x-wiki <includeonly>{{-|''[[:en:wikt:Reconstruction:Proto-Slavic/{{{1}}}|<nowiki>*</nowiki>{{{1}}}]]''}}</includeonly><noinclude> Tutoj šablon pokazyvaje rekonstruovano praslovjansko slovo s zvězdočkoju i linkom na anglijsky vikislovnik. == Upotrěba == V tekstah stranic. Format: pišite <tt><nowiki>{{Praslov|<slovo>}}</nowiki></tt> bez zvězdočkoju. == Priklad == <kbd><nowiki>{{Praslov|ryba}}</nowiki></kbd> davaje slědujuči rezultat: {{Praslov|ryba}}. [[Kategorija:Šablony:Jezyk]]</noinclude> qznyogihdqmm9zgzgm86dxl4xj96crl Šablon:Праслов 10 5903 44790 2026-07-30T12:23:59Z IJzeren Jan 9 Prěnapravjenje stranice na [[Šablon:Praslov]] 44790 wikitext text/x-wiki #REDIRECT [[Šablon:Praslov]] 6cjpekeoae2ur4w6y31h15n37zl4415 Šablon:Skryto odsud/styles.css 10 5904 44794 2026-07-30T12:59:11Z Ilja isv 10 Stvorjena nova stranica s tekstom: «/* {{pp-template}} */ .hidden-begin { box-sizing: border-box; width: 100%; padding: 5px; border: none; font-size: 95%; } .hidden-title { font-weight: bold; line-height: 1.6; text-align: left; } .hidden-content { text-align: left; } /* [[phab:T360582]] */ @media all and ( max-width: 500px ) { .hidden-begin { width: auto !important; clear: none !important; float: none !important; } }» 44794 sanitized-css text/css /* {{pp-template}} */ .hidden-begin { box-sizing: border-box; width: 100%; padding: 5px; border: none; font-size: 95%; } .hidden-title { font-weight: bold; line-height: 1.6; text-align: left; } .hidden-content { text-align: left; } /* [[phab:T360582]] */ @media all and ( max-width: 500px ) { .hidden-begin { width: auto !important; clear: none !important; float: none !important; } } b1nhedn00o082mlrogut2z7909uozkh Šablon:Skryto odsud 10 5905 44795 2026-07-30T12:59:15Z Ilja isv 10 Stvorjena nova stranica s tekstom: «<includeonly><templatestyles src="Šablon:Skryto odsud/styles.css"/><div class="hidden-begin mw-collapsible {{#ifeq:{{{showhide|{{{toggle}}}}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}}||mw-collapsed}} {{{class|}}}" style="{{#if:{{{width|}}}|width:{{{width}}};}} {{#if:{{{border|}}}|border:{{{border}}};}} {{#if:{{{bgcolor|}}}|background-color:{{{bgcolor}}};color:inherit;}} {{{style|}}}"><!-- --><div class="hidden-title skin-nightmode-r...» 44795 wikitext text/x-wiki <includeonly><templatestyles src="Šablon:Skryto odsud/styles.css"/><div class="hidden-begin mw-collapsible {{#ifeq:{{{showhide|{{{toggle}}}}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}}||mw-collapsed}} {{{class|}}}" style="{{#if:{{{width|}}}|width:{{{width}}};}} {{#if:{{{border|}}}|border:{{{border}}};}} {{#if:{{{bgcolor|}}}|background-color:{{{bgcolor}}};color:inherit;}} {{{style|}}}"><!-- --><div class="hidden-title skin-nightmode-reset-color" style="{{#if:{{{ta1|}}}|text-align:{{{ta1}}};}} {{#if:{{{titlebgcolor|}}}|background-color:{{{titlebgcolor}}};color:inherit;}} {{{titlestyle|}}}">{{{title|{{{header|}}}}}}</div><!-- --><div class="hidden-content mw-collapsible-content" style="{{#if:{{{ta2|}}}|text-align:{{{ta2}}};}} {{#if:{{{contentbgcolor|}}}|background-color:{{{contentbgcolor}}};color:inherit;}} {{{contentstyle|{{{bodystyle|}}}}}}"><!-- Content added after the template --></includeonly><noinclude> {{Dokumentacija}} </noinclude> t60p75tjijh0i7gs3hrielur4ewbbrl 44800 44795 2026-07-30T13:05:13Z Ilja isv 10 44800 wikitext text/x-wiki <includeonly><templatestyles src="Šablon:Skryto odsud/styles.css"/><div class="hidden-begin mw-collapsible {{#ifeq:{{{showhide|{{{toggle}}}}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}}||mw-collapsed}} {{{class|}}}" style="{{#if:{{{width|}}}|width:{{{width}}};}} {{#if:{{{border|}}}|border:{{{border}}};}} {{#if:{{{bgcolor|}}}|background-color:{{{bgcolor}}};color:inherit;}} {{{style|}}}"><!-- --><div class="hidden-title skin-nightmode-reset-color" style="{{#if:{{{ta1|}}}|text-align:{{{ta1}}};}} {{#if:{{{titlebgcolor|}}}|background-color:{{{titlebgcolor}}};color:inherit;}} {{{titlestyle|}}}">{{{title|{{{header|}}}}}}</div><!-- --><div class="hidden-content mw-collapsible-content" style="{{#if:{{{ta2|}}}|text-align:{{{ta2}}};}} {{#if:{{{contentbgcolor|}}}|background-color:{{{contentbgcolor}}};color:inherit;}} {{{contentstyle|{{{bodystyle|}}}}}}"><!-- Content added after the template--></includeonly><noinclude>{{Dokumentacija}}</noinclude> 18722vxdirrxp6d6xga8jn7lyf362ny Šablon:Hatnote 10 5906 44796 2026-07-30T13:03:26Z Ilja isv 10 Stvorjena nova stranica s tekstom: «<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude> {{Dokumentacija}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>» 44796 wikitext text/x-wiki <includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude> {{Dokumentacija}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude> 34z45dhclcc9ns0qfquxyx1i7v2ri2u 44799 44796 2026-07-30T13:04:37Z Ilja isv 10 44799 wikitext text/x-wiki <includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>{{Dokumentacija}}<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude> ef6e5gvywt7by4tgy6l903rp6x69vc5 44803 44799 2026-07-30T13:12:02Z Ilja isv 10 44803 wikitext text/x-wiki <includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>{{Dokumentacija}}<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --></noinclude> jc9i193dn4892cnc2hsvxpfqq5i248c Šablon:Skryto dotud 10 5907 44801 2026-07-30T13:07:05Z Ilja isv 10 Stvorjena nova stranica s tekstom: «<includeonly></div></div></includeonly><noinclude>{{hatnote|Šablon:Skryto dotud}} {{Dokumentacija}} </noinclude>» 44801 wikitext text/x-wiki <includeonly></div></div></includeonly><noinclude>{{hatnote|Šablon:Skryto dotud}} {{Dokumentacija}} </noinclude> ri06wu5ksgr9e4xn4qg02wnyjed1tex 44802 44801 2026-07-30T13:10:38Z Ilja isv 10 44802 wikitext text/x-wiki <includeonly></div></div></includeonly><noinclude>{{hatnote| Ovamo prěnapravjaje šablon [[Šablon:Skryto dotud|Skryto dotud]]}} {{Dokumentacija}} </noinclude> p8j7k9pnnuqv2yywcqvhmglfmqzsq5y Avgust (měsec) 0 5908 44804 2026-07-30T13:14:10Z IJzeren Jan 9 Stvorjena nova stranica s tekstom: «[[Fajl:Les Très Riches Heures du duc de Berry aout.jpg | thumb | 300px | «Avgust» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Avgust''' ili '''srpenj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisanju]]: {{-|''sŕpėnj''}}.</ref> je osmy [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31...» 44804 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry aout.jpg | thumb | 300px | «Avgust» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Avgust''' ili '''srpenj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisanju]]: {{-|''sŕpėnj''}}.</ref> je osmy [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31 [[denj]]. V [[sěverna polsfera|sěvernoj polsferě]] julij je tretji měsec [[meteorologija|meteorologičnogo]] [[lěto|lěta]], v [[južna polsfera|južnoj polsferě]] je tretji měsec meteorologičnoj [[zima|zimy]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] avgust byl šesty měsec [[god|goda]], ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda zaměsto [[marec|marca]], a avgust osmy. Prvopočetna nazva avgusta byla {{Lang|la|Sextilis}} (od {{Jezyky|la|sextus}} «šesty»): prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane i daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. V godu 8 p.n.e. [[Avgust (imperator)|Avgust]], prvy imperator [[Rimska imperija|Rimskoj imperije]], prěimenoval {{Lang|la|Sextilis}} na {{Lang|la|Augustus}}, poščitno zvan‌je nadano mu [[Senat|Senatom]] v 27 p.n.e., ktoro znači «poččeny», ibo v tutom měsecu byli jegove največše pobědy i v avgustu on stal konsul. To, že imperator Avgust takože umrl v avgustu, je slučajnost.<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-30}}</ref> V času vladan‌ja imperatora [[Kommod|Kommoda]] avgust byl prěimenovany na {{Lang|la|Commodus}} v 184 n.e., ale ta izměna byla odčinjena poslě jegovoj smrti v 192 g. Prvopočetno měsec avgust iměl 29 dnjev, ale s vveden‌jem [[juliansky kalendar|julianskogo kalendara]] [[Julij Cezar|Julijem Cezarom]] v godu 46 p.n.e. on byl prodolženy na 31 denj. Jednočasno čislo dnjev v slědujučih měsecah [[septembr]], [[oktobr]], [[novembr]] i [[dekembr]] (31 i 30) bylo obračeno, ibo inače byli by tri měsece podred imajuče 31 denj. == Slovjanske nazvy avgusta == [[Latinsky jezyk|Latinska]] nazva maja prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]. Od [[praslovjansky jezyk|praslovjanskogo]] slova {{Praslov|sьrpьňь}} «avgust, julij» (< {{Praslov|sьrpъ}} «srp») izvedene sut: {{Lang|uk|серпень}} ([[ukrajinsky jezyk|ukrainsky]] i [[rusinsky jezyk|rusinsky]]), {{Lang|pl|sierpień}} ([[Poljsky jezyk|poljsky]]), {{Lang|csb|serzpiéń}} ([[Kašubsky jezyk|kašubsky]]) i {{Lang|cs|srpen}} ([[Češsky jezyk|češsky]]), a takože arhanične slova v [[russky jezyk|russkom]] ({{Lang|ru|серпень}}), [[slovačsky jezyk|slovačskom]] ({{Lang|sk|spreň}}) i [[slovenečsky jezyk|slovenečskom]] ({{Lang|sl|veliki srpan}}). [[Hrvatsky jezyk|Hrvatsko]] slovo {{Lang|hr|srpanj}} znači «[[julij]]», a za avgust imaje slovo {{Lang|hr|kolovoz}}. Druge, v večinstvu arhaične, nazvan‌ja avgusta sut: {{Lang|be|жнівень}} ([[bělorussky jezyk|bělorussky]]), {{Lang|bg|зарев}} ([[Bulgarsky jezyk|bulgarsky]], od {{Jezyky|cu|заревъ}}), {{Lang|mk|житар}} ([[makedonsky jezyk|makedonsky]]), {{Lang|sr|гумник}} ([[srbsky jezyk|srbsky]]), {{Lang|csb|zélnik}} (kašubsky), {{Lang|hsb|žnjec}} ([[Gornolužičsky jezyk|gornolužičsky]]) i {{Lang|dsb|jacmjeński}} ([[Dolnolužičsky jezyk|dolnolužičsky]]). V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči avgust kako «osmy měsec». == Iztočnik == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] fx5tq625uwkajce33px2u9k68nmye6l 44811 44804 2026-07-30T13:16:29Z IJzeren Jan 9 /* Iztočnik */ 44811 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry aout.jpg | thumb | 300px | «Avgust» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Avgust''' ili '''srpenj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisanju]]: {{-|''sŕpėnj''}}.</ref> je osmy [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31 [[denj]]. V [[sěverna polsfera|sěvernoj polsferě]] julij je tretji měsec [[meteorologija|meteorologičnogo]] [[lěto|lěta]], v [[južna polsfera|južnoj polsferě]] je tretji měsec meteorologičnoj [[zima|zimy]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] avgust byl šesty měsec [[god|goda]], ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda zaměsto [[marec|marca]], a avgust osmy. Prvopočetna nazva avgusta byla {{Lang|la|Sextilis}} (od {{Jezyky|la|sextus}} «šesty»): prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane i daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. V godu 8 p.n.e. [[Avgust (imperator)|Avgust]], prvy imperator [[Rimska imperija|Rimskoj imperije]], prěimenoval {{Lang|la|Sextilis}} na {{Lang|la|Augustus}}, poščitno zvan‌je nadano mu [[Senat|Senatom]] v 27 p.n.e., ktoro znači «poččeny», ibo v tutom měsecu byli jegove največše pobědy i v avgustu on stal konsul. To, že imperator Avgust takože umrl v avgustu, je slučajnost.<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-30}}</ref> V času vladan‌ja imperatora [[Kommod|Kommoda]] avgust byl prěimenovany na {{Lang|la|Commodus}} v 184 n.e., ale ta izměna byla odčinjena poslě jegovoj smrti v 192 g. Prvopočetno měsec avgust iměl 29 dnjev, ale s vveden‌jem [[juliansky kalendar|julianskogo kalendara]] [[Julij Cezar|Julijem Cezarom]] v godu 46 p.n.e. on byl prodolženy na 31 denj. Jednočasno čislo dnjev v slědujučih měsecah [[septembr]], [[oktobr]], [[novembr]] i [[dekembr]] (31 i 30) bylo obračeno, ibo inače byli by tri měsece podred imajuče 31 denj. == Slovjanske nazvy avgusta == [[Latinsky jezyk|Latinska]] nazva maja prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]. Od [[praslovjansky jezyk|praslovjanskogo]] slova {{Praslov|sьrpьňь}} «avgust, julij» (< {{Praslov|sьrpъ}} «srp») izvedene sut: {{Lang|uk|серпень}} ([[ukrajinsky jezyk|ukrainsky]] i [[rusinsky jezyk|rusinsky]]), {{Lang|pl|sierpień}} ([[Poljsky jezyk|poljsky]]), {{Lang|csb|serzpiéń}} ([[Kašubsky jezyk|kašubsky]]) i {{Lang|cs|srpen}} ([[Češsky jezyk|češsky]]), a takože arhanične slova v [[russky jezyk|russkom]] ({{Lang|ru|серпень}}), [[slovačsky jezyk|slovačskom]] ({{Lang|sk|spreň}}) i [[slovenečsky jezyk|slovenečskom]] ({{Lang|sl|veliki srpan}}). [[Hrvatsky jezyk|Hrvatsko]] slovo {{Lang|hr|srpanj}} znači «[[julij]]», a za avgust imaje slovo {{Lang|hr|kolovoz}}. Druge, v večinstvu arhaične, nazvan‌ja avgusta sut: {{Lang|be|жнівень}} ([[bělorussky jezyk|bělorussky]]), {{Lang|bg|зарев}} ([[Bulgarsky jezyk|bulgarsky]], od {{Jezyky|cu|заревъ}}), {{Lang|mk|житар}} ([[makedonsky jezyk|makedonsky]]), {{Lang|sr|гумник}} ([[srbsky jezyk|srbsky]]), {{Lang|csb|zélnik}} (kašubsky), {{Lang|hsb|žnjec}} ([[Gornolužičsky jezyk|gornolužičsky]]) i {{Lang|dsb|jacmjeński}} ([[Dolnolužičsky jezyk|dolnolužičsky]]). V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči avgust kako «osmy měsec». == Iztočniky == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] p4zyve1ji0u29hzz18ley8kgxzug1sw 44814 44811 2026-07-30T13:18:28Z IJzeren Jan 9 /* Slovjanske nazvy avgusta */ 44814 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry aout.jpg | thumb | 300px | «Avgust» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Avgust''' ili '''srpenj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisanju]]: {{-|''sŕpėnj''}}.</ref> je osmy [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31 [[denj]]. V [[sěverna polsfera|sěvernoj polsferě]] julij je tretji měsec [[meteorologija|meteorologičnogo]] [[lěto|lěta]], v [[južna polsfera|južnoj polsferě]] je tretji měsec meteorologičnoj [[zima|zimy]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] avgust byl šesty měsec [[god|goda]], ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda zaměsto [[marec|marca]], a avgust osmy. Prvopočetna nazva avgusta byla {{Lang|la|Sextilis}} (od {{Jezyky|la|sextus}} «šesty»): prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane i daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. V godu 8 p.n.e. [[Avgust (imperator)|Avgust]], prvy imperator [[Rimska imperija|Rimskoj imperije]], prěimenoval {{Lang|la|Sextilis}} na {{Lang|la|Augustus}}, poščitno zvan‌je nadano mu [[Senat|Senatom]] v 27 p.n.e., ktoro znači «poččeny», ibo v tutom měsecu byli jegove največše pobědy i v avgustu on stal konsul. To, že imperator Avgust takože umrl v avgustu, je slučajnost.<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-30}}</ref> V času vladan‌ja imperatora [[Kommod|Kommoda]] avgust byl prěimenovany na {{Lang|la|Commodus}} v 184 n.e., ale ta izměna byla odčinjena poslě jegovoj smrti v 192 g. Prvopočetno měsec avgust iměl 29 dnjev, ale s vveden‌jem [[juliansky kalendar|julianskogo kalendara]] [[Julij Cezar|Julijem Cezarom]] v godu 46 p.n.e. on byl prodolženy na 31 denj. Jednočasno čislo dnjev v slědujučih měsecah [[septembr]], [[oktobr]], [[novembr]] i [[dekembr]] (31 i 30) bylo obračeno, ibo inače byli by tri měsece podred imajuče 31 denj. == Slovjanske nazvy avgusta == [[Latinsky jezyk|Latinska]] nazva avgusta prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]. Od [[praslovjansky jezyk|praslovjanskogo]] slova {{Praslov|sьrpьňь}} «avgust, julij» (< {{Praslov|sьrpъ}} «srp») izvedene sut: {{Lang|uk|серпень}} ([[ukrajinsky jezyk|ukrainsky]] i [[rusinsky jezyk|rusinsky]]), {{Lang|pl|sierpień}} ([[Poljsky jezyk|poljsky]]), {{Lang|csb|serzpiéń}} ([[Kašubsky jezyk|kašubsky]]) i {{Lang|cs|srpen}} ([[Češsky jezyk|češsky]]), a takože arhanične slova v [[russky jezyk|russkom]] ({{Lang|ru|серпень}}), [[slovačsky jezyk|slovačskom]] ({{Lang|sk|spreň}}) i [[slovenečsky jezyk|slovenečskom]] ({{Lang|sl|veliki srpan}}) – vse v značen‌ju «avgust». Srodno [[Hrvatsky jezyk|hrvatsko]] slovo {{Lang|hr|srpanj}} znači «[[julij]]», a za avgust hrvatsky imaje slovo {{Lang|hr|kolovoz}}. Druge, v večinstvu arhaične, slovjanske nazvan‌ja avgusta sut: {{Lang|be|жнівень}} ([[bělorussky jezyk|bělorussky]]), {{Lang|bg|зарев}} ([[Bulgarsky jezyk|bulgarsky]], od {{Jezyky|cu|заревъ}}), {{Lang|mk|житар}} ([[makedonsky jezyk|makedonsky]]), {{Lang|sr|гумник}} ([[srbsky jezyk|srbsky]]), {{Lang|csb|zélnik}} (kašubsky), {{Lang|hsb|žnjec}} ([[Gornolužičsky jezyk|gornolužičsky]]) i {{Lang|dsb|jacmjeński}} ([[Dolnolužičsky jezyk|dolnolužičsky]]). V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči avgust kako «osmy měsec». == Iztočniky == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] bfrtqx6v100pgqih2egwfbvcj93n1r8 44825 44814 2026-07-30T14:19:50Z IJzeren Jan 9 44825 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry aout.jpg | thumb | 300px | «Avgust» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Avgust''' ili '''srpenj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisanju]]: {{-|''sŕpėnj''}}.</ref> je osmy [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31 [[denj]]. V [[sěverna polsfera|sěvernoj polsferě]] avgust je tretji měsec [[meteorologija|meteorologičnogo]] [[lěto|lěta]], v [[južna polsfera|južnoj polsferě]] je tretji měsec meteorologičnoj [[zima|zimy]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] avgust byl šesty měsec [[god|goda]], ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda zaměsto [[marec|marca]], a avgust osmy. Prvopočetna nazva avgusta byla {{Lang|la|Sextilis}} (od {{Jezyky|la|sextus}} «šesty»): prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane i daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. V godu 8 p.n.e. [[Avgust (imperator)|Avgust]], prvy imperator [[Rimska imperija|Rimskoj imperije]], prěimenoval {{Lang|la|Sextilis}} na {{Lang|la|Augustus}}, poščitno zvan‌je nadano mu [[Senat|Senatom]] v 27 p.n.e., ktoro znači «poččeny», ibo v tutom měsecu byli jegove največše pobědy i v avgustu on stal konsul. To, že imperator Avgust takože umrl v avgustu, je slučajnost.<ref>{{Cite web | url = https://onzetaal.nl/taalloket/namen-van-maanden | title = Waar komen de namen van de maanden (januari tot en met december) vandaan? | website = Onze taal | language = nl | access-date = 2026-07-30}}</ref> V času vladan‌ja imperatora [[Kommod|Kommoda]] avgust byl prěimenovany na {{Lang|la|Commodus}} v 184 n.e., ale ta izměna byla odčinjena poslě jegovoj smrti v 192 g. Prvopočetno měsec avgust iměl 29 dnjev, ale s vveden‌jem [[juliansky kalendar|julianskogo kalendara]] [[Julij Cezar|Julijem Cezarom]] v godu 46 p.n.e. on byl prodolženy na 31 denj. Jednočasno čislo dnjev v slědujučih měsecah [[septembr]], [[oktobr]], [[novembr]] i [[dekembr]] (31 i 30) bylo obračeno, ibo inače byli by tri měsece podred imajuče 31 denj. == Slovjanske nazvy avgusta == [[Latinsky jezyk|Latinska]] nazva avgusta prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]. Od [[praslovjansky jezyk|praslovjanskogo]] slova {{Praslov|sьrpьňь}} «avgust, julij» (< {{Praslov|sьrpъ}} «srp») izvedene sut: {{Lang|uk|серпень}} ([[ukrajinsky jezyk|ukrainsky]] i [[rusinsky jezyk|rusinsky]]), {{Lang|pl|sierpień}} ([[Poljsky jezyk|poljsky]]), {{Lang|csb|serzpiéń}} ([[Kašubsky jezyk|kašubsky]]) i {{Lang|cs|srpen}} ([[Češsky jezyk|češsky]]), a takože arhanične slova v [[russky jezyk|russkom]] ({{Lang|ru|серпень}}), [[slovačsky jezyk|slovačskom]] ({{Lang|sk|spreň}}) i [[slovenečsky jezyk|slovenečskom]] ({{Lang|sl|veliki srpan}}) – vse v značen‌ju «avgust». Srodno [[Hrvatsky jezyk|hrvatsko]] slovo {{Lang|hr|srpanj}} znači «[[julij]]», a za avgust hrvatsky imaje slovo {{Lang|hr|kolovoz}}. Druge, v večinstvu arhaične, slovjanske nazvan‌ja avgusta sut: {{Lang|be|жнівень}} ([[bělorussky jezyk|bělorussky]]), {{Lang|bg|зарев}} ([[Bulgarsky jezyk|bulgarsky]], od {{Jezyky|cu|заревъ}}), {{Lang|mk|житар}} ([[makedonsky jezyk|makedonsky]]), {{Lang|sr|гумник}} ([[srbsky jezyk|srbsky]]), {{Lang|csb|zélnik}} (kašubsky), {{Lang|hsb|žnjec}} ([[Gornolužičsky jezyk|gornolužičsky]]) i {{Lang|dsb|jacmjeński}} ([[Dolnolužičsky jezyk|dolnolužičsky]]). V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči avgust kako «osmy měsec». == Iztočniky == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] s1ka3orzui3ht4xi7i8xtdryxas40we Avgust 0 5909 44816 2026-07-30T13:22:04Z IJzeren Jan 9 Stvorjena nova stranica s tekstom: «{{Mnogoznačnost}} '''Avgust''' može značiti: * [[Avgust (imperator)]] – prvy imperator [[Rimska imperija|Rimskoj imperije]] * [[Avgust (měsec)]] – osmy měsec goda, imenovany po imperatoru Avgustu» 44816 wikitext text/x-wiki {{Mnogoznačnost}} '''Avgust''' može značiti: * [[Avgust (imperator)]] – prvy imperator [[Rimska imperija|Rimskoj imperije]] * [[Avgust (měsec)]] – osmy měsec goda, imenovany po imperatoru Avgustu noswhfm1xnss4xt97bd8iuehg3fqc9h Август 0 5910 44818 2026-07-30T13:22:41Z IJzeren Jan 9 Prěnapravjenje stranice na [[Avgust]] 44818 wikitext text/x-wiki #REDIRECT [[Avgust]] fkzy9375n2vlkuu5884qwmgo8pvuxch Septembr 0 5911 44833 2026-07-30T16:09:55Z IJzeren Jan 9 Stvorjena nova stranica s tekstom: «[[Fajl:Les Très Riches Heures du duc de Berry septembre.jpg | thumb | 300px | «Septembr» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Septembr''' ili '''vrěsenj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisan‌ju]]: {{-|''vrěsėnj''}}.</ref> je devety [[měsec (period)|měsec]] gregoriansky kalendar|gregorianskogo kalendar...» 44833 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry septembre.jpg | thumb | 300px | «Septembr» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Septembr''' ili '''vrěsenj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisan‌ju]]: {{-|''vrěsėnj''}}.</ref> je devety [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 30 [[denj|dnjev]]. V [[sěverna polsfera|sěvernoj polsferě]] septembr je prvy měsec [[meteorologija|meteorologičnoj]] [[jesenj|jesenji]], v [[južna polsfera|južnoj polsferě]] je prvy měsec meteorologičnoj [[vesna|vesny]]. 20 ili 21 septembra je [[ravnodenstvo]], kogda, zavisno od polsfery, oficialno načinaje se jesenj ili vesna. V [[Rimska imperija|rimskoj]] provinciji [[Mala Azija|Maloj Aziji]] ({{Jezyky|la|Asia Minor}}) septembr byl prvy denj goda, ibo imperator [[Avgust (imperator)|Avgust]] iměl v njim denj rodžen‌ja. Pozdněje tuta tradicija byla prějeta v [[Bizantijska imperija|Bizantijskoj imperiji]], vslěd čego i dnes v [[Pravoslavna crkva|Pravoslavnoj crkvi]] je prvy měsec crkovnogo [[god|goda]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] septembr byl sedmy měsec [[god|goda]], ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda zaměsto [[marec|marca]], a septembr devety. [[Latinsky jezyk|Latinska]] nazva {{Lang|la|September}} je osnovana na čislovniku {{Lang|la|septem}} «sedm». Jedino prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane i daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. Prvopočetno měsec septembr iměl 29 dnjev, ale s vveden‌jem [[juliansky kalendar|julianskogo kalendara]] [[Julij Cezar|Julijem Cezarom]] v godu 46 p.n.e. on byl prodolženy na 30 dnjev. Poslě prěimenovan‌ja měsecev {{Lang|la|Quintilis}} i {{Lang|la|Sextilis}} na {{Lang|la|Iulius}} (v 44 p.n.e.) i {{Lang|la|Augustus}} (8 p.n.e.), septembr takože byl mnogokratny kandidat na prěimenovan‌je. Imperator [[Tiberij]], ktory byl skromny člověk, až dvakratno odkydnul prědložen‌je za prěimenovan‌je na {{Lang|la|Tiberius}}.<ref>{{Cite web | url = https://penelope.uchicago.edu/Thayer/E/Roman/Texts/Suetonius/12Caesars/Tiberius*.html#26 | title = The Life of Tiberius | author = Suetonius | website = uchicago.edu | language = en | access-date = 2026-07-30}}</ref> V godu 37 n.e. imperator [[Kaligula]] prěimenoval septembr po imeni svojego otca na {{Lang|la|Germanicus}}, ale to rěšen‌je bylo odčinjeno po jegovoj smrti. V času vladan‌ja imperatora [[Domicijan|Domicijana]] septembr byl ponovno prěimenovany na {{Lang|la|Germanicus}}, ale i tym razom izměna byla odčinjena. Vo 2-om stolětju imperator [[Antonin Pij]] odkydnul prědložen‌je [[Senat|Senata]] prěimenovati septembr na {{Lang|la|Antoninus}}. V 184 g. imperator [[Kommod]] prěimenoval vse měsece po svojim imenam i prězviščam, pri čem septembr dobyl nazvan‌je {{Lang|la|Augustus}}, ale poslě jegovoj smrti v 192 g. te izměny byli odčinjene.<ref>{{Cite web | url = https://historyfacts.com/famous-figures/fact/a-roman-emperor-renamed-every-month-of-the-year-after-himself/ | title = A Roman emperor renamed every month of the year after himself. | first = Sarah Anne | last = Lloyd | website = HistoryFacts | date = 2026-04-16 | access-date = 2026-07-30 | language = en}}</ref> Nakonec, v 275 g. Senat htěl prěimenovati septembr na {{Lang|la|Tacitus}} – měsec rodžen‌ja onogdašnjego imperatora [[Tacit (imperator)|Tacita]] – ale i ta izměna ne dovedla k postojannomu naslědstvu.<ref>{{Cite web | url = https://de.wikipedia.org/w/index.php?title=September&oldid=263903897 | title = September; Umbenennungen im römischen Reich | website = de.wikipedia.org | access-date = 2026-07-30 | language = de}}</ref> == Slovjanske nazvy septembra == [[Latinsky jezyk|Latinska]] nazva septembra prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]. Od [[praslovjansky jezyk|praslovjanskogo]] slova {{Praslov|versьňь}} «septembr» (< {{Praslov|versъ}} «vrěs») izvedene sut: {{Lang|uk|вересень}} ([[ukrajinsky jezyk|ukrainsky]], [[rusinsky jezyk|rusinsky]] i arhaičny [[russky jezyk|russky]]), {{Lang|be|верасень}} ([[Bělorussky jezyk|bělorussky]]), {{Lang|pl|wrzesień}} ([[Poljsky jezyk|poljsky]]) i {{Lang|csb|wrzeseń}} ([[Kašubsky jezyk|kašubsky]]). Od praslovjanskogo slova {{Praslov|řujьnъ}} «oktobr, septembr» (< {{Praslov|řuti}} «revti», čto pravdopodobno veže se s zvukom [[los|losev]] i [[jelenj|jelenjev]] v sezonu parjen‌ja) sut: {{Lang|cu|роуинъ}} ([[starocrkovnoslovjansky jezyk|starocrkovnoslovjansky]]) i {{Lang|hr|rujan}} ([[hrvatsky jezyk|hrvatsky]]), a takože arhaične nazvan‌ja {{Lang|bg|руен}} ([[Bulgarsky jezyk|bulgarsky]]) i {{Lang|sk|malý rujen}} ([[slovačsky jezyk|slovačsky]]) – vse v značen‌ju «septembr» – a takože srodne slova {{Lang|cs|říjen}} ([[Češsky jezyk|češsky]]) i {{Lang|csb|rujan}} ([[Kašubsky jezyk|kašubsky]]) v značen‌ju «oktobr». Druge, v večinstvu arhaične, slovjanske nazvan‌ja septembra sut: {{Lang|cs|září}} (češsky), {{Lang|mk|гроздобер}} ([[makedonsky jezyk|makedonsky]] i [[srbsky jezyk|srbsky]]), {{Lang|csb|séwnik}} (kašubsky), {{Lang|hsb|požnjenc}} ([[Gornolužičsky jezyk|gorno-]] i [[Dolnolužičsky jezyk|dolnolužičsky]]). V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči septembr kako «devety měsec». == Iztočniky == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] 8wrc671jdkcax6z6jaajbd6fi3646wt Oktobr 0 5912 44837 2026-07-30T17:33:54Z IJzeren Jan 9 Stvorjena nova stranica s tekstom: «[[Fajl:Les Très Riches Heures du duc de Berry octobre.jpg | thumb | 300px | «Oktobr» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Oktobr''' ili '''rujenj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisan‌ju]]: {{-|''rujėnj''}}.</ref> je desety [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imaju...» 44837 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry octobre.jpg | thumb | 300px | «Oktobr» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Oktobr''' ili '''rujenj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisan‌ju]]: {{-|''rujėnj''}}.</ref> je desety [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31 [[denj]]. V [[sěverna polsfera|sěvernoj polsferě]] oktobr je vtory měsec [[meteorologija|meteorologičnoj]] [[jesenj|jesenji]], v [[južna polsfera|južnoj polsferě]] je vtory měsec meteorologičnoj [[vesna|vesny]]. V [[Evropejsky sojuz|Evropejskom sojuzu]] oktobr je najdolžejši měsec [[god|goda]]: trvaje jednu časinu dolžeje od ostalyh měsecev s 31 dnjem, zato že v poslědnjem vikendu měseca končaje se [[Srědnjeevropejsky lětnji čas]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] oktobr byl osmy měsec goda, ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne). V tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., [[januar]] stal prvy měsec goda zaměsto [[marec|marca]], a oktobr desety. [[Latinsky jezyk|Latinska]] nazva {{Lang|la|October}} je osnovana na čislovniku {{Lang|la|octo}} «osm»: jedino prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane i daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. Poslě prěimenovan‌ja měsecev {{Lang|la|Quintilis}} i {{Lang|la|Sextilis}} na {{Lang|la|Iulius}} (v 44 p.n.e.) i {{Lang|la|Augustus}} (8 p.n.e.), naslědne měsece takože byli mnogokratne kandidaty na prěimenovan‌je. Imperator [[Tiberij]], ktory byl skromny člověk, odkydnul prědložen‌je za prěimenovan‌je septembra na {{Lang|la|Tiberius}} i oktobra po imeni jegovoj materi [[Livija Druzilla|Livije Druzilly]] na {{Lang|la|Livius}}.<ref>{{Cite web | url = https://penelope.uchicago.edu/Thayer/E/Roman/Texts/Suetonius/12Caesars/Tiberius*.html#26 | title = The Life of Tiberius | author = Suetonius | website = uchicago.edu | language = en | access-date = 2026-07-30}}</ref> V času vladan‌ja imperatora [[Domicijan|Domicijana]] oktobr byl prěimenovany na {{Lang|la|Domitianus}}, ale pozdněje ta izměna byla odčinjena. V 2-om stolětju imperator [[Antonin Pij]] odkydnul prědložen‌je [[Senat|Senata]] prěimenovati oktobr na {{Lang|la|Faustinus}}, po imenu jegovoj ženy Annije Galerije Favstiny. V 184 g. imperator [[Kommod]] prěimenoval vse měsece po svojim imenam i prězviščam, pri čem oktobr dobyl nazvan‌je {{Lang|la|Herculeus}}, ibo imperator ljubil izobražati sebe kako mitologičny polubog [[Herkules]].<ref>{{Cite web | url = https://historyfacts.com/famous-figures/fact/a-roman-emperor-renamed-every-month-of-the-year-after-himself/ | title = A Roman emperor renamed every month of the year after himself. | first = Sarah Anne | last = Lloyd | website = HistoryFacts | date = 2026-04-16 | access-date = 2026-07-30 | language = en}}</ref> Poslě jegovoj smrti v 192 g. staro nazvan‌je oktobra, kako i stare nazvan‌ja vsih ostalyh měsecev, bylo vračeno. == Slovjanske nazvy oktobra == [[Latinsky jezyk|Latinska]] nazva oktobra prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]. Od [[praslovjansky jezyk|praslovjanskogo]] slova {{Praslov|řujьnъ}} «oktobr, septembr» (< {{Praslov|řuti}} «revti», čto pravdopodobno veže se s zvukom [[los|losev]] i [[jelenj|jelenjev]] v sezonu parjen‌ja) sut izvedene: {{Lang|cs|říjen}} ([[Češsky jezyk|češsky]]), {{Lang|csb|rujan}} ([[Kašubsky jezyk|kašubsky]]) i {{Lang|sk|veľký rujen}} ([[slovačsky jezyk|slovačsky]]) v značen‌ju «oktobr», a takože srodne slova {{Lang|hr|rujan}} ([[hrvatsky jezyk|hrvatsky]]), {{Lang|cu|роуинъ}} ([[starocrkovnoslovjansky jezyk|starocrkovnoslovjansky]]) i {{Lang|bg|руен}} ([[Bulgarsky jezyk|bulgarsky]], arhaično) v značen‌ju «septembr». Od praslovjanskogo slova {{Praslov|listopadъ}} «padan‌je listov» je slovo {{Lang|hr|listopad}} ([[hrvatsky jezyk|hrvatsky]]) «oktobr», ktoro v tomže značen‌ju takože istnuje kako arhaično slovo v [[Bulgarsky jezyk|bulgarskom]], [[makedonsky jezyk|makedonskom]], [[srbsky jezyk|srbskom]] i [[russky jezyk|russkom]] ({{Lang|ru|листопад}}). Jednakože v skoro vsih ostalyh jezykah ona imaje značen‌je «novembr». Druge slovjanske nazvan‌ja oktobra sut: {{Lang|be|кастрычнік}} ([[Bělorussky jezyk|bělorussky]]), {{Lang|pl|październik}} ([[Poljsky jezyk|poljsky]]) i {{Lang|csb|pazdzérznik}} ([[Kašubsky jezyk|kašubsky]]), a takože arhaične nazvan‌ja {{lang|sl|vinotok}} ([[slovenečsky jezyk|slovenečsky]]), {{Lang|hsb|winowc}} ([[Gornolužičsky jezyk|gornolužičsky]]) i {{Lang|hsb|winski}} ([[Dolnolužičsky jezyk|dolnolužičsky]]). V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči oktobr kako «desety měsec». == Iztočniky == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] 04l0qmvpvva1mqf444ak7lqlh2evkoy Октобр 0 5913 44838 2026-07-30T17:34:32Z IJzeren Jan 9 Prěnapravjenje stranice na [[Oktobr]] 44838 wikitext text/x-wiki #REDIRECT [[Oktobr]] [[Kategorija:Měsece]] e0cf18t66pwz4h2j18d3bu5110qlh9z Novembr 0 5914 44842 2026-07-30T19:30:37Z IJzeren Jan 9 Stvorjena nova stranica s tekstom: «[[Fajl:Les Très Riches Heures du duc de Berry novembre.jpg | thumb | 300px | «Novembr» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Novembr''' ili '''listopad''' je jedinnadsety [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 30 [[dnjev]]. V [[sěverna polsfera|sěvernoj polsferě]] novembr je tretji m...» 44842 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry novembre.jpg | thumb | 300px | «Novembr» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Novembr''' ili '''listopad''' je jedinnadsety [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 30 [[dnjev]]. V [[sěverna polsfera|sěvernoj polsferě]] novembr je tretji měsec [[meteorologija|meteorologičnoj]] [[jesenj|jesenji]], v [[južna polsfera|južnoj polsferě]] je tretji měsec meteorologičnoj [[vesna|vesny]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] novembr byl devety měsec [[god|goda]], ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne); [[januar]] i [[fevruar]] byli dodane pravdopodobno v času vladan‌ja vtorogo kralja Rima, [[Numa Pompilij|Numy Pompilija]] (716–673 p.n.e.), a v tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., januar stal prvy měsec goda zaměsto [[marec|marca]], a novembr jedinnadsety. V [[Romul|Romulovom]] kalendaru (prěd ±700 ili ±450 p.n.e.) novembr iměl 30 dnjev, v republikanskom kalendaru (prěd 46 p.n.e.) 29 dnjev; rimjani věrili, že lihe čisla prinoset ščestje, a parne čisla neščestje. S vveden‌jem [[juliansky kalendar|julianskogo kalendara]] [[Julij Cezar|Julijem Cezarom]] v godu 46 p.n.e. novembr byl prodolženy na 30 dnjev. [[Latinsky jezyk|Latinska]] nazva {{Lang|la|November}} je osnovana na čislovniku {{Lang|la|novem}} «devet»: jedino prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane i daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. V 184 g. imperator [[Kommod]] prěimenoval vse měsece po svojim imenam i prězviščam, pri čem novembr dobyl nazvan‌je {{Lang|la|Romanus}}.<ref>{{Cite web | url = https://historyfacts.com/famous-figures/fact/a-roman-emperor-renamed-every-month-of-the-year-after-himself/ | title = A Roman emperor renamed every month of the year after himself. | first = Sarah Anne | last = Lloyd | website = HistoryFacts | date = 2026-04-16 | access-date = 2026-07-30 | language = en}}</ref> Poslě jegovoj smrti v 192 g. staro nazvan‌je novembra, kako i stare nazvan‌ja vsih ostalyh měsecev, bylo vračeno. == Slovjanske nazvy novembra == [[Latinsky jezyk|Latinska]] nazva novembra prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]. Od [[praslovjansky jezyk|praslovjanskogo]] slova {{Praslov|listopadъ}} «padan‌je listov» sut slova {{Lang|uk|листопад}} ([[ukrajinsky jezyk|ukrajinsky]] i [[rusinsky jezyk|rusinsky]]), {{Lang|be|лістапад}} ([[Bělorussky jezyk|bělorussky]]), {{Lang|pl|listopad}} ([[Poljsky jezyk|poljsky]] i [[Češsky jezyk|češsky]], takože arhaično v [[slovačsky jezyk|slovačskom]] i [[slovenečsky jezyk|slovenečskom]]) i {{Lang|csb|lëstopadnik}} ([[kašubsky jezyk|kašubsky]]) – vse v značen‌ju «novembr». Jednakože v [[hrvatsky jezyk|hrvatskom]]) {{Lang|hr|listopad}} znači «oktobr» i v tomže samom značen‌ju {{Lang|uk|листопад}} takože istnuje kako arhaično slovo v [[Bulgarsky jezyk|bulgarskom]], [[makedonsky jezyk|makedonskom]], [[srbsky jezyk|srbskom]] i [[russky jezyk|russkom]]. Od praslovjanskogo slova {{Praslov|grudьňь}} «dekembr, novembr» je [[starocrkovnoslovjansky jezyk|starocrkovnoslovjansko]] nazvan‌je {{Lang|cu|гроудьнъ}} «november» i v tomže značen‌ju istnuje kako arhaično nazvan‌je novembra v [[Russky jezyk|russkom]] ({{Lang|ru|грудень}}) i [[Bulgarsky jezyk|bulgarskom]] ({{Lang|bg|груден}}). V někojih drugyh jezykah srodne formy togo slova imajut značen‌je «dekembr». Od praslovjanskogo slova {{Praslov|studenъ}} «hladny» sut [[hrvatsky jezyk|hrvatsko]] slovo {{Lang|hr|studeni}} «novembr» i arhaično slovo {{Lang|sr|студен}} (srbsky, makedonsky) «novembr», ale srodno slovo v starocrkovnoslovjanskom, {{Lang|cu|стоуденъ}}, znači «dekembr». Druge slova oprěděljajuče měsec novembra sut v [[Gornolužičsky jezyk|gorno-]] i [[Dolnolužičsky jezyk|dolnolužičskom]]: {{Lang|hsb|nazymnik}} i {{Lang|dsb|młośny}}. V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči novembr kako «jedinnadsety měsec». == Iztočniky == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] 9ncm6rdubrkkeh4gdzycz4b4r4kvgke 44849 44842 2026-07-30T20:50:26Z IJzeren Jan 9 /* Slovjanske nazvy novembra */ 44849 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry novembre.jpg | thumb | 300px | «Novembr» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Novembr''' ili '''listopad''' je jedinnadsety [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 30 [[dnjev]]. V [[sěverna polsfera|sěvernoj polsferě]] novembr je tretji měsec [[meteorologija|meteorologičnoj]] [[jesenj|jesenji]], v [[južna polsfera|južnoj polsferě]] je tretji měsec meteorologičnoj [[vesna|vesny]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] novembr byl devety měsec [[god|goda]], ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne); [[januar]] i [[fevruar]] byli dodane pravdopodobno v času vladan‌ja vtorogo kralja Rima, [[Numa Pompilij|Numy Pompilija]] (716–673 p.n.e.), a v tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., januar stal prvy měsec goda zaměsto [[marec|marca]], a novembr jedinnadsety. V [[Romul|Romulovom]] kalendaru (prěd ±700 ili ±450 p.n.e.) novembr iměl 30 dnjev, v republikanskom kalendaru (prěd 46 p.n.e.) 29 dnjev; rimjani věrili, že lihe čisla prinoset ščestje, a parne čisla neščestje. S vveden‌jem [[juliansky kalendar|julianskogo kalendara]] [[Julij Cezar|Julijem Cezarom]] v godu 46 p.n.e. novembr byl prodolženy na 30 dnjev. [[Latinsky jezyk|Latinska]] nazva {{Lang|la|November}} je osnovana na čislovniku {{Lang|la|novem}} «devet»: jedino prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane i daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. V 184 g. imperator [[Kommod]] prěimenoval vse měsece po svojim imenam i prězviščam, pri čem novembr dobyl nazvan‌je {{Lang|la|Romanus}}.<ref>{{Cite web | url = https://historyfacts.com/famous-figures/fact/a-roman-emperor-renamed-every-month-of-the-year-after-himself/ | title = A Roman emperor renamed every month of the year after himself. | first = Sarah Anne | last = Lloyd | website = HistoryFacts | date = 2026-04-16 | access-date = 2026-07-30 | language = en}}</ref> Poslě jegovoj smrti v 192 g. staro nazvan‌je novembra, kako i stare nazvan‌ja vsih ostalyh měsecev, bylo vračeno. == Slovjanske nazvy novembra == [[Latinsky jezyk|Latinska]] nazva novembra prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]]. Od [[praslovjansky jezyk|praslovjanskogo]] slova {{Praslov|listopadъ}} «padan‌je listov» sut slova {{Lang|uk|листопад}} ([[ukrajinsky jezyk|ukrajinsky]] i [[rusinsky jezyk|rusinsky]]), {{Lang|be|лістапад}} ([[Bělorussky jezyk|bělorussky]]), {{Lang|pl|listopad}} ([[Poljsky jezyk|poljsky]] i [[Češsky jezyk|češsky]], takože arhaično v [[slovačsky jezyk|slovačskom]] i [[slovenečsky jezyk|slovenečskom]]) i {{Lang|csb|lëstopadnik}} ([[kašubsky jezyk|kašubsky]]) – vse v značen‌ju «novembr». Jednakože v [[hrvatsky jezyk|hrvatskom]]) {{Lang|hr|listopad}} znači «oktobr» i v tomže samom značen‌ju {{Lang|uk|листопад}} takože istnuje kako arhaično slovo v [[Bulgarsky jezyk|bulgarskom]], [[makedonsky jezyk|makedonskom]], [[srbsky jezyk|srbskom]] i [[russky jezyk|russkom]]. Od praslovjanskogo slova {{Praslov|grudьňь}} «dekembr, novembr» je [[starocrkovnoslovjansky jezyk|starocrkovnoslovjansko]] nazvan‌je {{Lang|cu|гроудьнъ}} «november» i v tomže značen‌ju istnuje kako arhaično nazvan‌je novembra v [[Russky jezyk|russkom]] ({{Lang|ru|грудень}}) i [[Bulgarsky jezyk|bulgarskom]] ({{Lang|bg|груден}}). V někojih drugyh jezykah srodne formy togo slova imajut značen‌je «dekembr». Od praslovjanskogo slova {{Praslov|studenъ}} «hladny» sut [[hrvatsky jezyk|hrvatsko]] slovo {{Lang|hr|studeni}} «novembr» i arhaično slovo {{Lang|sr|студен}} (srbsky, makedonsky) «novembr», ale srodno slovo v starocrkovnoslovjanskom, {{Lang|cu|стоуденъ}}, znači «dekembr» i [[Bělorussky jezyk|bělorussky]] variant, {{Lang|be|студзень}}, znači «januar». Druge slova oprěděljajuče měsec novembra sut v [[Gornolužičsky jezyk|gorno-]] i [[Dolnolužičsky jezyk|dolnolužičskom]]: {{Lang|hsb|nazymnik}} i {{Lang|dsb|młośny}}. V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči novembr kako «jedinnadsety měsec». == Iztočniky == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] t6zaw098damtxajeusg88olp63r7pz4 Новембр 0 5915 44844 2026-07-30T19:31:25Z IJzeren Jan 9 Prěnapravjenje stranice na [[Novembr]] 44844 wikitext text/x-wiki #REDIRECT [[Novembr]] [[Kategorija:Мєсеце]] 8egfiz4f5xpu5x4fw4m1oyuo2ofkjge Dekembr 0 5916 44850 2026-07-30T21:40:43Z IJzeren Jan 9 Stvorjena nova stranica s tekstom: «[[Fajl:Les Très Riches Heures du duc de Berry décembre.jpg | thumb | 300px | «Dekembr» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Dekembr''' ili '''sněženj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisan‌ju]]: {{-|''sněžėnj''}}.</ref> je dvanadsety [[měsec (period)|měsec]] gregoriansky kalendar|gregorianskogo kale...» 44850 wikitext text/x-wiki [[Fajl:Les Très Riches Heures du duc de Berry décembre.jpg | thumb | 300px | «Dekembr» v časoslovu (knigě časin) {{Lang|fr|Les Très Riches Heures du Duc de Berry}} «Velje bogate časiny hercoga Berijskogo», početok 15. stolětja]] '''Dekembr''' ili '''sněženj'''<ref>V [[Medžuslovjanske alfabety|etimologičnom pravopisan‌ju]]: {{-|''sněžėnj''}}.</ref> je dvanadsety [[měsec (period)|měsec]] [[gregoriansky kalendar|gregorianskogo kalendara]], imajuči 31 [[denj]]. V [[sěverna polsfera|sěvernoj polsferě]] dekembr je prvy měsec [[meteorologija|meteorologičnoj]] [[zima|zimy]], v [[južna polsfera|južnoj polsferě]] je prvy měsec meteorologičnogo [[lěto|lěta]]. 21 ili 22 dekembra je denj [[solncevrata]], kogda zavisno od polsfery je najnižše ili najvysše čislo [[časina|časin]] so světlom [[Solnce|Solnca]]. == Historija == U davnyh [[Rimska imperija|rimjanov]] dekembr byl desety i poslědnji měsec [[god|goda]], ktory do 7-ogo stolětja p.n.e. iměl deset měsecev (ostale 61 denj byli bezměsečne); [[januar]] i [[fevruar]] byli dodane pravdopodobno v času vladan‌ja vtorogo kralja Rima, [[Numa Pompilij|Numy Pompilija]] (716–673 p.n.e.), a v tečen‌ju slědujučih stolětij, ale najpozdněje v godu 153 p.n.e., januar stal prvy měsec goda zaměsto [[marec|marca]], a dekembr dvanadsety. V [[Romul|Romulovom]] kalendaru (prěd ±700 ili ±450 p.n.e.) dekembr iměl 30 dnjev, v republikanskom kalendaru (prěd 46 p.n.e.) 29 dnjev (rimjani věrili, že lihe čisla prinoset ščestje, a parne čisla neščestje), a od vveden‌ja [[juliansky kalendar|julianskogo kalendara]] [[Julij Cezar|Julijem Cezarom]] v godu 46 p.n.e. 31 denj. [[Latinsky jezyk|Latinska]] nazva {{Lang|la|December}} je osnovana na čislovniku {{Lang|la|decem}} «deset»: jedino prve četyri měsece byli imenovane po bogah, ale naslědne byli numerovane i daže poslě prěnesen‌ja početka goda do 1 januara te nazvy ostali, ačekoli svez medžu nazvoju i čisljen‌jem propadla. V 184 g. imperator [[Kommod]] prěimenoval vse měsece po svojim imenam i prězviščam, pri čem dekembr dobyl nazvan‌je {{Lang|la|Exsuperatorius}}, čto znači «vseprěvyšajuči dobyvatelj».<ref>{{Cite web | url = https://historyfacts.com/famous-figures/fact/a-roman-emperor-renamed-every-month-of-the-year-after-himself/ | title = A Roman emperor renamed every month of the year after himself. | first = Sarah Anne | last = Lloyd | website = HistoryFacts | date = 2026-04-16 | access-date = 2026-07-30 | language = en}}</ref> Poslě jegovoj smrti v 192 g. staro nazvan‌je dekembra, kako i stare nazvan‌ja vsih ostalyh měsecev, bylo vračeno. == Slovjanske nazvy dekembra == [[Latinsky jezyk|Latinska]] nazva dekembra prějela se v mnogyh sučasnyh [[indoevropejske jezyky|indoevropejskyh jezykov]], ale poněkoje [[slovjanske jezyky]] do dněšnjego dnja upotrěbjajut vlastne ili stare [[Slovjansky kalendar|slovjanske nazvy měsecev]], ktoryh značen‌ja često različajut se medžu jezykami: * Od [[praslovjansky jezyk|praslovjanskogo]] slova {{Praslov|grudьňь}} «dekembr, novembr» sut {{Lang|uk|грудень}} ([[ukrajinsky jezyk|ukrajinsky]] i [[rusinsky jezyk|rusinsky]]), {{Lang|pl|grudzień}} ([[Poljsky jezyk|poljsky]]), {{Lang|csb|grëdzéń}} ([[kašubsky jezyk|kašubsky]]) i {{Lang|sl|gruden}} ([[slovenečsky jezyk|slovenečsky]], arhaično) «dekembr». Jednakože [[starocrkovnoslovjansky jezyk|starocrkovnoslovjansko]] nazvan‌je {{Lang|cu|гроудьнъ}} znači «november» i v tomže značen‌ju istnuje kako arhaično nazvan‌je novembra v [[Russky jezyk|russkom]] ({{Lang|ru|грудень}}) i [[Bulgarsky jezyk|bulgarskom]] ({{Lang|bg|груден}}). * Od praslovjanskogo slova {{Praslov|prosinьcь}} «prvy měsec poslě zimovogo solncevrata» (< {{Praslov|sijati}} «blěskati» ili {{Praslov|siňь}} «sědy») sut {{Lang|cs|prosinec}} ([[Češsky jezyk|češsky]]), {{Lang|hr|prosinac}} ([[hrvatsky jezyk|hrvatsky]]) i {{Lang|bg|просинец}} ([[Bulgarsky jezyk|bulgarsky]], arhaično) «dekembr». [[Francišak Skaryna|F. Skaryna]] takože primětil {{Lang|be|прасинець}} v bělorusskom v tomže samom značen‌ju. V starocrkovnoslovjanskom {{Lang|cu|просиньць}} imaje značen‌ju «januar». * Od praslovjanskogo slova {{Praslov|studenъ}} «hladny» je starocrkovnoslovjansko nazvan‌je {{Lang|cu|стоуденъ}} «dekembr», prějeto v [[russky jezyk|russkom]] ({{Lang|ru|студень}}, arhaično). Jednakože varianty {{Lang|hr|studeni}} ([[hrvatsky jezyk|hrvatsky]]) i {{Lang|sr|студен}} ([[srbsky jezyk|srbsky]] i [[makedonsky jezyk|makedonsky]], arhaično) značet «novembr», a [[Bělorussky jezyk|bělorussky]] variant {{Lang|be|студзень}} znači «januar». * Od praslovjanskogo slova {{Praslov|sněgъ}} «sněg» sut {{Lang|be|снежань}} ([[Bělorussky jezyk|bělorussky]]) i {{Lang|mk|снежник}} ([[makedonsky jezyk|makedonsky]], arhaično) «dekembr». Druge, arhaične slova oprěděljajuče měsec dekembr sut {{Lang|sr|коледар}} (srbsky), {{Lang|sk|mrazeň}} (slovačsky), {{Lang|csb|gòdnik}} (kašubsky), {{Lang|hsb|hodownik}} ([[Gornolužičsky jezyk|gornolužičsky]]) i {{Lang|dsb|zymski}} ([[Dolnolužičsky jezyk|dolnolužičsky]]). V [[medžuslovjansky jezyk|medžuslovjanskom]] prěporučaje se koristan‌je latinskyh nazv měsecev, ibo slovjanske nazvy često sut mnogoznačne ili nerazumlive. Poněkoji koristniki medžuslovjanskogo jezyka prědpočitajut ino razrěšen‌je, oprěděljajuči dekembr kako «dvanadsety měsec». == Iztočniky == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Měsece]] 98jtt59kyatasc7nulxolzh2yr8aic5 Кајто (музикална група) 0 5917 44852 2026-07-30T22:33:29Z IJzeren Jan 9 Prěnapravjenje stranice na [[Kajto (muzikalna grupa)]] 44852 wikitext text/x-wiki #REDIRECT [[Kajto (muzikalna grupa)]] [[Kategorija:Есперантојезычне музикалне групы]] [[Kategorija:Нидерландске музикалне групы]] [[Kategorija:Музикалне групы]] g706kyt3zou7tk0uruwi1owlzonrkwh Tysečlětje 0 5918 44885 2026-07-31T09:30:29Z IJzeren Jan 9 Stvorjena nova stranica s tekstom: «'''Tysečlětje''' ({{Jezyky|la|millennium}}, od {{Lang|la|mille}} «tyseč») je neprěryvany period tyseči [[god|lět]]. V konkretnějšem značen‌ju tysečlětje je jedin iz regularnyh periodov tyseči lět, na ktore kalendar razděljaje čas na prvo tysečlětje, vtoro tysečlětje, trětje tysečlětje i t.d. V takom ustroju prvo tysečlětje sostoji iz prvyh tyseči lět: načinaje s v godu 1 i končaje se poslě minutja tyseči lět, na koncu...» 44885 wikitext text/x-wiki '''Tysečlětje''' ({{Jezyky|la|millennium}}, od {{Lang|la|mille}} «tyseč») je neprěryvany period tyseči [[god|lět]]. V konkretnějšem značen‌ju tysečlětje je jedin iz regularnyh periodov tyseči lět, na ktore kalendar razděljaje čas na prvo tysečlětje, vtoro tysečlětje, trětje tysečlětje i t.d. V takom ustroju prvo tysečlětje sostoji iz prvyh tyseči lět: načinaje s v godu 1 i končaje se poslě minutja tyseči lět, na koncu goda 1000. Potom vtoro tysečlětje načinaje se v godu 1001 i končaje na koncu goda 2000, a tretje tysečlětje načinaje se od goda 2001. Ačekoli onogda [[gregoriansky kalendar]] ješče ne istnoval, prvy god je 1; nikogda ne bylo nijednogo goda 0. To, že mnogym ljudam izdavaje se, že novy period nastavaje, kogda načinaje god končaje se na 0, v principu je zabluda. Jednakože v medžunarodnoj normě [[ISO 8601]] tysečlětje načinaje se od goda, ktory je dělimy na 1000.<ref>{{Cite web | url = https://www.iso.org/obp/ui/#iso:std:iso:8601:-1:ed-1:v1:en | title = ISO 8601-1:2019(en). Date and time — Representations for information interchange — Part 1: Basic rules | website = iso.org | language = en | access-date = 2026-07-31}}</ref> Suglasnu tomu standardu period od 1000 do 1999 g. tvori vtoro tysečlětje, čto veže se s tym, že tutoj standard prědpolagaje nulovy god, ktory v istinnosti je -1 p.n.e. {{Jedinice časa}} [[Kategorija:Jedinice časa]] 5oqkmvrjmwbh6oer8gos5cxjy7g1gzt 44887 44885 2026-07-31T09:34:12Z IJzeren Jan 9 44887 wikitext text/x-wiki '''Tysečlětje''' ({{Jezyky|la|millennium}}, od {{Lang|la|mille}} «tyseč») je neprěryvany period tyseči [[god|lět]]. V konkretnějšem značen‌ju tysečlětje je jedin iz regularnyh periodov tyseči lět, na ktore kalendar razděljaje čas na prvo tysečlětje, vtoro tysečlětje, trětje tysečlětje i t.d. V takom ustroju prvo tysečlětje sostoji iz prvyh tyseči lět: načinaje s v godu 1 i končaje se poslě minutja tyseči lět, na koncu goda 1000. Potom vtoro tysečlětje načinaje se v godu 1001 i končaje na koncu goda 2000, a tretje tysečlětje načinaje se od goda 2001. Ačekoli onogda [[gregoriansky kalendar]] ješče ne istnoval, prvy god je 1; nikogda ne bylo nijednogo goda 0. To, že mnogym ljudam izdavaje se, že novy period nastavaje, kogda načinaje god končaje se na 0, v principu je zabluda. Jednakože v medžunarodnoj normě {{-|[[ISO 8601]]}} tysečlětje načinaje se od goda, ktory je dělimy na 1000.<ref>{{Cite web | url = https://www.iso.org/obp/ui/#iso:std:iso:8601:-1:ed-1:v1:en | title = ISO 8601-1:2019(en). Date and time — Representations for information interchange — Part 1: Basic rules | website = iso.org | language = en | access-date = 2026-07-31}}</ref> Suglasnu tomu standardu period od 1000 do 1999 g. tvori vtoro tysečlětje, čto veže se s tym, že tutoj standard prědpolagaje nulovy god, ktory v istinnosti je -1 p.n.e. == Iztočnik == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Jedinice časa]] nksl912tszkqcehbahqbho1ud5xi3fb 44888 44887 2026-07-31T09:36:38Z IJzeren Jan 9 44888 wikitext text/x-wiki '''Tysečlětje''' ({{Jezyky|la|millennium}}, od {{Lang|la|mille}} «tyseč») je neprěryvany period tyseči [[god|lět]]. V konkretnějšem značen‌ju tysečlětje je jedin iz regularnyh periodov tyseči lět, na ktore kalendar razděljaje čas na prvo tysečlětje, vtoro tysečlětje, trětje tysečlětje i t.d. V takom ustroju prvo tysečlětje sostoji iz prvyh tyseči lět: načinaje s v godu 1 i končaje se poslě minutja tyseči lět, na koncu goda 1000. Potom vtoro tysečlětje načinaje se v godu 1001 i končaje na koncu goda 2000, a tretje tysečlětje načinaje se od goda 2001. Ačekoli onogda [[gregoriansky kalendar]] ješče ne istnoval, prvy god je 1; nikogda ne bylo nijednogo goda 0. To, že mnogym ljudam izdavaje se, že novy period nastavaje, kogda načinaje god končaje se na 0, v principu je zabluda. Jednakože v medžunarodnoj normě {{-|[[ISO 8601]]}} tysečlětje načinaje se od goda, ktory je dělimy na 1000.<ref>{{Cite web | url = https://www.iso.org/obp/ui/#iso:std:iso:8601:-1:ed-1:v1:en | title = ISO 8601-1:2019(en). Date and time — Representations for information interchange — Part 1: Basic rules | website = iso.org | language = en | access-date = 2026-07-31}}</ref> Suglasno tomu standardu period od 1000 do 1999 g. tvori vtoro tysečlětje, čto veže se s tym, že tutoj standard prědpolagaje nulovy god, ktory v istinnosti je -1 p.n.e. == Iztočnik == {{Iztočniky}} {{Jedinice časa}} [[Kategorija:Jedinice časa]] 83dzzr67d4vv5bpamtfqak75hu77bdv Тысечлєтје 0 5919 44886 2026-07-31T09:31:15Z IJzeren Jan 9 Prěnapravjenje stranice na [[Tysečlětje]] 44886 wikitext text/x-wiki #REDIRECT [[Tysečlětje]] [[Kategorija:Јединице часа]] 1dccgz7h5sf86yziuu7jwjv3zbl4pg9