Jump to content

Teamplaid:Gbq

O Wiktionary

{{{1}}}

Template documentation[view] [edit] [history] [purge]

Ùsaid - Usage

[deasaich]

{{Gbq}} (for glossary block quotation), a.k.a. {{Gquote}}, is a 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 {{enUici|WP:Manual of Style/Glossaries|template-formatted glossaries]]. It supports all of the parameters of {{Quote}}.

Comparison of output

[deasaich]
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.

Faic cuideachd - Also see


  • {{Glossary}} a.k.a. {{Gloss}} – Half of a template pair; uses <dl> with a class to open the structured glossary definition list that {{glossend}} closes.
  • {{Glossary end}} a.k.a. {{Glossend}} – 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}} a.k.a. {{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