Template:Quote box: Difference between revisions

From Lojban
Jump to navigation Jump to search
mNo edit summary
m (1 revision)
 
Line 1: Line 1:
 
<div class="quotebox" style="
 
    {{#switch: {{lc:{{{align|}}}}}  
{BOX(title=>Community Activity, width=>23%, class=>community-activity, float=>right)}
        | center = margin: auto;
 
        | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
{rss id=>3, max=>3, icon=>http://jbotcan.org/favicon.ico}
        | none =
 
        | float: right; clear: right; margin: 0.5em 0 0.8em 1.4em;
{rss id=>4, max=>3, icon=>http://identi.ca/favicon.ico}
    }}  
 
    {{#if:{{{width|<noinclude>1</noinclude>}}} | width: {{{width|<noinclude>30em</noinclude>}}};}}  
{rss id=>5, max=>3, icon=>http://twitter.com/favicon.ico}
    padding: 6px;
 
    border: {{{border|1px}}} solid #aaa;
{BOX}
    font-size: {{{fontsize|88%}}};
 
    background-color: {{{bgcolor|#F9F9F9}}};
A lojban egy körültekintően megtervezett beszélt nyelv, amelyet az emberi kommunikáció félreérthetőségének jelentős lecsökkentésére hoztak létre. Ismertté egy [[jbocre: Scientific American article 'Scientific American'' cikk|Scientific American article 'Scientific American'' cikk]] tette, de találhatunk utalást a [http://en.wikipedia.org/wiki/The_Moon_Is_a_Harsh_Mistress#Influence cience fiction] műfajban is. A nyelv öt évtizeden át fejlődött tucatnyi nyelvész és több száz segítő által.
    {{{style|}}}">
 
{{#if:{{{title|<noinclude>1</noinclude>}}}
A lojban számos egyedülálló tulajdonsággal rendelkezik:
    |<div style="
 
        background: {{{title_bg|{{{bgcolor|#F9F9F9}}}}}};
* A lojban tervezési szempontjainak egyike az emberek (és a jövőben talán számítógépek) közötti hatékony kommunikáció.
        color:{{{title_fnt|black}}};
* A lojban célja, hogy kulturálisan semleges legyen.
        text-align: center;
 
        font-size: larger;
* A lojban nyelvtana logikai elveken alapul.
        font-weight: bold;
* A lojban írott szöveg egyértelműen kiejthető, a hallott szöveg egyértelműen leírható, bonyolult kiejtési és helyesírási szabályok nélkül.
        {{{tstyle|}}}">{{{title|<noinclude>Test Title</noinclude>}}}</div>
 
}}
* A lojban egyszerű a természetes nyelvekhez képest, könnyű megtanulni.
<div style="
* A lojban tőszavainak segítségével – amelyekből mindössze ezerháromszáz van – könnyen felépíthető egy akár több millió szóból álló szókincs is, amelynek minden szava értelmezhető minden gyakorlott beszélő számára.
    position: relative;
 
    text-align: {{{qalign|{{{halign|left}}}}}};
* A lojban szabályos, a nyelvben nincsenek kivételek.
    {{{qstyle|}}}">
* A lojban megpróbálja megszüntetni a korlátait a kreatív gondolkodásnak és kommunikációnak.
<div {{#if:{{{quoted|}}}|style="margin:0px 2em;"}}>
 
{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude>}}} }}}
* A lojban számos célra használható, a versírástól a tudományos értekezésekig, vagy akár számítógép-programozásig.
</div>
 
{{#if:{{{quoted|}}}
Érdekesnek tűnik?  Kattints [http://www.youtube.com/watch?v=NtEtnpdm7kI de], hogy halld a lojbant beszédben.
    |<div style="
 
        position: absolute;
[[jbocre: Learning ezdd el tanulni|Learning ezdd el tanulni]] vagy olvasd el az [[jbocre: Lojban Introductory Brochure smertetőt]], hogy egy részletesebb képet kapj a lojban nyelvről.
        left: 0px;  top: 0px;
 
        text-align: left;
=== The Logical Language Group ===
        font-family:'Times New Roman',serif;
 
        font-weight:bold;
Ez a honlap a hivatalos gyűjteménye a [[jbocre: The Logical Language Group|The Logical Language Group]] (LLG) által publikált anyagoknak. Az LLG egy non-profit szervezet, ami a lojban fejlesztését is vezeti 1987 óta.
        font-size: large;
 
        color: gray;">“</div>
Az LLG elkötelezettségének részeként ezt a honlap megpróbál metszetként szolgálni a hivatalos anyagok és a lojban közösség anyagai között. Az anyagok egy része a honlapon nincs hivatalosan verifikálva, de ami igen, az egyértelműen jelölve van.
<div style="
 
        position: absolute;
=== Hírek ===
        right: 0px; bottom: 0px;
 
        text-align: left;
*{ALINK(aname="12August2010" pagename="What's New?]]2010. augusztus 12. {ALINK} Leo Molas előadást tart a lojban nyelvről hétfőn, augusztus 16-án, a "Jornadas del Sur" találkozón Argentínában.     {ALINK(pagename=>What's New?,aname=>12Augusztus2010)} Tovább... {ALINK}  
        font-family:'Times New Roman',serif;
 
        font-weight:bold;
*{ALINK(aname="9August2010" pagename="What's New?]]2010. augusztus 9. {ALINK} A Logical Language Group Társaság éves gyűlése 2010. augusztus 21-én esedékes, 13:00 EDT körül, az [http://lojban.org/lists/llg-members/ lg-members levlistán].  {ALINK(pagename=>What's New?,aname=>9Augusztus2010)} Tovább... {ALINK}
        font-size: large;
 
        color: gray;">”</div>
*{ALINK(pagename=>What's New?,aname=>25July2010)}2010. július 25. {ALINK} Július 27-től kezdődően a lojban iránt érdeklődők San Franciscóban, az Egyesült Államokban, minden hónapban találkozókat szerveznek, hogy lojbanul és a lojbanról beszélgessenek.  {ALINK(aname="25July2010" pagename="What's New?]]  Tovább... {ALINK}  
}}</div>
 
<div style="
[[jbocre: What's New? ovábbi hírek...]]
     text-align: {{{salign|{{{qalign|{{{halign|left}}}}}}}}};
    {{{sstyle|}}}">{{{source|{{{2|<noinclude>--the source</noinclude>}}} }}}</div>
</div><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 11:48, 1 March 2014

Test Title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

--the source
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

The {{quote box}} template allows you to easily put a quote (and its source) inside a box, with flexible control over bordering, background color, alignment, and other features. The box itself is floating div, which (like images) can appear on the right or left or across the entire page. Article text will wrap around the div in the first two cases. This is useful in articles that are short on images and need some graphic-like element, or where an important or interesting quote wants to be presented in a way that sets it off from the surrounding text.

Caution: this is a div-based template, and may break if indented using wikitext syntax. This is a current limitation of the wikipedia HTML parsing software.

Parameters

Basic parameters

  • title = Optional title to appear at the top of the quote box
  • quote = The quote or text to be displayed in the box
  • source = Optional source of the quote (author, publication, etc.)

Main box styling

  • align: Alignment of the quote box on the page—left/right/center/none. Defaults to right alignment.
  • width: The width of the quote box. Defaults to the width of the quote included, unless |align=center where the width will default to 100%.
  • border: The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width.
  • fontsize: The fontsize of the quote box text. Defaults to 88%.
  • bgcolor: The RGB background color of the box. Defaults to #F9F9F9 (light gray)
  • style: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters

Title styling

  • title_bg: The RGB background color of the title. Defaults to #F9F9F9 (light gray)
  • title_fnt: The title font color. Defaults to black
  • tstyle: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters

Quote styling

  • qalign: Alignment of the quote element—left/right/center. Defaults to left
  • qstyle: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters
  • quoted: 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.

Source styling

  • salign: Alignment of the source element—left/right/center. Defaults to the value of qalign.
  • sstyle: A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters

Full syntax

{{Quote box
 |title = 
 |quote = 
 |source = 
 |align = 
 |width = 
 |border = 
 |fontsize = 
 |bgcolor = 
 |style = 
 |title_bg = 
 |title_fnt = 
 |tstyle = 
 |qalign = 
 |qstyle = 
 |quoted = 
 |salign = 
 |sstyle = 
}}

Examples

Various example codes and their results. For more intricate examples see Template:Quote_box/examples

Floating and wrapping

Minimal code, defaults to floating right and minimal width:

{{Quote box
 |quote  = Cry "Havoc," and let slip the dogs of war.
 |source = [[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
}}
{{Lorem ipsum}}

Cry "Havoc," and let slip the dogs of war.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Floating right:

{{Quote box
 |quote  = Cry "Havoc," and let slip the dogs of war.
 |source = [[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
 |width  = 50%
 |align  = right
}}
{{Lorem ipsum}}

Cry "Havoc," and let slip the dogs of war.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Floating left:

{{Quote box
 |quote  = Cry "Havoc," and let slip the dogs of war.
 |source = [[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
 |width  = 50%
 |align  = left
}}
{{Lorem ipsum}}

Cry "Havoc," and let slip the dogs of war.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Centered (but not floating any more):

{{Quote box
 |quote  = Cry "Havoc," and let slip the dogs of war.
 |source = [[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
 |width  = 50%
 |align  = center
}}
{{Lorem ipsum}}

Cry "Havoc," and let slip the dogs of war.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Fat-quotes

Using fat-quotes:

{{Quote box
 |quote  = Cry "Havoc," and let slip the dogs of war.
 |source = [[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
 |quoted = 1
}}

Cry "Havoc," and let slip the dogs of war.


quote alignment

{{Quote box
 |title = Centered quote
 |quote  = Cry "Havoc," and let slip the dogs of war.
 |source = [[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
 |qalign = center
}}
Centered quote

Cry "Havoc," and let slip the dogs of war.


{{Quote box
 |title = Left title, right quote
 |tstyle = text-align: left;
 |quote  = Cry "Havoc," and let slip the dogs of war.
 |source = [[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
 |qalign = right
}}
Left title, right quote

Cry "Havoc," and let slip the dogs of war.


See also

  • Template:Bq—quote without border, page-wide; like (and compatible with parameters of) the older {{Quote}} but with more features; conversion from all others listed here is trivially easy (retaining key data, losing decoration, etc.)
  • Template:Centered pull quote—pull quote between large quotation marks, page-wide; should rarely be used in articles and is not for block quotations, only pull quotes
  • Template:Quote—quote without border, page-wide, smaller-sized attribution
  • Template:Quotation—quote with border, page-wide
  • Template:Quote box—quote with border, in a reduced floating box
  • Template:Rquote—pull quote between large quotation marks, in a reduced floating area; also rarely appropriate in articles
  • Template:notci—for quoting other editors (or guidelines, etc.) on talk pages (in a block)
  • Template:Tq—for quoting on talk pages, inline
  • Category:Quotation templates

az:Şablon:Sitat qutusu be-x-old:Шаблён:Рамка-цытата ca:Plantilla:Caixa de citació cy:Nodyn:Blwch dyfyniad eo:Ŝablono:Citskatolo es:Plantilla:Caja de cita fa:الگو:جعبه نقل قول fi:Quote box fr:Modèle:Encadré texte hy:Կաղապար:Քաղվածքի տուփ id:Templat:Quote box lv:Veidne:Quote box ja:Template:Quote box ko:틀:인용 상자 pl:Szablon:Cytat box pt:Predefinição:Quote box ro:Format:Cutie citat simple:Template:Quote box sv:Mall:Citatbox th:แม่แบบ:Quote box tr:Şablon:Quote box uk:Шаблон:Quote box