Шаблон:Gbq — разлика између измена

С Википедије, слободне енциклопедије
Садржај обрисан Садржај додат
м Враћене измене Ранко Николић (разговор) на последњу измену корисника Soundwaweserb
(опис измене уклоњен)
Ред 1: Ред 1:
{{quote|style={{{style|}}}|class={{{class|}}}|id={{{id|}}}|title={{{title|}}}|by={{{sign|{{{cite|{{{author|{{{by|{{{2|}}}}}}}}}}}}}}}|source={{{source|{{{ts|{{{3|}}}}}}}}}|diff={{{diff|{{{4|}}}}}}|text=[[Датотека:Wikiquote-logo.svg|20п]] {{{text|{{{quote|„{{{1}}}”}}}}}}}}<noinclude>
{{quote|style=margin-top: 0; margin-bottom: -0.5em;{{{style|}}}|class={{{class|}}}|id={{{id|}}}|title={{{title|}}}|by={{{sign|{{{cite|{{{author|{{{by|{{{2|}}}}}}}}}}}}}}}|source={{{source|{{{ts|{{{3|}}}}}}}}}|diff={{{diff|{{{4|}}}}}}|text={{{text|{{{quote|„{{{1}}}”}}}}}}}}<noinclude>
<!--Categories go near the bottom of the /doc page.-->
<!--Categories go near the bottom of the /doc page.-->
{{Documentation}}
{{Documentation}}

Верзија на датум 6. октобар 2017. у 11:13

„{{{1}}}”

Документација шаблона[прикажи] [уреди] [историја] [освежи]

Usage

{{Gbq}} (for glossary block quotation) a.k.a. {{Gquote}} is an shortcut invocation of {{quote|style=margin-top: 0; margin-bottom: -0.5em;|...}}

It reduces the large top and bottom padding of block quotations to fit better (and more consistently with other inline-block elements like lists), when used inside definitions in template-formatted glossaries.

It supports all of the parameters of {{quote}}.

Comparison of output

Gbq in glossary
{{glossary}}
{{term|term 1}}
{{defn|Definition 1.}}
{{defn|Definition 2.}}
{{term|term 2}}
{{defn|Beginning of long definition.
{{gbq|Block quotation.}}
Conclusion of long definition.
}}
{{term|term 3}}
{{defn|Definition with list:
* Point 1
* Point 2.}}
{{glossary end}}
term 1
Definition 1.
Definition 2.
term 2
Beginning of long definition.

„Block quotation.”

Conclusion of long definition.

term 3
Definition with list:
  • Point 1
  • Point 2.
Quote in glossary
{{glossary}}
{{term|term 1}}
{{defn|Definition 1.}}
{{defn|Definition 2.}}
{{term|term 2}}
{{defn|Beginning of long definition.
{{quote|Block quotation.}}
Conclusion of long definition.
}}
{{term|term 3}}
{{defn|Definition with list:
* Point 1
* Point 2.}}
{{glossary end}}
term 1
Definition 1.
Definition 2.
term 2
Beginning of long definition.

Block quotation.

Conclusion of long definition.

term 3
Definition with list:
  • Point 1
  • Point 2.

See also

  • {{glossary}} – Half of a template pair; uses <dl> with a class to open the structured glossary definition list that {{glossend}} closes.
  • {{glossary end}} – The other half of this template pair; uses </dl> to close the definition list that {{gloss}} opens.
  • {{term}} – The glossary term to which the {{defn}} definition applies; a customized <dt> with a class and an embedded <dfn>.
  • {{defn}} – The definition that applies to the {{term}}; uses <dd> with a class
  • {{ghat}} – a hatnote template properly formatted for the top of a {{defn}} definition
  • {{gbq}} or {{gquote}} – a block quotation template properly formatted for inclusion in a {{defn}} definition
  • {{glossary link}} – meta-template for creating shortcut templates for linking to definitions in specific glossaries
  • Wikipedia:Manual of Style/Glossaries